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. "));
12 $title = t('Applications');
14 if (count($a->apps) == 0) {
15 notice( t('No installed applications.') . EOL);
18 $tpl = get_markup_template("apps.tpl");
19 return replace_macros($tpl, array(