phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: calendar/templates/idsociety header.inc.php,1.20


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar/templates/idsociety header.inc.php,1.20.2.2,1.20.2.3
Date: Sat, 17 Aug 2002 00:29:17 -0400

Update of /cvsroot/phpgroupware/calendar/templates/idsociety
In directory subversions:/tmp/cvs-serv26724/calendar/templates/idsociety

Modified Files:
      Tag: Version-0_9_14-branch
        header.inc.php 
Log Message:
Brings it in line with the new API functions.

Index: header.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/templates/idsociety/header.inc.php,v
retrieving revision 1.20.2.2
retrieving revision 1.20.2.3
diff -C2 -r1.20.2.2 -r1.20.2.3
*** header.inc.php      15 May 2002 17:19:39 -0000      1.20.2.2
--- header.inc.php      17 Aug 2002 04:29:15 -0000      1.20.2.3
***************
*** 46,50 ****
        }
  
!       $today = date('Ymd',time());
  
        $col_width = 12;
--- 46,50 ----
        }
  
!       $today = date('Ymd',$GLOBALS['phpgw']['datetime']->users_localtime);
  
        $col_width = 12;
***************
*** 52,70 ****
        add_col($tpl,'  <td width="2%">&nbsp;</td>');
  
!       add_col($tpl,'  <td 
width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today.gif',lang('Today')).'</td>');
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('week','&date='.$today),'week.gif',lang('This
 week')).'</td>');
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('month','&date='.$today),'month.gif',lang('This
 month')).'</td>');
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('year','&date='.$today),'year.gif',lang('This
 Year')).'</td>');
  
        if(floor(phpversion()) >= 4)
        {
!               add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner.gif',lang('Planner')).'</td>');
                $col_width += 2;
        }
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('matrixselect'),'view.gif',lang('Daily
 Matrix View')).'</td>');
  
        add_col($tpl,'  <td width="'.(100 - $col_width).'%" 
align="left"'.(floor(phpversion()) < 4?' colspan="2"':'').'>&nbsp;</td>');
--- 52,70 ----
        add_col($tpl,'  <td width="2%">&nbsp;</td>');
  
!       add_col($tpl,'  <td 
width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today',lang('Today')).'</td>');
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('week','&date='.$today),'week',lang('This
 week')).'</td>');
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('month','&date='.$today),'month',lang('This
 month')).'</td>');
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('year','&date='.$today),'year',lang('This
 Year')).'</td>');
  
        if(floor(phpversion()) >= 4)
        {
!               add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner',lang('Planner')).'</td>');
                $col_width += 2;
        }
  
!       add_col($tpl,'  <td width="2%" 
align="left">'.add_image_ahref($this->page('matrixselect'),'view',lang('Daily 
Matrix View')).'</td>');
  
        add_col($tpl,'  <td width="'.(100 - $col_width).'%" 
align="left"'.(floor(phpversion()) < 4?' colspan="2"':'').'>&nbsp;</td>');





reply via email to

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