Ignore:
Timestamp:
12/29/10 09:49:47 (13 years ago)
Author:
eduardoalex
Message:

Ticket #1475 - Barra em arquivo de template único

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/inc/class.ui_mobilecalendar.inc.php

    r3599 r3641  
    2626                 
    2727                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                                                                ); 
    2934                        $this->template->set_block("calendar","page"); 
    3035                        $this->template->set_block('calendar','event_block'); 
     
    3338                        $this->template->set_block('calendar','type_option_block'); 
    3439                        $this->template->set_block('calendar','bar_block'); 
     40                        $this->template->set_block('home_search_bar','search_bar'); 
    3541                        $this->template->set_var('lang_back',lang("back")); 
    3642                        $this->template->set_var('lang_calendar',lang("Calendar")); 
    3743                        $this->template->set_var('lang_search',lang("search")); 
     44                         
     45                        $this->template->set_var('search',$this->template->fp('out','search_bar')); 
    3846                         
    3947                        if(!function_exists("get_events")){ 
Note: See TracChangeset for help on using the changeset viewer.