Changeset 4184


Ignore:
Timestamp:
04/29/11 11:49:50 (13 years ago)
Author:
rafaelraymundo
Message:

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

Location:
branches/2.2.0.1/calendar
Files:
2 edited

Legend:

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

    r4183 r4184  
    393393//NDEE: class def what for? 
    394394                                                    $dayToday = (int)(substr($today,6,2)); 
     395                                                    $seleDay = (int)(substr($_GET['date'],6,2)); 
    395396                                                    if($day == $dayToday) 
    396397                                                    { 
    397                                                         if($dayToday == $params['day']) 
     398                                                        if($dayToday == $seleDay) 
    398399                                                        { 
    399400                                                            $day_params['class'] = 'minicaltodaysel'; 
     
    407408                                                    if( isset($params['control']) && $params['control'] ) 
    408409                                                    { 
    409                                                         if($day == $params['day'] && $dayToday != $params['day']) 
     410                                                        if($day == $seleDay && $dayToday != $seleDay) 
    410411                                                        { 
    411412                                                            $day_params['class'] = 'minicalnottoday'; 
  • branches/2.2.0.1/calendar/templates/default/app.css

    r4163 r4184  
    6161        padding-right:3px; 
    6262        background: #B3DAFF; 
     63        color: black; 
    6364        font-size: 10px;  
    6465} 
     
    6970        padding-right:3px; 
    7071        background: #42A1FF; 
     72        color: white; 
    7173        font-size: 10px; 
    7274} 
     
    7779        padding-right:3px; 
    7880        background: #FFAD5C; 
     81        color: black; 
    7982        font-size: 10px; 
    8083} 
     
    166169} 
    167170 
    168 /*Mini Calendar*/ 
     171//Mini Calendar 
    169172 
    170173.calendar_minical_table 
Note: See TracChangeset for help on using the changeset viewer.