[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] developer_tools/inc class.uilangfile.inc.php, 1.10.2.
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] developer_tools/inc class.uilangfile.inc.php, 1.10.2.1.2.10 |
Date: |
Wed, 20 Apr 2005 16:18:00 +0200 |
Update of developer_tools/inc
Modified Files:
Branch: Version-0_9_16-branch
class.uilangfile.inc.php lines: +6 -6
Log Message:
better fix for #9047 (include adding of missing phrases)
====================================================
Index: developer_tools/inc/class.uilangfile.inc.php
diff -u developer_tools/inc/class.uilangfile.inc.php:1.10.2.1.2.9
developer_tools/inc/class.uilangfile.inc.php:1.10.2.1.2.10
--- developer_tools/inc/class.uilangfile.inc.php:1.10.2.1.2.9 Tue Jul 27
08:00:10 2004
+++ developer_tools/inc/class.uilangfile.inc.php Wed Apr 20 14:18:47 2005
@@ -392,8 +392,7 @@
{
if($_mess)
{
- // You need to strip the
message ! in case of magic quote ? Caeies. btw English people should never add
this kind of problem ... :)
- $_mess =
stripslashes(strtolower(trim($this->recode_id($_mess))));
+ $_mess =
$this->recode_id($_mess);
$this->bo->source_langarray[$_mess]['app_name'] = $_app;
$this->bo->target_langarray[$_mess]['app_name'] = $_app;
}
@@ -403,7 +402,7 @@
if($_mess && $_cont)
{
// You need to strip the
message ! in case of magic quote ? Caeies. btw English people should never add
this kind of problem ... :)
- $_mess =
stripslashes(strtolower(trim($this->recode_id($_mess))));
+ $_mess =
$this->recode_id($_mess);
//Known issue: if a message
containing a ] is used as index of array, when the array is posted the index
gets truncated;
$this->bo->target_langarray[$_mess]['message_id'] = $_mess;
//POST method adds slashes
@@ -420,7 +419,7 @@
if($_checked == 'on')
{
// You need to strip the
message ! in case of magic quote ? Caeies. btw English people should never add
this kind of problem ... :)
- $_mess =
stripslashes(strtolower(trim($this->recode_id($_mess))));
+ $_mess =
$this->recode_id($_mess);
unset($this->bo->source_langarray[$_mess]);
unset($this->bo->target_langarray[$_mess]);
}
@@ -507,7 +506,8 @@
function recode_id($id)
{
- return
str_replace(array('%5B','%5D'),array('[',']'),$id); // & + " are
recode by php
+ // You need to strip the message ! in case of magic
quote ? Caeies. btw English people should never add this kind of problem ... :)
+ return
strtolower(trim(stripslashes(str_replace(array('%5B','%5D'),array('[',']'),$id))));
// & + " are recode by php
}
function save($which,$userlang)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] developer_tools/inc class.uilangfile.inc.php, 1.10.2.1.2.10,
Caeies <=