]> git.mxchange.org Git - friendica.git/blob - mod/apps.php
Merge branch 'master' of git://github.com/friendika/friendika
[friendica.git] / mod / apps.php
1 <?php
2
3
4 function apps_content(&$a) {
5
6         $o .= '<h3>' . t('Applications') . '</h3>';
7
8         $apps = false;
9
10         if(local_user()) {
11                 $apps = true;
12                 $o .= '<div class="app-title"><a href="notes">' . t('Private Notes') . '</a></div>';
13         }
14
15         if($a->apps) {
16                 $apps = true;
17                 $o .= $a->apps;
18         }
19
20         if(! $apps)
21                 notice( t('No installed applications.') . EOL);
22
23         return $o;
24
25 }