link events + personal notes to profile tabs
This commit is contained in:
parent
d5fdd4287d
commit
fb92dbf5d6
9 changed files with 87 additions and 18 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue