From 2fb7c49f176c85ab5c1a0c15564961b1f37d9d9d Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 6 May 2003 16:06:56 +0000 Subject: [PATCH] Undoing an accidental check-in. These were some experiments trying to solve a Windows problem (not successful yet). --- admin/lang.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/admin/lang.php b/admin/lang.php index 9605cb1785..763c3fe23b 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -176,9 +176,6 @@ } echo ""; foreach ($enstring as $key => $envalue) { - $envalue = trim($envalue); - $envalue = str_replace("\n\r\n\r","\n",$envalue); - $envalue = str_replace("\n\n","\n",$envalue); $envalue = nl2br(htmlspecialchars($envalue)); $envalue = preg_replace('/(\$a\-\>[a-zA-Z0-9]*|\$a)/', '$0', $envalue); // Make variables bold. $envalue = str_replace("%%","%",$envalue); @@ -187,13 +184,7 @@ echo ""; echo ""; - $value = $string[$key]; - $value = trim($value); - $value = str_replace("\n\r","\n",$value); - $value = str_replace("\n\n","\n",$value); - $value = str_replace("\n\n","\n",$value); - $value = str_replace("\n\n","\n",$value); - $value = str_replace("\\","",$value); // Delete all slashes + $value = str_replace("\\","",$string[$key]); // Delete all slashes $value = str_replace("%%","%",$value); $value = htmlspecialchars($value); -- 2.39.5
cellheading\" NOWRAP VALIGN=TOP>$keycellheading\" VALIGN=TOP>$envalue