diff options
Diffstat (limited to 'mod/apps.php')
-rw-r--r-- | mod/apps.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mod/apps.php b/mod/apps.php index 8049b45fb..43540a3de 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -1,18 +1,17 @@ <?php function apps_content(&$a) { - $title = t('Applications'); - if(count($a->apps)==0) + $apps = $a->get_apps(); + + if(count($apps) == 0) notice( t('No installed applications.') . EOL); $tpl = get_markup_template("apps.tpl"); return replace_macros($tpl, array( - '$title' => $title, - '$apps' => $a->apps, + '$title' => t('Applications'), + '$apps' => $apps, )); - - } |