Changeset 4210 for trunk/mobile/inc
- Timestamp:
- 05/04/11 15:07:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mobile/inc/class.mobiletemplate.inc.php
r4156 r4210 11 11 * @author Nilton Emilio Buhrer Neto <niltonneto@celepar.pr.gov.br> 12 12 */ 13 function mobiletemplate(){ 13 function mobiletemplate() 14 { 14 15 $this->template = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 15 16 … … 93 94 * @author Nilton Emilio Buhrer Neto <niltonneto@celepar.pr.gov.br> 94 95 */ 95 public function print_page($class, $method){ 96 if($GLOBALS['phpgw']->session->appsession('mobile.layout','mobile') == "mini_desktop") { 96 public function print_page($class, $method ) 97 { 98 if( $GLOBALS['phpgw']->session->appsession('mobile.layout','mobile') == "mini_desktop" ) 99 { 97 100 //force to don' t call ui_home.index in a mini desktop version 98 101 if($class == "ui_home" && $method == "index") { … … 141 144 $this->template->set_var('style_2','position:relative; float: right; display: block'); 142 145 } 143 146 147 if( isset($_SESSION['mobile']['displayIOS']) && $_SESSION['mobile']['displayIOS'] == "true" ) 148 $this->template->set_var('display_IOS', "none"); 149 else 150 $this->template->set_var('display_IOS', "block"); 151 152 $this->template->set_var('lang_tips', lang('Tips')); 144 153 $this->template->set_var('lang_logout', lang('logout')); 145 154 $this->template->set_var('lang_search', lang('search'));
Note: See TracChangeset
for help on using the changeset viewer.