X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffriendica.php;h=aad5964baf6e5d1ddf737e88f46b636cb255d6d7;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=18d045f2d57d44244c605cf978dc14394388d241;hpb=db949bb802448184bfe5164d8d3dd86ddf51b187;p=friendica.git diff --git a/mod/friendica.php b/mod/friendica.php index 18d045f2d5..aad5964baf 100644 --- a/mod/friendica.php +++ b/mod/friendica.php @@ -1,6 +1,5 @@ argv[1]=="json"){ $register_policy = Array('REGISTER_CLOSED', 'REGISTER_APPROVE', 'REGISTER_OPEN'); @@ -57,9 +56,9 @@ function friendica_init(&$a) { killme(); } } -} -if(! function_exists('friendica_content')) { + + function friendica_content(&$a) { $o = ''; @@ -71,7 +70,7 @@ function friendica_content(&$a) { $o .= t('This is Friendica, version') . ' ' . FRIENDICA_VERSION . ' '; $o .= t('running at web location') . ' ' . z_root() . '
'; - $o .= t('Please visit Friendica.com to learn more about the Friendica project.') . '
'; + $o .= t('Please visit Friendica.com to learn more about the Friendica project.') . '
'; $o .= t('Bug reports and issues: please visit') . ' ' . ''.t('the bugtracker at github').'
'; $o .= t('Suggestions, praise, donations, etc. - please email "Info" at Friendica - dot com') . '
'; @@ -103,8 +102,8 @@ function friendica_content(&$a) { else $o .= '' . t('No installed plugins/addons/apps') . '
'; - call_hooks('about_hook', $o); + call_hooks('about_hook', $o); return $o; -} + }