friendica/mod/apps.php

25 lines
360 B
PHP
Raw Normal View History

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