6 use Friendica\Core\Config;
7 use Friendica\Core\L10n;
9 function apps_content(App $a)
11 $privateaddons = Config::get('config', 'private_addons');
12 if ($privateaddons === "1") {
14 info(L10n::t('You must be logged in to use addons. '));
19 $title = L10n::t('Applications');
21 if (count($a->apps) == 0) {
22 notice(L10n::t('No installed applications.') . EOL);
25 $tpl = get_markup_template('apps.tpl');
26 return replace_macros($tpl, [