Changeset 4167


Ignore:
Timestamp:
04/28/11 16:47:35 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1798 - Destacar nos mini-calendários o dia que está em exibição.

File:
1 edited

Legend:

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

    r4163 r4167  
    404404                                                        } 
    405405                                                    } 
    406                                                     if($day == $params['day'] && $dayToday != $params['day']) 
     406 
     407                                                    if( isset($params['control']) && $params['control'] ) 
    407408                                                    { 
    408                                                         $day_params['class'] = 'minicalnottoday'; 
     409                                                        if($day == $params['day'] && $dayToday != $params['day']) 
     410                                                        { 
     411                                                            $day_params['class'] = 'minicalnottoday'; 
     412                                                        } 
    409413                                                    } 
    410414 
     
    17881792                                $minical = $this->mini_calendar( 
    17891793                                        Array( 
    1790                                                 'day'   => $this->bo->day, 
    1791                                                 'month' => $this->bo->month, 
    1792                                                 'year'  => $this->bo->year, 
    1793                                                 'link'  => 'day', 
     1794                                                'day'           => $this->bo->day, 
     1795                                                'month'         => $this->bo->month, 
     1796                                                'year'          => $this->bo->year, 
     1797                                                'link'          => 'day', 
     1798                                                'control'       => True, 
    17941799                                                'outside_month' => False 
    17951800                                        ) 
     
    50765081                            'year'              => $this->bo->year, 
    50775082                            'link'              => 'week', 
     5083                            'control'           => False, 
    50785084                            'outside_month'     => False 
    50795085                            ) 
     
    50865092                            'year'              => $this->bo->year, 
    50875093                            'link'              => 'week', 
     5094                            'control'           => False, 
    50885095                            'outside_month'     => False 
    50895096                        ) 
     
    50965103                            'year'              => $this->bo->year, 
    50975104                            'link'              => 'week', 
     5105                            'control'           => False, 
    50985106                            'outside_month'     => False 
    50995107                        ) 
     
    51615169                        $minical_prev = $this->mini_calendar( 
    51625170                                        Array( 
    5163                                                 'day'   => 1, 
    5164                                                 'month' => $this->bo->month -1, 
    5165                                                 'year'  => $this->bo->year, 
    5166                                                 'link'  => 'week', 
     5171                                                'day'           => 1, 
     5172                                                'month'         => $this->bo->month -1, 
     5173                                                'year'          => $this->bo->year, 
     5174                                                'link'          => 'week', 
     5175                                                'control'       => False, 
    51675176                                                'outside_month' => False 
    51685177                                        ) 
     
    51715180                        $minical_next1 = $this->mini_calendar( 
    51725181                                        Array( 
    5173                                                 'day'   => 1, 
    5174                                                 'month' => $this->bo->month + 2, 
    5175                                                 'year'  => $this->bo->year, 
    5176                                                 'link'  => 'week', 
     5182                                                'day'           => 1, 
     5183                                                'month'         => $this->bo->month + 2, 
     5184                                                'year'          => $this->bo->year, 
     5185                                                'link'          => 'week', 
     5186                                                'control'       => False, 
    51775187                                                'outside_month' => False 
    51785188                                        ) 
     
    51815191                        $minical_next = $this->mini_calendar( 
    51825192                                        Array( 
    5183                                                 'day'   => 1, 
    5184                                                 'month' => $this->bo->month + 1, 
    5185                                                 'year'  => $this->bo->year, 
    5186                                                 'link'  => 'week', 
     5193                                                'day'           => 1, 
     5194                                                'month'         => $this->bo->month + 1, 
     5195                                                'year'          => $this->bo->year, 
     5196                                                'link'          => 'week', 
     5197                                                'control'       => False, 
    51875198                                                'outside_month' => False 
    51885199                                        ) 
Note: See TracChangeset for help on using the changeset viewer.