From e68bb132a701d170ef1e13752a8f64107eac7353 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 15 May 2014 16:43:42 -0700 Subject: some backend stuff for apps --- include/apps.php | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ include/plugin.php | 11 +++++++++++ mod/apps.php | 20 ++++++++++++-------- version.inc | 2 +- 4 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 include/apps.php diff --git a/include/apps.php b/include/apps.php new file mode 100644 index 000000000..38812ef83 --- /dev/null +++ b/include/apps.php @@ -0,0 +1,53 @@ +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, +// )); } diff --git a/version.inc b/version.inc index bb7d12c4b..3a42d37e3 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-05-14.675 +2014-05-15.676 -- cgit v1.2.3