summaryrefslogtreecommitdiffstats
path: root/app/controller/dashboard.control.php
blob: aa1c0bdb08fb2ba795cab1792fe7923204c4e649 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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'], $_FILES['attachment']);
        $mod->common_deflt();
        $this->action_default($mod);
    }

    function action_default($mod)
    {
        $mod->deflt();
        include "view/dashboard/default.view.php";
    }
}

?>