diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-09-05 21:05:24 +0200 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-09-05 21:05:24 +0200 |
commit | 2f5a34ad1791f01cacb3b86c11501f0e11c67df4 (patch) | |
tree | dd9242b14387c833346f4172e3f190659db56ff7 /mod/apps.php | |
parent | 5ec4a4e6deb5d28cbfab54093f8b4180912738d4 (diff) | |
parent | 08e54234e30c10e3130b7d71caba9fd43e3593e3 (diff) | |
download | volse-hubzilla-2f5a34ad1791f01cacb3b86c11501f0e11c67df4.tar.gz volse-hubzilla-2f5a34ad1791f01cacb3b86c11501f0e11c67df4.tar.bz2 volse-hubzilla-2f5a34ad1791f01cacb3b86c11501f0e11c67df4.zip |
Merge branch 'newui' of github.com:fabrixxm/friendika into newui
Diffstat (limited to 'mod/apps.php')
-rw-r--r-- | mod/apps.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/mod/apps.php b/mod/apps.php index 7a0a3f59e..8049b45fb 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -1,15 +1,18 @@ <?php - function apps_content(&$a) { + $title = t('Applications'); - $o .= '<h3>' . t('Applications') . '</h3>'; - - if($a->apps) - $o .= $a->apps; - else + 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, + )); + + + +} |