phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc/class.db_sapdb.inc.php, 1.1.2.4


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.db_sapdb.inc.php, 1.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.db_sapdb.inc.php

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

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/inc/class.db_sapdb.inc.php
diff -u phpgwapi/inc/class.db_sapdb.inc.php:1.1.2.3 
phpgwapi/inc/class.db_sapdb.inc.php:1.1.2.4
--- phpgwapi/inc/class.db_sapdb.inc.php:1.1.2.3 Mon Jun 28 07:08:09 2004
+++ phpgwapi/inc/class.db_sapdb.inc.php Sat Nov  6 15:34:26 2004
@@ -186,7 +186,7 @@
 
                        if ($this->Debug)
                        {
-                               printf("Debug: query = %s<br>\n", 
$Query_String);
+                               printf("Debug: query = %s<br />\n", 
$Query_String);
                        }
 
                        $this->Query_ID = 
@odbc_exec($this->Link_ID,$Query_String);
@@ -241,7 +241,7 @@
 
                        if ($this->Debug)
                        {
-                               printf("Debug: limit_query = %s<br>offset=%d, 
num_rows=%d<br>\n", $Query_String, $offset, $num_rows);
+                               printf("Debug: limit_query = %s<br />offset=%d, 
num_rows=%d<br />\n", $Query_String, $offset, $num_rows);
                        }
 
                        return $this->query($Query_String, $line, $file);
@@ -464,7 +464,7 @@
                                                        $i=$j;
                                                }
                                        }
-                                       //printf("$i $j $k <br>");
+                                       //printf("$i $j $k <br />");
                                }
                                $num_rows=$i;
                        }
@@ -599,11 +599,11 @@
 
                        if ($file)
                        {
-                               printf("<br><b>File:</b> %s",$file);
+                               printf("<br /><b>File:</b> %s",$file);
                        }
                        if ($line)
                        {
-                               printf("<br><b>Line:</b> %s",$line);
+                               printf("<br /><b>Line:</b> %s",$line);
                        }
 
                        if ($this->Halt_On_Error != "report")
@@ -621,10 +621,10 @@
          */
                function haltmsg($msg)
                {
-                       printf("<b>Database error:</b> %s<br>\n", $msg);
+                       printf("<b>Database error:</b> %s<br />\n", $msg);
                        if ($this->Errno != "0" && $this->Error != "()")
                        {
-                               printf("<b>ODBC Error</b>: %s 
(%s)<br>\n",$this->Errno,$this->Error);
+                               printf("<b>ODBC Error</b>: %s (%s)<br 
/>\n",$this->Errno,$this->Error);
                        }
                }
 




reply via email to

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