summaryrefslogtreecommitdiffstats
path: root/app/controller/dashboard.control.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-03-27 20:19:10 -0400
committerMalf Furious <m@lfurio.us>2016-03-27 20:19:10 -0400
commit4d69a5ecca13bbda5843c176e1bc4df514f079d7 (patch)
treef15454061b94928181c0a36cd48f0979b9dfc943 /app/controller/dashboard.control.php
parent7a2672164a73bb011a3d930df52c0643ee18457d (diff)
parente55a32c647cab450c2a6c6a3156c798dc0f70256 (diff)
downloadscrott-4d69a5ecca13bbda5843c176e1bc4df514f079d7.tar.gz
scrott-4d69a5ecca13bbda5843c176e1bc4df514f079d7.zip
Merge branch 'feature/setting-modal' into dev
Diffstat (limited to 'app/controller/dashboard.control.php')
-rw-r--r--app/controller/dashboard.control.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/controller/dashboard.control.php b/app/controller/dashboard.control.php
new file mode 100644
index 0000000..53ca160
--- /dev/null
+++ b/app/controller/dashboard.control.php
@@ -0,0 +1,29 @@
+<?php
+
+require_once "class/controller.class.php";
+require_once "model/dashboard.mod.php";
+
+/*
+ * Main page, Dashboard -- Overview information for user, groups, and pads
+ */
+class Dashboard extends Controller
+{
+ /*
+ * Controller implementation
+ */
+ function handle($argv)
+ {
+ $mod = new DashboardModel();
+ $mod->common_handleFormSubmissions($_REQUEST['input']);
+ $mod->common_deflt();
+ $this->action_default($mod);
+ }
+
+ function action_default($mod)
+ {
+ $mod->deflt();
+ include "view/dashboard/default.view.php";
+ }
+}
+
+?>