2011-02-19 10:01:33 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
function apps_content(&$a) {
|
|
|
|
|
|
|
|
$o .= '<h3>' . t('Applications') . '</h3>';
|
|
|
|
|
2011-06-09 06:43:32 +02:00
|
|
|
$apps = false;
|
2011-05-20 10:15:02 +02:00
|
|
|
|
2011-06-09 06:43:32 +02: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 10:01:33 +01:00
|
|
|
$o .= $a->apps;
|
2011-06-09 06:43:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if(! $apps)
|
|
|
|
notice( t('No installed applications.') . EOL);
|
2011-02-19 10:01:33 +01:00
|
|
|
|
|
|
|
return $o;
|
|
|
|
|
|
|
|
}
|