X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fapps.php;h=b8800c7d7082a726c9d19de444820229c971cbe5;hb=0b5f7da270bcaa679cb684dbbbbe40781f0b49c6;hp=1d08d2e7f6954a2ea532f52578164cbeba99218a;hpb=af0fe4cf422aee9a8fd6b5b5cd422ed0c02e6696;p=friendica.git diff --git a/mod/apps.php b/mod/apps.php index 1d08d2e7f6..b8800c7d70 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -1,14 +1,26 @@ ' . t('Applications') . ''; + $title = t('Applications'); - if($a->apps) - $o .= $a->apps; + if (count($a->apps) == 0) { + notice(t('No installed applications.') . EOL); + } - - return $o; - -} \ No newline at end of file + $tpl = get_markup_template('apps.tpl'); + return replace_macros($tpl, array( + '$title' => $title, + '$apps' => $a->apps, + )); +}