phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] calendar/inc/class.uicalendar.inc.php, 1.66.2.55.2.27


From: nomail
Subject: [Phpgroupware-cvs] calendar/inc/class.uicalendar.inc.php, 1.66.2.55.2.27
Date: Sat, 6 Nov 2004 17:13:42 +0100

Update of /calendar/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.uicalendar.inc.php

date: 2004/11/06 16:13:42;  author: powerstat;  state: Exp;  lines: +14 -14

Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: calendar/inc/class.uicalendar.inc.php
diff -u calendar/inc/class.uicalendar.inc.php:1.66.2.55.2.26 
calendar/inc/class.uicalendar.inc.php:1.66.2.55.2.27
--- calendar/inc/class.uicalendar.inc.php:1.66.2.55.2.26        Fri Jun 18 
13:55:39 2004
+++ calendar/inc/class.uicalendar.inc.php       Sat Nov  6 16:13:42 2004
@@ -1330,7 +1330,7 @@
                                        'endtime'       => 0,
                                        'participants'  => 
$event['participants']
                                )
-                       ).'<br>';
+                       ).'<br />';
 
                        $event = $this->bo->read_entry($_GET['cal_id']);
                        $this->view_event($event);
@@ -1536,7 +1536,7 @@
                                                                        
'menuaction' => 'calendar.uicalendar.add',
                                                                        'date' 
=> $date
                                                                ) + $add_owner
-                                                       
).'">'.$dayname.'<br>'.$d.'</a>';
+                                                       ).'">'.$dayname.'<br 
/>'.$d.'</a>';
                                }
                                $this->planner_days += $days;
                        }
