~intrahealth+informatics/ihris-manage/4.1.12-release

« back to all changes in this revision

Viewing changes to lib/iHRIS_ManagePageDashboard.php

  • Committer: Sovello Hildebrand
  • Date: 2015-07-15 18:52:56 UTC
  • Revision ID: sovellohpmgani@gmail.com-20150715185256-53s9qkeo6vvaev36
reordering of config file and class files which was not being loaded and causing sub dashboards not to display

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * © Copyright 2007, 2008 IntraHealth International, Inc.
4
 
 * 
5
 
 * This File is part of iHRIS
6
 
 * 
7
 
 * iHRIS is free software; you can redistribute it and/or modify
8
 
 * it under the terms of the GNU General Public License as published by
9
 
 * the Free Software Foundation; either version 3 of the License, or
10
 
 * (at your option) any later version.
11
 
 * 
12
 
 * This program is distributed in the hope that it will be useful,
13
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
 * GNU General Public License for more details.
16
 
 * 
17
 
 * You should have received a copy of the GNU General Public License
18
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 
 */
20
 
/**
21
 
 * @package iHRIS
22
 
 * @subpackage Manage
23
 
 * @access public
24
 
 * @author Luke Duncan <lduncan@intrahealth.org>
25
 
 * @copyright Copyright &copy; 2007, 2008 IntraHealth International, Inc. 
26
 
 * @since v2.0.0
27
 
 * @version v2.0.0
28
 
 */
29
 
 
30
 
/**
31
 
 * The page class for displaying the manage people page.
32
 
 * @package iHRIS
33
 
 * @subpackage Manage
34
 
 * @access public
35
 
 */
36
 
class iHRIS_ManagePageDashboard extends iHRIS_PageDashboard {
37
 
        
38
 
    /**
39
 
     * Perform the main actions of the page.
40
 
     */
41
 
    public function action() {
42
 
        $factory = I2CE_FormFactory::instance();
43
 
        $this->template->setAttribute( "class", "active", "menuDashboard", "a[@href='dashboard']" );
44
 
        $this->template->appendFileById( "menu_dashboard.html", "ul", "menuDashboard" );
45
 
                parent::action();
46
 
    }
47
 
        
48
 
}
49
 
 
50
 
 
51
 
# Local Variables:
52
 
# mode: php
53
 
# c-default-style: "bsd"
54
 
# indent-tabs-mode: nil
55
 
# c-basic-offset: 4
56
 
# End: