aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-27 08:57:16 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-27 08:57:16 +0200
commit939449602a58838f81045c9a0e9a205c8fa9e6bd (patch)
tree4d1889c9b2e762e5f361916d6c25d95d325c2f71 /mod/apps.php
parent7f02617517f16b5a26a8de66792c7cd028f9b195 (diff)
parent8d93eefea87bd36904fcb1daabc239361dd95a27 (diff)
downloadvolse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.tar.gz
volse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.tar.bz2
volse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.zip
Merge remote-tracking branch 'fabrix/newui'
Diffstat (limited to 'mod/apps.php')
-rw-r--r--mod/apps.php19
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,
+ ));
+
+
+
+}