2 if(! function_exists('apps_content')) {
3 function apps_content(&$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);
17 $tpl = get_markup_template("apps.tpl");
18 return replace_macros($tpl, array(