phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.28,


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.28,1.71.2.29
Date: Wed, 20 Nov 2002 18:52:43 -0500

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

Modified Files:
      Tag: Version-0_9_14-branch
        class.bocalendar.inc.php 
Log Message:
small change to enable the label of the accept,reject,... notification to be 
tranlated, added the Start- and Enddate


Index: class.bocalendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.bocalendar.inc.php,v
retrieving revision 1.71.2.28
retrieving revision 1.71.2.29
diff -C2 -r1.71.2.28 -r1.71.2.29
*** class.bocalendar.inc.php    16 Nov 2002 22:00:02 -0000      1.71.2.28
--- class.bocalendar.inc.php    20 Nov 2002 23:52:41 -0000      1.71.2.29
***************
*** 2080,2083 ****
--- 2080,2084 ----
                        {
                                $new_event_datetime = 
$this->maketime($new_event['start']) - $GLOBALS['phpgw']->datetime->tz_offset;
+                               $new_event_datetime_end = 
$this->maketime($new_event['end']) - $GLOBALS['phpgw']->datetime->tz_offset;
                        }
  
***************
*** 2141,2144 ****
--- 2142,2146 ----
                                        {
                                                $new_event_date = 
$GLOBALS['phpgw']->common->show_date($new_event_datetime);
+                                               $new_event_end = 
$GLOBALS['phpgw']->common->show_date($new_event_datetime_end);
                                        }
                                
***************
*** 2168,2171 ****
--- 2170,2174 ----
                                                        $action_date = 
$old_event_date;
                                                        $body = 'On 
'.$GLOBALS['phpgw']->common->show_date(time() - 
$GLOBALS['phpgw']->datetime->tz_offset).' 
'.$GLOBALS['phpgw']->common->grab_owner_name($GLOBALS['phpgw_info']['user']['account_id']).'
 '.$action.' your meeting request for '.$old_event_date;
+                                                       $body = lang('On %1 %2 
%3 your meeting request for %4',$GLOBALS['phpgw']->common->show_date(time() - 
$GLOBALS['phpgw']->datetime->tz_offset),$GLOBALS['phpgw']->common->grab_owner_name($GLOBALS['phpgw_info']['user']['account_id']),lang($action),$old_event_date);
                                                        
$event_head=$old_event['title'];
                                                        
$event_description=$old_event['description'];
***************
*** 2177,2180 ****
--- 2180,2184 ----
                                                $body .= 
"\n\n".'***'.lang('Please confirm,accept,reject or examine changes in the 
corresponding entry in your calendar').'***'."\n\n"
                                                        . '----'.lang('Event 
Details Follow').'----';
+                                               $body .= ($new_event_date ? 
"\n\n".lang('Start- and Enddates').":\n".$new_event_date.' -- '. $new_event_end 
: '');
                                                $body .= 
($event_head?"\n\n".lang('TITLE').':'."\n".'        '.$event_head:'');
                                                $body .= 
($event_description?"\n\n".lang('DESCRIPTION').':'."\n".'        
'.$event_description:'');





reply via email to

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