4 use Friendica\Core\Config;
6 function apps_content(App $a) {
7 $privateaddons = Config::get('config', 'private_addons');
8 if ($privateaddons === "1") {
10 info(t('You must be logged in to use addons. '));
15 $title = t('Applications');
17 if (count($a->apps) == 0) {
18 notice(t('No installed applications.') . EOL);
21 $tpl = get_markup_template('apps.tpl');
22 return replace_macros($tpl, array(