mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
And some more notices ...
This commit is contained in:
parent
c0ecafcfdc
commit
06c6bfc88d
3 changed files with 22 additions and 12 deletions
|
@ -23,14 +23,20 @@ function leistungsschutzrecht_uninstall() {
|
|||
}
|
||||
|
||||
function leistungsschutzrecht_getsiteinfo($a, &$siteinfo) {
|
||||
if (!isset($siteinfo["url"]))
|
||||
if (!isset($siteinfo["url"])) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!leistungsschutzrecht_is_member_site($siteinfo["url"]))
|
||||
if (!leistungsschutzrecht_is_member_site($siteinfo["url"])) {
|
||||
return;
|
||||
}
|
||||
|
||||
//$siteinfo["title"] = $siteinfo["url"];
|
||||
$siteinfo["text"] = leistungsschutzrecht_cuttext($siteinfo["text"]);
|
||||
|
||||
if (!empty($siteinfo["text"])) {
|
||||
$siteinfo["text"] = leistungsschutzrecht_cuttext($siteinfo["text"]);
|
||||
}
|
||||
|
||||
unset($siteinfo["image"]);
|
||||
unset($siteinfo["images"]);
|
||||
unset($siteinfo["keywords"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue