X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fapps.php;h=85a3d9fe26cda9a87ad0dd790cdf921265f71fa6;hb=a54fea313ff93b43ae0c691df2a8cf9c8c363006;hp=58752de32231fbaf90b76ae3d84c2f9e16d2ed37;hpb=681885a120fb44ddb0cee5cab1191a6aea67b3e0;p=friendica.git diff --git a/mod/apps.php b/mod/apps.php index 58752de322..85a3d9fe26 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -1,15 +1,30 @@ ' . t('Applications') . ''; + if (count($a->apps) == 0) { + notice(L10n::t('No installed applications.') . EOL); + } - $o .= '
' . t('Private Notes') . '
'; - - if($a->apps) - $o .= $a->apps; - - return $o; - -} \ No newline at end of file + $tpl = get_markup_template('apps.tpl'); + return replace_macros($tpl, [ + '$title' => $title, + '$apps' => $a->apps, + ]); +}