Ignore:
Timestamp:
04/29/11 11:46:01 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1812 - Incluir 3 mini-calendários na visão diaria

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php

    r4182 r4183  
    17921792                                $minical = $this->mini_calendar( 
    17931793                                        Array( 
    1794                                                 'day'           => $this->bo->day, 
     1794                                                'day'           => 1, 
    17951795                                                'month'         => $this->bo->month, 
    17961796                                                'year'          => $this->bo->year, 
    17971797                                                'link'          => 'day', 
    17981798                                                'control'       => True, 
     1799                                                'outside_month' => False 
     1800                                        ) 
     1801                                ); 
     1802                                $minical1 = $this->mini_calendar( 
     1803                                        Array( 
     1804                                                'day'           => 1, 
     1805                                                'month'         => $this->bo->month+1, 
     1806                                                'year'          => $this->bo->year, 
     1807                                                'link'          => 'day', 
     1808                                                'control'       => False, 
     1809                                                'outside_month' => False 
     1810                                        ) 
     1811                                ); 
     1812                                $minical2 = $this->mini_calendar( 
     1813                                        Array( 
     1814                                                'day'           => 1, 
     1815                                                'month'         => $this->bo->month+2, 
     1816                                                'year'          => $this->bo->year, 
     1817                                                'link'          => 'day', 
     1818                                                'control'       => False, 
    17991819                                                'outside_month' => False 
    18001820                                        ) 
     
    18701890                                        ) 
    18711891                                ), 
    1872                                 'small_calendar'            => $minical, 
     1892                                'small_calendar'            => $minical.'<br/>'.$minical1.'<br/>'.$minical2, 
    18731893                                'date'                      => $this->bo->long_date($now) . $legend_holiday, 
    18741894                                'day_of_week'           => $week_days[$now['dow']], 
     
    50815101                        Array( 
    50825102                            'day'               => 1, 
    5083                             'month'             => $this->bo->month -1, 
     5103                            'month'             => $this->bo->month, 
    50845104                            'year'              => $this->bo->year, 
    50855105                            'link'              => 'week', 
     
    50925112                        Array( 
    50935113                            'day'               => 1, 
    5094                             'month'             => $this->bo->month + 1, 
     5114                            'month'             => $this->bo->month+2, 
    50955115                            'year'              => $this->bo->year, 
    50965116                            'link'              => 'week', 
     
    51035123                        Array( 
    51045124                            'day'               => 1, 
    5105                             'month'             => $this->bo->month, 
     5125                            'month'             => $this->bo->month+1, 
    51065126                            'year'              => $this->bo->year, 
    51075127                            'link'              => 'week', 
     
    51755195                                                'month'         => $this->bo->month -1, 
    51765196                                                'year'          => $this->bo->year, 
    5177                                                 'link'          => 'week', 
     5197                                                'link'          => 'day', 
    51785198                                                'control'       => False, 
    51795199                                                'outside_month' => False 
     
    51865206                                                'month'         => $this->bo->month + 2, 
    51875207                                                'year'          => $this->bo->year, 
    5188                                                 'link'          => 'week', 
     5208                                                'link'          => 'day', 
    51895209                                                'control'       => False, 
    51905210                                                'outside_month' => False 
     
    51975217                                                'month'         => $this->bo->month + 1, 
    51985218                                                'year'          => $this->bo->year, 
    5199                                                 'link'          => 'week', 
     5219                                                'link'          => 'day', 
    52005220                                                'control'       => False, 
    52015221                                                'outside_month' => False 
Note: See TracChangeset for help on using the changeset viewer.