X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fapps.php;h=a220afff1cadcad109d520239030bea47c33e7e2;hb=391c5913227c7f62f19b4f08906b0b1b0b618b33;hp=58752de32231fbaf90b76ae3d84c2f9e16d2ed37;hpb=681885a120fb44ddb0cee5cab1191a6aea67b3e0;p=friendica.git diff --git a/mod/apps.php b/mod/apps.php index 58752de322..a220afff1c 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -1,15 +1,26 @@ ' . t('Applications') . ''; + $title = t('Applications'); - $o .= '
' . t('Private Notes') . '
'; + if (count($a->apps) == 0) { + notice(t('No installed applications.') . EOL); + } - 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, + ]); +}