2
/** Main home page of the Camp Registry a.k.a Shelter Registry a.k.a ...
6
* LICENSE: This source file is subject to LGPL license
7
* that is available through the world-wide-web at the following URI:
8
* http://www.gnu.org/copyleft/lesser.html
10
* @package Sahana - http://sahana.sourceforge.net
12
* @author Mifan Careem <mifan@opensource.lk>
13
* @author Chathra Hendehewa <chathra@opensource.lk>
15
* @copyright Lanka Software Foundation - http://www.opensource.lk
18
include_once $global['approot']."/inc/lib_modules.inc";
19
include_once $global['approot']."/mod/cr/main_fns.inc";
20
include_once $global['approot']."/inc/lib_menu.inc";
24
* Display main side menu for CR
26
function shn_cr_mainmenu()
30
$module = $global['module'];
31
shn_mod_menuopen(_t($conf['mod_cr_name']));
32
shn_mod_menuitem("default",_t("Home"),$module);
33
shn_sub_mod_menuopen(_t("Search"));
34
shn_mod_menuitem("srch",_t("Search by name"),$module);
35
shn_mod_menuitem("srch_address",_t("Search by address"),$module);
36
shn_sub_mod_menuclose();
37
shn_mod_menuitem("acmp",_t("Add Shelter"),$module);
38
shn_mod_menuitem("ecmp",_t("Edit Shelter"),$module);
39
shn_sub_mod_menuopen(_t("Reports"));
40
shn_sub_mod_menuitem("arpt",_t("View All Shelters"),$module);
41
shn_mod_menuitem("lrpt",_t("View By Location"),$module);
42
shn_mod_menuitem("contact",_t("View Admin Details"),$module);
44
shn_mod_menuitem("gis_show",_t("Map by Location"),$module);
45
shn_mod_menuitem("gis_infect",_t("Map by Infection"),$module);
46
shn_mod_menuitem("gis_population",_t("Map by Population"),$module);
48
shn_sub_mod_menuclose();
51
// Display Sahana main menu
52
include $global['approot']."/inc/handler_mainmenu.inc";