5 use Friendica\Content\Nav;
6 use Friendica\Core\Config;
7 use Friendica\Core\L10n;
9 function apps_content()
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 $apps = Nav::getAppMenu();
23 if (count($apps) == 0) {
24 notice(L10n::t('No installed applications.') . EOL);
27 $tpl = get_markup_template('apps.tpl');
28 return replace_macros($tpl, [