[PC-BSD Commits] r1771 - in websites/pbidir.com/bibivu: etc/lang/de etc/lang/nl slib/db

svn at pcbsd.org svn at pcbsd.org
Fri Apr 25 05:11:59 PDT 2008


Author: fabry
Date: 2008-04-25 05:11:58 -0700 (Fri, 25 Apr 2008)
New Revision: 1771

Modified:
   websites/pbidir.com/bibivu/etc/lang/de/pbi.lang.php
   websites/pbidir.com/bibivu/etc/lang/nl/page.lang.php
   websites/pbidir.com/bibivu/slib/db/mysql.php
Log:
fixed a warning message on the database library

languages corrections

Modified: websites/pbidir.com/bibivu/etc/lang/de/pbi.lang.php
===================================================================
--- websites/pbidir.com/bibivu/etc/lang/de/pbi.lang.php	2008-04-25 02:10:16 UTC (rev 1770)
+++ websites/pbidir.com/bibivu/etc/lang/de/pbi.lang.php	2008-04-25 12:11:58 UTC (rev 1771)
@@ -38,6 +38,6 @@
 $lang['web_interface'] = 'Web Interface';
 $lang['command_line_interface'] = 'Kommandozeile';
 
-$lang['offsite_download'] = 'Click here to download';	//followed by PBI name
+$lang['offsite_download'] = 'Klicke hier zum Download von';	//followed by PBI name
 
 ?>
\ No newline at end of file

Modified: websites/pbidir.com/bibivu/etc/lang/nl/page.lang.php
===================================================================
--- websites/pbidir.com/bibivu/etc/lang/nl/page.lang.php	2008-04-25 02:10:16 UTC (rev 1770)
+++ websites/pbidir.com/bibivu/etc/lang/nl/page.lang.php	2008-04-25 12:11:58 UTC (rev 1771)
@@ -1,8 +1,8 @@
 <?php
 //pages messages strings
-$lang['contact_us_title'] = 'Contact Us';
+$lang['contact_us_title'] = 'Neem contact met on op';
 $lang['contact_us_body'] = 'U kunt op <a href="http://www.pcbsd.org/content/view/18/32/">the PC-BSD web site</a> contact met ons opnemen.';
 $lang['contact_us_signature'] = 'Het PC-BSD Team.';
 
-$lang['site_developers_title'] = 'Web Developers';
+$lang['site_developers_title'] = 'Webontwikkelaars';
 ?>
\ No newline at end of file

Modified: websites/pbidir.com/bibivu/slib/db/mysql.php
===================================================================
--- websites/pbidir.com/bibivu/slib/db/mysql.php	2008-04-25 02:10:16 UTC (rev 1770)
+++ websites/pbidir.com/bibivu/slib/db/mysql.php	2008-04-25 12:11:58 UTC (rev 1771)
@@ -28,6 +28,7 @@
 updated on: 08/22/2006 - v.1.10		- added get_total_time() to get $this->total_time
 updated on: 08/22/2006 - v.1.11		- added an extra value to SQL_CACHE: 2 = strip out SQL_CACHE from statement
 updated on: 09/02/2007 - v.1.12		- added function set_variables
+updated on: 09/02/2007 - v.1.13		- fixed a warning message
 
 
 this class is one of the many classes to access the MYSQL database.
@@ -430,7 +431,7 @@
 			$messagehtml.='Date                : '.date('d.m.Y @ H:i').'<br />';
 			$messagehtml.='Page                : http'.(isset($_SERVER['HTTPS'])?'s':'').'://'.(isset($_SERVER['SERVER_NAME'])?$_SERVER['SERVER_NAME']:'').(isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'').'<br />';
 			$messagehtml.='Referrer            : '.(isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'').'<br />';
-			$messagehtml.='USER IP             : '.$_SERVER['REMOTE_ADDR'].'<br />';
+			$messagehtml.='USER IP             : '.(isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:'').'<br />';
 	
 			$message	='Error in the DB in '.$this->appname.': '.$msg."\n";
 			$message	.='error mySQL         : '.$this->errdesc."\n";
@@ -438,7 +439,7 @@
 			$message	.='Date                : '.date('d.m.Y @ H:i')."\n";
 			$message 	.='Page                : http'.(isset($_SERVER['HTTPS'])?'s':'').'://'.(isset($_SERVER['SERVER_NAME'])?$_SERVER['SERVER_NAME']:'').(isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'')."\n";
 			$message 	.='Referrer            : '.(isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'')."\n";
-			$message	.='USER IP             : '.$_SERVER['REMOTE_ADDR']."\n";
+			$message	.='USER IP             : '.(isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:'')."\n";
 	
 			if($this->show_error==1){
 				echo $messagehtml;



More information about the Commits mailing list