1
0
Fork 0
friendica_2020-09-1_sharedH.../mod/apps.php

25 lines
360 B
PHP
Raw Normal View History

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