Changeset 3641 for branches/2.2/mobile/inc
- Timestamp:
- 12/29/10 09:49:47 (13 years ago)
- Location:
- branches/2.2/mobile/inc
- Files:
-
- 4 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 -
branches/2.2/mobile/inc/class.ui_mobilecalendar.inc.php
r3599 r3641 26 26 27 27 function index($params) { 28 $this->template->set_file(array('calendar' => 'calendar.tpl')); 28 $this->template->set_file( 29 array( 30 'calendar' => 'calendar.tpl', 31 'home_search_bar' => 'search_bar.tpl' 32 ) 33 ); 29 34 $this->template->set_block("calendar","page"); 30 35 $this->template->set_block('calendar','event_block'); … … 33 38 $this->template->set_block('calendar','type_option_block'); 34 39 $this->template->set_block('calendar','bar_block'); 40 $this->template->set_block('home_search_bar','search_bar'); 35 41 $this->template->set_var('lang_back',lang("back")); 36 42 $this->template->set_var('lang_calendar',lang("Calendar")); 37 43 $this->template->set_var('lang_search',lang("search")); 44 45 $this->template->set_var('search',$this->template->fp('out','search_bar')); 38 46 39 47 if(!function_exists("get_events")){ -
branches/2.2/mobile/inc/class.ui_mobilecc.inc.php
r3634 r3641 123 123 $this->template->set_file( 124 124 Array( 125 'contacts_list' => 'cc_main.tpl' 125 'contacts_list' => 'cc_main.tpl', 126 'home_search_bar' => 'search_bar.tpl' 126 127 ) 127 128 ); … … 129 130 $this->template->set_block("contacts_list","main_body"); 130 131 $this->template->set_block("contacts_list","pagging_block"); 132 $this->template->set_block('home_search_bar','search_bar'); 131 133 132 134 //Langs gerais da página … … 142 144 $this->page_info["request_from"]==null? 143 145 "none":$this->page_info["request_from"]); 146 147 $this->template->set_var('search',$this->template->fp('out','search_bar')); 144 148 145 149 //Combo de catálogos -
branches/2.2/mobile/inc/class.ui_mobilemail.inc.php
r3609 r3641 422 422 $p->set_file( 423 423 Array( 424 'mail_t' => 'mobilemail.tpl' 424 'mail_t' => 'mobilemail.tpl', 425 'home_search_bar' => 'search_bar.tpl' 425 426 ) 426 427 ); 428 429 $p->set_block('home_search_bar','search_bar'); 430 427 431 $p->set_var("page",$this->current_page+1); 428 432 $p->set_var("lang_new_message",lang("new message")); … … 433 437 $p->set_var("lang_back",lang("back")); 434 438 $p->set_var("lang_new_message",lang("new message")); 435 $p->set_var( "lang_search_message",lang("search"));439 $p->set_var('lang_search',lang('search')); 436 440 $p->set_var("lang_more",lang("more")); 437 441 $p->set_var("lang_messages",lang("messages")); 442 $p->set_var('search',$p->fp('out','search_bar')); 438 443 439 444 $max_per_page =
Note: See TracChangeset
for help on using the changeset viewer.