Changeset 2439 for trunk/calendar/inc


Ignore:
Timestamp:
04/07/10 08:17:49 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Permitindo que o ExpressoCalendar? não realize reload de página.

Location:
trunk/calendar/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.uicalendar.inc.php

    r2419 r2439  
    30543054                                } 
    30553055                        } 
    3056                         if($GLOBALS['phpgw_info']['flags']['currentapp'] == 'home' || 
     3056                        if( !$GLOBALS['phpgw_info']['flags']['currentapp'] || $GLOBALS['phpgw_info']['flags']['currentapp'] == 'home' ||  
    30573057                                strstr($GLOBALS['phpgw_info']['flags']['currentapp'],'mail'))   // email, felamimail, ... 
    30583058                        { 
     
    49164916                        if ($param['plain'] != "True"){ 
    49174917                        //      $GLOBALS['phpgw']->common->phpgw_header(); 
     4918                                echo $GLOBALS['phpgw']->common->get_java_script( ); 
    49184919                        } 
    49194920                        else{ 
  • trunk/calendar/inc/class.uiholiday.inc.php

    r2419 r2439  
    7676                                'rule'         => '', 
    7777                                'header_rule'  => '', 
    78                                 'back_button'   => '' 
     78                                'back_button'   => '', 
     79                                'info' => '' 
    7980                        ); 
    8081 
     
    171172                                'header_rule'           => '<td>'.$GLOBALS['phpgw']->nextmatchs->show_sort_order($this->bo->sort,'month_num,mday',$this->bo->order,'/index.php',lang('Rule'),'&menuaction=calendar.uiholiday.edit_locale&locale='.$this->bo->locales[0].'&year='.$this->bo->year).'</td>', 
    172173                                'header_extra'          => lang('Copy'), 
    173                                 'extra_width'           => 'width="5%"' 
     174                                'extra_width'           => 'width="5%"', 
     175                                'info'                          => '' 
    174176                        ); 
    175177 
     
    185187                                $maxmatchs = $GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs']; 
    186188                                $end = min($total,$this->bo->start+$maxmatchs); 
    187                                 $p->set_var('rows',lang('showing %1 - %2 of %3',1+$this->bo->start,$end,$total)); 
     189                                $p->set_var('info',lang('showing %1 - %2 of %3',1+$this->bo->start,$end,$total)); 
    188190                                for($i=$this->bo->start; $i < $end; $i++) 
    189191                                { 
     
    254256 
    255257                        $t = &$GLOBALS['phpgw']->template; 
    256                         $t->set_file(Array('holiday'=>'holiday.tpl','form_button'=>'form_button_script.tpl')); 
     258                        $t->set_file(Array('holiday'=>'holiday.tpl','form_button'=>'form_button_change_form_action.tpl')); 
    257259                        $t->set_block('holiday','form','form'); 
    258260                        $t->set_block('holiday','list','list'); 
     
    344346                                'action_url_button'     => $GLOBALS['phpgw']->link($this->base_url,$link_params), 
    345347                                'action_text_button'    => lang('Cancel'), 
    346                                 'action_confirm_button' => '', 
    347                                 'action_extra_field'    => '' 
    348348                        )); 
    349349                        $t->parse('cancel_button','form_button'); 
     
    359359                                $t->set_var(Array( 
    360360                                        'action_url_button'     => $GLOBALS['phpgw']->link($this->base_url,$link_params), 
    361                                         'action_text_button'    => lang('Delete'), 
    362                                         'action_confirm_button' => '', 
    363                                         'action_extra_field'    => '' 
     361                                        'action_text_button'    => lang('Delete') 
    364362                                )); 
    365363                                $t->parse('delete_button','form_button'); 
Note: See TracChangeset for help on using the changeset viewer.