[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc/class.setup_translation.inc.php, 1.3.2.6
From: |
nomail |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc/class.setup_translation.inc.php, 1.3.2.6 |
Date: |
Sat, 6 Nov 2004 16:34:26 +0100 |
Update of /phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.setup_translation.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.setup_translation.inc.php
diff -u phpgwapi/inc/class.setup_translation.inc.php:1.3.2.5
phpgwapi/inc/class.setup_translation.inc.php:1.3.2.6
--- phpgwapi/inc/class.setup_translation.inc.php:1.3.2.5 Tue Feb 10
13:51:19 2004
+++ phpgwapi/inc/class.setup_translation.inc.php Sat Nov 6 15:34:26 2004
@@ -119,7 +119,7 @@
{
if($DEBUG)
{
- echo '<br>get_langs(): checking db...' . "\n";
+ echo '<br />get_langs(): checking db...' . "\n";
}
$GLOBALS['phpgw_setup']->db->query("SELECT
DISTINCT(lang) FROM phpgw_lang",__LINE__,__FILE__);
$langs = array();
@@ -128,7 +128,7 @@
{
if($DEBUG)
{
- echo '<br>get_langs(): found ' .
$GLOBALS['phpgw_setup']->db->f(0);
+ echo '<br />get_langs(): found ' .
$GLOBALS['phpgw_setup']->db->f(0);
}
$langs[] = $GLOBALS['phpgw_setup']->db->f(0);
}
@@ -144,7 +144,7 @@
{
if($DEBUG)
{
- echo '<br>drop_langs(): Working on: ' .
$appname;
+ echo '<br />drop_langs(): Working on: ' .
$appname;
}
$GLOBALS['phpgw_setup']->db->query("SELECT
COUNT(message_id) FROM phpgw_lang WHERE app_name='$appname'",__LINE__,__FILE__);
$GLOBALS['phpgw_setup']->db->next_record();
@@ -171,7 +171,7 @@
if($DEBUG)
{
- echo '<br>add_langs(): chose these langs: ';
+ echo '<br />add_langs(): chose these langs: ';
_debug_array($langs);
}
@@ -181,14 +181,14 @@
{
if($DEBUG)
{
- echo '<br>add_langs(): Working on: ' .
$lang . ' for ' . $appname;
+ echo '<br />add_langs(): Working on: '
. $lang . ' for ' . $appname;
}
$appfile = PHPGW_SERVER_ROOT . SEP . $appname .
SEP . 'setup' . SEP . 'phpgw_' . strtolower($lang) . '.lang';
if(file_exists($appfile))
{
if($DEBUG)
{
- echo '<br>add_langs():
Including: ' . $appfile;
+ echo '<br />add_langs():
Including: ' . $appfile;
}
$raw_file = file($appfile);
@@ -196,7 +196,7 @@
{
list($message_id,$app_name,$GLOBALS['phpgw_setup']->db_lang,$content) =
explode("\t",$line);
$message_id =
$GLOBALS['phpgw_setup']->db->db_addslashes(chop(substr($message_id,0,MAX_MESSAGE_ID_LENGTH)));
- /* echo '<br>APPNAME:' .
$app_name . ' PHRASE:' . $message_id; */
+ /* echo '<br />APPNAME:' .
$app_name . ' PHRASE:' . $message_id; */
$app_name =
$GLOBALS['phpgw_setup']->db->db_addslashes(chop($app_name));
$GLOBALS['phpgw_setup']->db_lang =
$GLOBALS['phpgw_setup']->db->db_addslashes(chop($GLOBALS['phpgw_setup']->db_lang));
$content =
$GLOBALS['phpgw_setup']->db->db_addslashes(chop($content));
@@ -211,7 +211,7 @@
{
if($DEBUG)
{
- echo
"<br>add_langs(): adding - INSERT INTO phpgw_lang VALUES
('$message_id','$app_name','"
+ echo
"<br />add_langs(): adding - INSERT INTO phpgw_lang VALUES
('$message_id','$app_name','"
. $GLOBALS['phpgw_setup']->db_lang . "','$content')";
}
$GLOBALS['phpgw_setup']->db->query("INSERT INTO phpgw_lang VALUES
('$message_id','$app_name','"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc/class.setup_translation.inc.php, 1.3.2.6,
nomail <=