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