aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-13 20:32:30 -0700
committerFriendika <info@friendika.com>2011-06-13 20:32:30 -0700
commitfb92dbf5d683c3d92a76216c09d23e338c7d3341 (patch)
tree9b405b273b1ec779074609ded358a8c0ecc20a10 /mod/apps.php
parentd5fdd4287dec00adcb08e389385b1ecbc23cca6a (diff)
downloadvolse-hubzilla-fb92dbf5d683c3d92a76216c09d23e338c7d3341.tar.gz
volse-hubzilla-fb92dbf5d683c3d92a76216c09d23e338c7d3341.tar.bz2
volse-hubzilla-fb92dbf5d683c3d92a76216c09d23e338c7d3341.zip
link events + personal notes to profile tabs
Diffstat (limited to 'mod/apps.php')
-rw-r--r--mod/apps.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/mod/apps.php b/mod/apps.php
index f25722df7..7a0a3f59e 100644
--- a/mod/apps.php
+++ b/mod/apps.php
@@ -5,19 +5,9 @@ function apps_content(&$a) {
$o .= '<h3>' . t('Applications') . '</h3>';
- $apps = false;
-
- if(local_user()) {
- $apps = true;
- $o .= '<div class="app-title"><a href="notes">' . t('Private Notes') . '</a></div>';
- }
-
- if($a->apps) {
- $apps = true;
+ if($a->apps)
$o .= $a->apps;
- }
-
- if(! $apps)
+ else
notice( t('No installed applications.') . EOL);
return $o;