aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
committerfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
commit8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616 (patch)
tree1941b7e5879c9d1e54cc45529f92e9b0a8a7a0c3 /mod/apps.php
parent87c171030c8de2e36f284fa6b58f11a5535a9a29 (diff)
downloadvolse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.gz
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.bz2
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.zip
lotsa little fixes
Diffstat (limited to 'mod/apps.php')
-rw-r--r--mod/apps.php11
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,
));
-
-
}