phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] calendar/inc/class.bocalendar.inc.php, 1.71.2.33.2.28


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

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

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

Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: calendar/inc/class.bocalendar.inc.php
diff -u calendar/inc/class.bocalendar.inc.php:1.71.2.33.2.27 
calendar/inc/class.bocalendar.inc.php:1.71.2.33.2.28
--- calendar/inc/class.bocalendar.inc.php:1.71.2.33.2.27        Sat Sep  4 
05:25:29 2004
+++ calendar/inc/class.bocalendar.inc.php       Sat Nov  6 16:13:42 2004
@@ -1144,10 +1144,10 @@
                */
                function participants_not_rejected($participants,$event)
                {
-                       //echo "participants_not_rejected()<br>participants 
=<pre>"; print_r($participants); echo "</pre><br>event[participants]=<pre>"; 
print_r($event['participants']); echo "</pre>\n";
+                       //echo "participants_not_rejected()<br />participants 
=<pre>"; print_r($participants); echo "</pre><br />event[participants]=<pre>"; 
print_r($event['participants']); echo "</pre>\n";
                        foreach($participants as $uid => $status)
                        {
-                               //echo "testing event[participants][uid=$uid] = 
'".$event['participants'][$uid]."'<br>\n";
+                               //echo "testing event[participants][uid=$uid] = 
'".$event['participants'][$uid]."'<br />\n";
                                if (isset($event['participants'][$uid]) && 
$event['participants'][$uid] != 'R' &&
                                    $status != 'R')
                                {
@@ -1244,7 +1244,7 @@
                                                }
                                                if($this->debug)
                                                {
-                                                       echo '<!-- Item found: 
'.$found.' -->'."<br>\n";
+                                                       echo '<!-- Item found: 
'.$found.' -->'."<br />\n";
                                                }
                                                if(!$found)
                                                {
@@ -2441,12 +2441,12 @@
                                                        break;
                                        }
                                        $returncode = 
$send->msg('email',$to,$subject,$body,''/*$msgtype*/,'','','',$sender, 
$content_type/*,$boundary*/);
-                                       //echo "<p>send(to='$to', 
sender='$sender'<br>subject='$subject') 
returncode=$returncode<br>".nl2br($body)."</p>\n";
+                                       //echo "<p>send(to='$to', 
sender='$sender'<br />subject='$subject') returncode=$returncode<br 
/>".nl2br($body)."</p>\n";
                                        
                                        if (!$returncode)       // not nice, 
but better than failing silently
                                        {
-                                               echo 
'<p><b>bocalendar::send_update</b>: '.lang("Failed sending message to '%1' #%2 
subject='%3', sender='%4' !!!",$to,$userid,htmlspecialchars($subject), 
$sender)."<br>\n";
-                                               echo 
'<i>'.$send->err['desc']."</i><br>\n";
+                                               echo 
'<p><b>bocalendar::send_update</b>: '.lang("Failed sending message to '%1' #%2 
subject='%3', sender='%4' !!!",$to,$userid,htmlspecialchars($subject), 
$sender)."<br />\n";
+                                               echo 
'<i>'.$send->err['desc']."</i><br />\n";
                                                echo lang('This is mostly 
caused by a not or wrongly configured SMTP server. Notify your 
administrator.')."</p>\n";
                                                echo '<p>'.lang('Click %1here%2 
to return to the calendar.','<a 
href="'.$GLOBALS['phpgw']->link('/calendar/').'">','</a>')."</p>\n";
                                        }
@@ -2637,7 +2637,7 @@
 
                function _debug_array($data)
                {
-                       echo '<br>UI:';
+                       echo '<br />UI:';
                        _debug_array($data);
                }
                
@@ -2719,7 +2719,7 @@
                /*!
                @function event2array
                @abstract create array with name, translated name and readable 
content of each attributes of an event
-               @syntax event2array($event,$sep='<br>')
+               @syntax event2array($event,$sep='<br />')
                @param $event event to use
                @returns array of attributes with fieldname as key and array 
with the 'field'=translated name \
                        'data' = readable content (for participants this is an 
array !)
@@ -2805,7 +2805,7 @@
                                {
                                        
if($GLOBALS['phpgw']->accounts->exists($event['groups'][$i]))
                                        {
-                                               $cal_grps .= 
($i>0?'<br>':'').$GLOBALS['phpgw']->accounts->id2name($event['groups'][$i]);
+                                               $cal_grps .= ($i>0?'<br 
/>':'').$GLOBALS['phpgw']->accounts->id2name($event['groups'][$i]);
                                        }
                                }
 




reply via email to

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