phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc/class.db_pgsql.inc.php, 1.30.2.1.2.10


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

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

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

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/inc/class.db_pgsql.inc.php
diff -u phpgwapi/inc/class.db_pgsql.inc.php:1.30.2.1.2.9 
phpgwapi/inc/class.db_pgsql.inc.php:1.30.2.1.2.10
--- phpgwapi/inc/class.db_pgsql.inc.php:1.30.2.1.2.9    Mon Jun 28 07:08:09 2004
+++ phpgwapi/inc/class.db_pgsql.inc.php Sat Nov  6 15:34:26 2004
@@ -232,7 +232,7 @@
                        
                        if ($this->Debug)
                        {
-                               printf("Debug: query = %s<br>\n", 
$Query_String);
+                               printf("Debug: query = %s<br />\n", 
$Query_String);
                        } 
 
                        $this->Query_ID = @pg_Exec($this->Link_ID, 
$Query_String);
@@ -281,7 +281,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);
@@ -584,8 +584,8 @@
                        }
                        else
                        {
-                               $s = sprintf("<b>Database error:</b> %s<br>\n", 
$msg);
-                               $s .= sprintf("<b>PostgreSQL Error</b>: %s 
(%s)<br>\n",$this->Errno,$this->Error);
+                               $s = sprintf("<b>Database error:</b> %s<br 
/>\n", $msg);
+                               $s .= sprintf("<b>PostgreSQL Error</b>: %s 
(%s)<br />\n",$this->Errno,$this->Error);
                        }
 
                        if ($file)
@@ -596,7 +596,7 @@
                                }
                                else
                                {
-                                       $s .=   sprintf("<br><b>File:</b> 
%s",$file);
+                                       $s .=   sprintf("<br /><b>File:</b> 
%s",$file);
                                }
                        }
 
@@ -608,7 +608,7 @@
                                }
                                else
                                {
-                                       $s .=   sprintf("<br><b>Line:</b> 
%s",$line);
+                                       $s .=   sprintf("<br /><b>Line:</b> 
%s",$line);
                                }
                        }
 
@@ -704,8 +704,8 @@
                        if($outval != 0) 
                        {
                                // either the rights are not available or the 
postmaster is not running .... 
-                               echo 'database creation failure <BR>';
-                               echo 'please setup the postreSQL database 
manually<BR>';
+                               echo 'database creation failure <br />';
+                               echo 'please setup the postreSQL database 
manually<br />';
                        }*/
                        
                        $this->query("CREATE DATABASE $currentDatabase");




reply via email to

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