2011-02-19 09:01:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
function apps_content(&$a) {
|
|
|
|
|
|
|
|
$o .= '<h3>' . t('Applications') . '</h3>';
|
|
|
|
|
2011-06-09 04:43:32 +00:00
|
|
|
$apps = false;
|
2011-05-20 08:15:02 +00:00
|
|
|
|
2011-06-09 04:43:32 +00:00
|
|
|
if(local_user()) {
|
|
|
|
$apps = true;
|
|
|
|
$o .= '<div class="app-title"><a href="notes">' . t('Private Notes') . '</a></div>';
|
|
|
|
}
|
|
|
|
|
|
|
|
if($a->apps) {
|
|
|
|
$apps = true;
|
2011-02-19 09:01:33 +00:00
|
|
|
$o .= $a->apps;
|
2011-06-09 04:43:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if(! $apps)
|
|
|
|
notice( t('No installed applications.') . EOL);
|
2011-02-19 09:01:33 +00:00
|
|
|
|
|
|
|
return $o;
|
|
|
|
|
|
|
|
}
|