@@ -2118,7 +2118,7 @@
                        {
                                case 'free/busy':
                                        $freetime = 
$GLOBALS['phpgw']->datetime->gmtdate(mktime(0,0,0,$this->bo->month,$this->bo->day,$this->bo->year));
-                                       echo '<br>'.$this->timematrix(
+                                       echo '<br />'.$this->timematrix(
                                                Array(
                                                        'date'          => 
$freetime,
                                                        'starttime'     => 
$this->bo->splittime('000000',False),
@@ -2128,7 +2128,7 @@
                                        );
                                        break;
                                case 'weekly':
-                                       echo '<br>'.$this->display_weekly(
+                                       echo '<br />'.$this->display_weekly(
                                                Array(
                                                        'date'          => 
sprintf("%04d%02d%02d",$this->bo->year,$this->bo->month,$this->bo->day),
                                                        'showyear'      => true,
@@ -2137,7 +2137,7 @@
                                        );
                                        break;
                        }
-                       echo "\n<br>\n".'<form 
action="'.$this->page('viewmatrix').'" method="post" name="matrixform">'."\n";
+                       echo "\n<br />\n".'<form 
action="'.$this->page('viewmatrix').'" method="post" name="matrixform">'."\n";
                        echo ' <table cellpadding="5"><tr><td>'."\n";
                        echo '  <input type="hidden" name="year" 
value="'.$this->bo->year.'">'."\n";
                        echo '  <input type="hidden" name="month" 
value="'.$this->bo->month.'">'."\n";
@@ -2398,7 +2398,7 @@
                                {
                                        $begin = $sun + (7*24*60*60 * $i) + 
12*60*60;   // we use midday, that changes in daylight-saveing does not effect 
us
                                        $end = $begin + 6*24*60*60;
-//                                     echo "<br>$i: ".date('d.m.Y 
H:i',$begin).' - '.date('d.m.Y H:i',$end);
+//                                     echo "<br />$i: ".date('d.m.Y 
H:i',$begin).' - '.date('d.m.Y H:i',$end);
                                        $str .= '<option value="' . 
$GLOBALS['phpgw']->common->show_date($begin,'Ymd') . '"'.($begin <= $thisdate 
&& $end >= $thisdate?' selected':'').'>'
                                           . 
$GLOBALS['phpgw']->common->show_date($begin,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'])
 . ' - '
                                           . 
$GLOBALS['phpgw']->common->show_date($end,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
@@ -3151,7 +3151,7 @@
                                         $vars['participants']['data'][$user] = 
$parts[1].' (<a 
href="'.$this->page('edit_status','&cal_id='.$event['id'].'&owner='.$user).'">'.$parts[2].'</a>)';
                                }
                        }
-                       $vars['participants']['data'] = 
implode("<br>\n",$vars['participants']['data']);
+                       $vars['participants']['data'] = implode("<br 
/>\n",$vars['participants']['data']);
                        
                        foreach($vars as $var)
                        {
@@ -3284,7 +3284,7 @@
                                        
print_debug('Time',$GLOBALS['phpgw']->common->show_date($this->bo->maketime($events[$i]['start'])
 - $GLOBALS['phpgw']->datetime->tz_offset).' - 
'.$GLOBALS['phpgw']->common->show_date($this->bo->maketime($events[$i]['end']) 
- $GLOBALS['phpgw']->datetime->tz_offset));
                                        print_debug('Slot',$slot);
                                }
-                               //echo "rows=<pre>"; print_r($rows); echo 
"<br>row_span="; print_r($row_span); echo "</pre>\n";
+                               //echo "rows=<pre>"; print_r($rows); echo "<br 
/>row_span="; print_r($row_span); echo "</pre>\n";
                        }
                        $holiday_names = $daily[$date_to_eval]['holidays'];
                        if(!$holiday_names)
@@ -3385,7 +3385,7 @@
                        $pix = 
$GLOBALS['phpgw']->common->image('calendar','pix');
 
                        $str = 
'<center>'.lang($GLOBALS['phpgw']->common->show_date($date['raw'],'l'))
-                               . ', '.$this->bo->long_date($date).'<br>'
+                               . ', '.$this->bo->long_date($date).'<br />'
                                . '<table width="85%" border="0" 
cellspacing="0" cellpadding="0" cols="'.((24 * $interval) + 1).'">'
                                . '<tr><td height="1" colspan="'.((24 * 
$interval) + 1).'" bgcolor="black"><img src="'.$pix.'"></td></tr>'
                                . '<tr><td width="15%"><font 
color="'.$this->theme['bg_text'].'" face="'.$this->theme['font'].'" 
size="-2">'.lang('Participant').'</font></td>';
@@ -3393,7 +3393,7 @@
                        {
                                for($j=0;$j<$interval;$j++)
                                {
-                                       $k = ($j == 0 ? 
sprintf('%02d',$i).'<br>':'').sprintf('%02d',$j*$increment);
+                                       $k = ($j == 0 ? sprintf('%02d',$i).'<br 
/>':'').sprintf('%02d',$j*$increment);
                                        
                                        $str .= '<td align="left" 
bgcolor="'.$this->theme['bg_color'].'"><font 
color="'.$phpgw_info['theme']['bg_text'].'" face="'.$this->theme['font'].'" 
size="-2">'
                                                . '<a 
href="'.$this->page('add','&date='.$date['full'].'&hour='.$i.'&minute='.(interval
 * $j))."\" onMouseOver=\"window.status='".$i.':'.(($increment * 
$j)<=9?'0':'').($increment * $j)."'; return true;\">"
@@ -3748,7 +3748,7 @@
                                  $part .= $id;
                                  $ext_disp .= '(FIXME: 
b_OR_h)'.$contact['name']."\n";
                                }
-                               $ext_disp .= '</textarea>'."\n".'<br>';
+                               $ext_disp .= '</textarea>'."\n".'<br />';
 
                                $url = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'calendar.uiextpartlist.modify'));
                                // $url = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'calendar.uicalendar.modify_ext_partlist'));
@@ -3886,10 +3886,10 @@
                        foreach ($this->bo->rpt_day as $mask => $name)
                        {
                                $boxes .= '<input type="checkbox" 
name="cal[rpt_day][]" value="'.$mask.'"'.($event['recur_data'] & $mask ? ' 
checked' : '').'>&nbsp;'.lang($name)."\n";
-                               if (++$i == 5) $boxes .= '<br>';
+                               if (++$i == 5) $boxes .= '<br />';
                        }
                        $var['recure_day'] = Array(
-                               'field' => lang('Repeat Day').'<br>'.lang('(for 
weekly)'),
+                               'field' => lang('Repeat Day').'<br 
/>'.lang('(for weekly)'),
                                'data'  => $boxes
                        );
 




reply via email to

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