]> git.mxchange.org Git - friendica.git/commitdiff
info page
authorFriendika <info@friendika.com>
Sun, 27 Mar 2011 23:35:56 +0000 (16:35 -0700)
committerFriendika <info@friendika.com>
Sun, 27 Mar 2011 23:35:56 +0000 (16:35 -0700)
boot.php
mod/friendika.php [new file with mode: 0644]

index f1e02901108daf2e7d0210a5f6c3b6c8d9288da1..54b34416f6bc4e2ed998c9d865309913110214b1 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -2,7 +2,7 @@
 
 set_time_limit(0);
 
-define ( 'FRIENDIKA_VERSION',      '2.1.929' );
+define ( 'FRIENDIKA_VERSION',      '2.1.931' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.1'  );
 define ( 'DB_UPDATE_VERSION',      1045   );
 
diff --git a/mod/friendika.php b/mod/friendika.php
new file mode 100644 (file)
index 0000000..4a8240a
--- /dev/null
@@ -0,0 +1,47 @@
+<?php
+
+function friendika_content(&$a) {
+
+       $o = '';
+       $o .= '<h3>Friendika</h3>';
+
+
+       $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('Please visit <a href="http://project.friendika.com">Project.Friendika.com</a> to learn more about the Friendika project.') . '</p><p>';        
+
+       $o .= t('Bug reports and issues: please visit') . ' ' . '<a href="http://bugs.friendika.com">Bugs.Friendika.com</a></p><p>';
+       $o .= t('Suggestions, praise, donations, etc. - please email "Info" at Friendika - dot com') . '</p>';
+
+       $o .= '<p></p>';
+
+       if(count($a->plugins)) {
+               $o .= '<p>' . t('Installed plugins/addons/apps') . '</p>';
+               $o .= '<ul>';
+               foreach($a->plugins as $p)
+                       if(strlen($p))
+                               $o .= '<li>' . $p . '</li>';
+               $o .= '</ul>';
+       }
+       else
+               $o .= '<p>' . t('No installed plugins/addons/apps');
+       
+       return $o;
+
+
+
+
+
+
+
+
+
+
+
+}
\ No newline at end of file