Changeset 3600 for branches/2.2/mobile/inc/class.ui_home.inc.php
- Timestamp:
- 12/17/10 08:41:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_home.inc.php
r3596 r3600 91 91 } 92 92 93 $GLOBALS['phpgw_info']['mobiletemplate']->set_error_msg($params["error_message"]); 93 94 $GLOBALS['phpgw_info']['mobiletemplate']->set_success_msg($params["success_message"]); 94 95 $GLOBALS['phpgw_info']['mobiletemplate']->set_content($this->template->fp('out', 'page')); … … 115 116 } 116 117 117 function search($params) { 118 function search($params) { 119 if($_SERVER["HTTP_REFERER"] && strpos($_SERVER["HTTP_REFERER"], "ui_home.index")) { 120 if(!$params["default_folders"] && 121 !$params["personal_folders"] && 122 !$params["calendar_search"] && 123 !$params["contacts_search"]) { 124 125 header('Location: index.php?menuaction=menuaction=mobile.ui_home.index&error_message='.lang("need choose one option")); 126 } 127 } 128 129 118 130 include_once "class.ui_mobilecc.inc.php"; 119 131 $ui_mobilemail = CreateObject("mobile.ui_mobilemail");//Necessário para lista de emails, que é uma função estática
Note: See TracChangeset
for help on using the changeset viewer.