summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-03-05 23:30:10 -0500
committerMalf Furious <m@lfurio.us>2016-03-27 20:16:32 -0400
commite7268937ab3e7dce2fb14e3ae1256690c3b34b63 (patch)
tree0d59d494b471f533643e6dc7b35c495efb8e1c7a
parent3b2b46aaefc3c98969173debfb3ee8e59ab6e5fd (diff)
downloadscrott-e7268937ab3e7dce2fb14e3ae1256690c3b34b63.tar.gz
scrott-e7268937ab3e7dce2fb14e3ae1256690c3b34b63.zip
Add Dashboard controller
-rw-r--r--app/controller/dashboard.control.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/controller/dashboard.control.php b/app/controller/dashboard.control.php
new file mode 100644
index 0000000..4ee4b38
--- /dev/null
+++ b/app/controller/dashboard.control.php
@@ -0,0 +1,27 @@
+<?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();
+ $this->action_default($mod);
+ }
+
+ function action_default($mod)
+ {
+ $mod->deflt();
+ include "view/dashboard/default.view.php";
+ }
+}
+
+?>