aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/apps.php')
-rw-r--r--mod/apps.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/apps.php b/mod/apps.php
new file mode 100644
index 000000000..8049b45fb
--- /dev/null
+++ b/mod/apps.php
@@ -0,0 +1,18 @@
+<?php
+
+function apps_content(&$a) {
+ $title = t('Applications');
+
+ if(count($a->apps)==0)
+ notice( t('No installed applications.') . EOL);
+
+
+ $tpl = get_markup_template("apps.tpl");
+ return replace_macros($tpl, array(
+ '$title' => $title,
+ '$apps' => $a->apps,
+ ));
+
+
+
+}