X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffriendica.php;h=1929150f27beb626ae4baad195798e807b578eb4;hb=ab5669e09190d05be8bfa62f2b82846631c2409d;hp=14363ea4dd033623e6b0dced8bf72140ebd4c12e;hpb=e5d020ff7c00e0d421a303dad723e88c7f4c9316;p=friendica.git diff --git a/mod/friendica.php b/mod/friendica.php index 14363ea4dd..1929150f27 100644 --- a/mod/friendica.php +++ b/mod/friendica.php @@ -86,7 +86,7 @@ function friendica_content(App $a) $o .= L10n::t('Bug reports and issues: please visit') . ' ' . ''.L10n::t('the bugtracker at github').''; $o .= '

' . PHP_EOL; $o .= '

'; - $o .= L10n::t('Suggestions, praise, donations, etc. - please email "Info" at Friendica - dot com'); + $o .= L10n::t('Suggestions, praise, etc. - please email "info" at "friendi - dot - ca'); $o .= '

' . PHP_EOL; $visible_addons = []; @@ -112,13 +112,18 @@ function friendica_content(App $a) $s .= $p; } } - $o .= '
' . $s . '
' . PHP_EOL; + $o .= '
' . $s . '
' . PHP_EOL; } else { $o .= '

' . L10n::t('No installed addons/apps') . '

' . PHP_EOL; } - $blocklist = Config::get('system', 'blocklist'); - if (count($blocklist)) { + if (Config::get('system', 'tosdisplay')) + { + $o .= '

'.L10n::t('Read about the Terms of Service of this node.', System::baseurl()).'

'; + } + + $blocklist = Config::get('system', 'blocklist', []); + if (!empty($blocklist)) { $o .= '

' . L10n::t('On this server the following remote servers are blocked.') . '

' . PHP_EOL; $o .= '' . PHP_EOL; foreach ($blocklist as $b) {
' . L10n::t('Blocked domain') . '' . L10n::t('Reason for the block') . '