phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: calendar/inc class.uicalendar.inc.php, 1.104, 1


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar/inc class.uicalendar.inc.php, 1.104, 1.105
Date: Sat, 06 Sep 2003 08:42:58 -0400

Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv17020/inc

Modified Files:
        class.uicalendar.inc.php 
Log Message:
New .css files for the calendar.

Index: class.uicalendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.uicalendar.inc.php,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -r1.104 -r1.105
*** class.uicalendar.inc.php    25 May 2003 21:01:58 -0000      1.104
--- class.uicalendar.inc.php    6 Sep 2003 12:42:54 -0000       1.105
***************
*** 2727,2733 ****
                        else
                        {
!                          $time_width = 
(intval($this->bo->prefs['common']['time_format']) == 12?10:7);
                        }
  
                        return 'A.minicalendar { color: #000000; font: xx-small 
'.$this->theme['font'].' }'."\n"
                                . '  A.bminicalendar { color: #336699; font: 
italic bold xx-small '.$this->theme['font'].' }'."\n"
--- 2727,2737 ----
                        else
                        {
!                               $time_width = 
(intval($this->bo->prefs['common']['time_format']) == 12?10:7);
                        }
  
+                       $GLOBALS['phpgw_info']['flags']['css_url'] = 
'cal_'.$time_width.'.css';
+ 
+                       return '';
+ 
                        return 'A.minicalendar { color: #000000; font: xx-small 
'.$this->theme['font'].' }'."\n"
                                . '  A.bminicalendar { color: #336699; font: 
italic bold xx-small '.$this->theme['font'].' }'."\n"
***************
*** 4437,4444 ****
                                        $extra = ' class="cal_holiday"';
                                        $class = ($appts?'b':'').'minicalhol';
!                                       if ($date == $this->bo->today)
!                                       {
!                                               $day_image = ' 
background="'.$GLOBALS['phpgw']->common->image('calendar','mini_day_block').'"';
!                                       }
                                }
                                elseif ($date != $this->bo->today)
--- 4441,4448 ----
                                        $extra = ' class="cal_holiday"';
                                        $class = ($appts?'b':'').'minicalhol';
! //                                    if ($date == $this->bo->today)
! //                                    {
! //                                            $day_image = ' 
background="'.$GLOBALS['phpgw']->common->image('calendar','mini_day_block').'"';
! //                                    }
                                }
                                elseif ($date != $this->bo->today)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]