Changeset 3641 for branches/2.2/mobile/inc/class.ui_home.inc.php
- Timestamp:
- 12/29/10 09:49:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_home.inc.php
r3600 r3641 22 22 function index($params) { 23 23 $this->template->set_file(array('home_index' => 'home_index.tpl')); 24 $this->template->set_file(array('home_search_bar' => 'search_bar.tpl')); 25 24 26 $this->template->set_block('home_index','page'); 25 27 $this->template->set_block('home_index','folder_block'); 26 $this->template->set_block('home_index','commitment_block'); 28 $this->template->set_block('home_index','commitment_block'); 29 $this->template->set_block('home_search_bar','search_bar'); 27 30 28 31 //langs … … 39 42 $this->template->set_var('lang_selected', lang("selected")); 40 43 44 $this->template->set_var('search',$this->template->fp('out','search_bar')); 45 41 46 $accountId = $GLOBALS['phpgw_info']['user']['account_id']; 42 47 … … 131 136 $ui_mobilemail = CreateObject("mobile.ui_mobilemail");//Necessário para lista de emails, que é uma função estática 132 137 133 $p = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']);138 $p = $this->template; 134 139 $p->set_file( 135 140 Array( 136 'search' => 'home_search.tpl' 141 'search' => 'home_search.tpl', 142 'home_search_bar' => 'search_bar.tpl' 137 143 ) 138 144 ); … … 140 146 //Langs gerais da página 141 147 $p->set_block('search','home_search'); 148 $p->set_block('home_search_bar','search_bar'); 149 142 150 $p->set_var('search_param',$params['name']); 143 151 $p->set_var('lang_back',lang('back')); … … 164 172 isset($params["request_from"])? 165 173 $params["request_from"]:"none"); 174 175 $p->set_var('search',$p->fp('out','search_bar')); 166 176 167 177 //Contatos
Note: See TracChangeset
for help on using the changeset viewer.