Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mobile/inc/class.ui_mobilecalendar.inc.php

    r6057 r7655  
    204204                                 
    205205                                //identificando os dias do mês anterior 
    206                                 for($i = 0; $i < $day_of_week_first_day; $i++) { 
     206                                for($i = 0; $i < $day_of_week_first_day; ++$i) { 
    207207                                        $days_of_calendar[$i] = array("day" => ($last_day_of_before_month-$day_of_week_first_day+$i+1), "month" => $last_month_year[0], "year" => $last_month_year[1], "other_month" => true);                                   
    208208                                } 
    209209                                 
    210210                                //adicionando os dias do mês especificado 
    211                                 for($i = 0; $i < ($last_day_of_month ); $i++) { 
     211                                for($i = 0; $i < ($last_day_of_month ); ++$i) { 
    212212                                        $days_of_calendar[$i+$day_of_week_first_day] = array("day" => $i+1, "month" => $month, "year" => $year, "other_month" => false); 
    213213                                } 
     
    234234                                $this->template->parse('events_box','bar_block',true); 
    235235                                 
    236                                 for($i = 0; $i < 7; $i++) { 
     236                                for($i = 0; $i < 7; ++$i) { 
    237237                                        $this->template->set_var("week_day", $this->shortDaysOfWeek[$i]); 
    238238                                        $this->template->parse('week_day_box','calendar_header_block',true); 
Note: See TracChangeset for help on using the changeset viewer.