3 function apps_content(App $a) {
4 $privateaddons = get_config('config','private_addons');
5 if ($privateaddons === "1") {
6 if((! (local_user()))) {
7 info( t("You must be logged in to use addons. "));
11 $title = t('Applications');
13 if(count($a->apps)==0)
14 notice( t('No installed applications.') . EOL);
17 $tpl = get_markup_template("apps.tpl");
18 return replace_macros($tpl, array(