Changeset 7655 for trunk/mobile/inc/class.ui_mobilecalendar.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mobile/inc/class.ui_mobilecalendar.inc.php
r6057 r7655 204 204 205 205 //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) { 207 207 $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); 208 208 } 209 209 210 210 //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) { 212 212 $days_of_calendar[$i+$day_of_week_first_day] = array("day" => $i+1, "month" => $month, "year" => $year, "other_month" => false); 213 213 } … … 234 234 $this->template->parse('events_box','bar_block',true); 235 235 236 for($i = 0; $i < 7; $i++) {236 for($i = 0; $i < 7; ++$i) { 237 237 $this->template->set_var("week_day", $this->shortDaysOfWeek[$i]); 238 238 $this->template->parse('week_day_box','calendar_header_block',true);
Note: See TracChangeset
for help on using the changeset viewer.