]> git.mxchange.org Git - friendica.git/blobdiff - mod/friendika.php
show profile url in ACL hovertips, add fork identifier to json siteinfo
[friendica.git] / mod / friendika.php
index c7d8b5b810f8074677ee2bf718e0d24cb229edb6..b12110bd5402a267da7d5ebc2eef1aca20314ced 100644 (file)
@@ -16,15 +16,16 @@ function friendika_init(&$a) {
 
                $data = Array(
                        'version' => FRIENDIKA_VERSION,
-                       'url' => $a->get_baseurl(),
+                       'url' => z_root(),
                        'plugins' => $a->plugins,
                        'register_policy' =>  $register_policy[$a->config['register_policy']],
                        'admin' => $admin,
                        'site_name' => $a->config['sitename'],
-                       
+                       'platform' => FRIENDIKA_PLATFORM,
+                       'info' => ((x($a->config,'info')) ? $a->config['info'] : '')                    
                );
 
-               echo str_replace('\\/','/',json_encode($data));
+               echo json_encode($data);
                killme();
        }
 }
@@ -39,11 +40,8 @@ function friendika_content(&$a) {
 
        $o .= '<p></p><p>';
 
-       $o .= 'View <a href="LICENSE">License</a>' . '<br /><br />';
        $o .= t('This is Friendika version') . ' ' . FRIENDIKA_VERSION . ' ';
-       $o .= t('running at web location') . ' ' . $a->get_baseurl() . '</p><p>';
-
-       $o .= t('Shared content within the Friendika network is provided under the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 license</a>') . '</p><p>';
+       $o .= t('running at web location') . ' ' . z_root() . '</p><p>';
 
        $o .= t('Please visit <a href="http://project.friendika.com">Project.Friendika.com</a> to learn more about the Friendika project.') . '</p><p>';        
 
@@ -62,7 +60,9 @@ function friendika_content(&$a) {
        }
        else
                $o .= '<p>' . t('No installed plugins/addons/apps');
-       
+
+       call_hooks('about_hook', $o);   
+
        return $o;
 
 }