link events + personal notes to profile tabs
This commit is contained in:
14
mod/apps.php
14
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;
|
||||
|
||||
Reference in New Issue
Block a user