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