aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-15 16:43:42 -0700
committerfriendica <info@friendica.com>2014-05-15 16:43:42 -0700
commite68bb132a701d170ef1e13752a8f64107eac7353 (patch)
tree1e4aa3ca794a3f17d166318805622786f2f68a59 /mod/apps.php
parent8b233723c5a6cbf18de438efa1d832691b0d9cce (diff)
downloadvolse-hubzilla-e68bb132a701d170ef1e13752a8f64107eac7353.tar.gz
volse-hubzilla-e68bb132a701d170ef1e13752a8f64107eac7353.tar.bz2
volse-hubzilla-e68bb132a701d170ef1e13752a8f64107eac7353.zip
some backend stuff for apps
Diffstat (limited to 'mod/apps.php')
-rw-r--r--mod/apps.php20
1 files changed, 12 insertions, 8 deletions
diff --git a/mod/apps.php b/mod/apps.php
index 43540a3de..678af74e7 100644
--- a/mod/apps.php
+++ b/mod/apps.php
@@ -1,17 +1,21 @@
<?php
+require_once('include/apps.php');
+
function apps_content(&$a) {
- $apps = $a->get_apps();
- if(count($apps) == 0)
- notice( t('No installed applications.') . EOL);
+ $apps = get_system_apps();
+
+ $o .= print_r($apps,true);
+
+ return $o;
- $tpl = get_markup_template("apps.tpl");
- return replace_macros($tpl, array(
- '$title' => t('Applications'),
- '$apps' => $apps,
- ));
+// $tpl = get_markup_template("apps.tpl");
+// return replace_macros($tpl, array(
+// '$title' => t('Applications'),
+// '$apps' => $apps,
+// ));
}