phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc/class.interserver.inc.php, 1.21.2.1.2.4


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.interserver.inc.php, 1.21.2.1.2.4
Date: Sat, 6 Nov 2004 16:34:26 +0100

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

date: 2004/11/06 15:34:26;  author: powerstat;  state: Exp;  lines: +11 -11

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/inc/class.interserver.inc.php
diff -u phpgwapi/inc/class.interserver.inc.php:1.21.2.1.2.3 
phpgwapi/inc/class.interserver.inc.php:1.21.2.1.2.4
--- phpgwapi/inc/class.interserver.inc.php:1.21.2.1.2.3 Tue Feb 10 13:51:18 2004
+++ phpgwapi/inc/class.interserver.inc.php      Sat Nov  6 15:34:26 2004
@@ -190,12 +190,12 @@
                        $v = $r->value();
                        if (!$r->faultCode())
                        {
-                               $this->debug('<hr>I got this value 
back<br><pre>' . htmlentities($r->serialize()) . '</pre><hr>',$debug);
+                               $this->debug('<hr />I got this value back<br 
/><pre>' . htmlentities($r->serialize()) . '</pre><hr />',$debug);
                                $this->result = phpgw_xmlrpc_decode($v);
                        }
                        else
                        {
-                               $this->debug('Fault Code: ' . $r->faultCode() . 
' Reason "' . $r->faultString() . '"<br>',$debug);
+                               $this->debug('Fault Code: ' . $r->faultCode() . 
' Reason "' . $r->faultString() . '"<br />',$debug);
                                $this->result = htmlentities($r->serialize());
                        }
                        return $this->result;
@@ -243,12 +243,12 @@
                        $v = $r->value();
                        if (!$r->faultCode())
                        {
-                               $this->debug('<hr>I got this value 
back<br><pre>' . htmlentities($r->serialize()) . '</pre><hr>',$debug);
+                               $this->debug('<hr />I got this value back<br 
/><pre>' . htmlentities($r->serialize()) . '</pre><hr />',$debug);
                                $this->result = phpgw_xmlrpc_decode($v);
                        }
                        else
                        {
-                               $this->debug('Fault Code: ' . $r->faultCode() . 
' Reason "' . $r->faultString() . '"<br>',$debug);
+                               $this->debug('Fault Code: ' . $r->faultCode() . 
' Reason "' . $r->faultString() . '"<br />',$debug);
                                $this->result = htmlentities($r->serialize());
                        }
                        return $this->result;
@@ -289,13 +289,13 @@
                        /* _debug_array($soap);exit; */
                        if($r = $soap->send($soap_message,$method_name))
                        {
-                               $this->debug('<hr>I got this value 
back<br><pre>' . htmlentities($r->serialize()) . '</pre><hr>',$debug);
+                               $this->debug('<hr />I got this value back<br 
/><pre>' . htmlentities($r->serialize()) . '</pre><hr />',$debug);
                                $this->result = $r->decode();
                                return $this->result;
                        }
                        else
                        {
-                               $this->debug('Fault Code: ' . $r->ernno . ' 
Reason "' . $r->errstring . '"<br>',$debug);
+                               $this->debug('Fault Code: ' . $r->ernno . ' 
Reason "' . $r->errstring . '"<br />',$debug);
                        }
                }
 
@@ -342,14 +342,14 @@
                        {
                                
_debug_array(htmlentities($soap->outgoing_payload));
                                
_debug_array(htmlentities($soap->incoming_payload));
-                               $this->debug('<hr>I got this value 
back<br><pre>' . htmlentities($r->serialize()) . '</pre><hr>',$debug);
+                               $this->debug('<hr />I got this value back<br 
/><pre>' . htmlentities($r->serialize()) . '</pre><hr />',$debug);
                                $this->result = $r->decode();
                                return $this->result;
                        }
                        else
                        {
                                _debug_array($soap->outgoing_payload);
-                               $this->debug('Fault Code: ' . $r->ernno . ' 
Reason "' . $r->errstring . '"<br>',$debug);
+                               $this->debug('Fault Code: ' . $r->ernno . ' 
Reason "' . $r->errstring . '"<br />',$debug);
                        }
                }
 
@@ -526,7 +526,7 @@
                        $select .= '<option value="0"';
                        if(!$server_id)
                        {
-                               $select .= ' selected';
+                               $select .= ' selected="selected"';
                        }
                        $selectlang = $local ? lang('Local') : lang('Please 
Select');
                        $select .= '>' . $selectlang . '</option>'."\n";
@@ -539,7 +539,7 @@
                                $select .= '<option value="' . 
$val['server_id'] . '"';
                                if ($val['server_id'] == $server_id)
                                {
-                                       $select .= ' selected';
+                                       $select .= ' selected="selected"';
                                }
                                $select .= '>' . $val['server_name'] . 
'</option>'."\n";
                        }




reply via email to

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