From a3309daf20daa4cc90aaf2a879732e41f548bffc Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 9 Feb 2001 20:41:12 +0000 Subject: [PATCH] * Helping out with the "me" to 'you' changes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1100 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/options_highlight.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/options_highlight.php b/src/options_highlight.php index 3cc2ea7d..c3f22447 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -39,8 +39,8 @@ } else if ($action == 'save') { if (!$theid) $theid = 0; $identname = ereg_replace(',', ' ', $identname); - $identname = str_replace("\\\\", "\\", $identname); - $identname = str_replace("\\\"", '"', $identname); + $identname = str_replace('\\\\', '\\', $identname); + $identname = str_replace('\\"', '"', $identname); $identname = str_replace('"', '"', $identname); if ($color_type == 1) $newcolor = $newcolor_choose; else $newcolor = $newcolor_input; @@ -49,8 +49,8 @@ $newcolor = ereg_replace('#', '', $newcolor); $newcolor = "$newcolor"; $value = ereg_replace(',', ' ', $value); - $value = str_replace("\\\\", "\\", $value); - $value = str_replace("\\\"", '"', $value); + $value = str_replace('\\\\', '\\', $value); + $value = str_replace('\\"', '"', $value); $value = str_replace('"', '"', $value); setPref($data_dir, $username, "highlight$theid", $identname.','.$newcolor.','.$value.','.$match_type); @@ -142,8 +142,8 @@ $disp = $message_highlight_list[$theid]['name']; else $disp = ''; - $disp = str_replace("\\\\", "\\", $disp); - $disp = str_replace("\\\"", '"', $disp); + $disp = str_replace('\\\\', '\\', $disp); + $disp = str_replace('\\"', '"', $disp); $disp = str_replace('"', '"', $disp); echo " "; echo " \n"; @@ -197,8 +197,8 @@ $disp = $message_highlight_list[$theid]['value']; else $disp = ''; - $disp = str_replace("\\\\", "\\", $disp); - $disp = str_replace("\\\"", '"', $disp); + $disp = str_replace('\\\\', '\\', $disp); + $disp = str_replace('\\"', '"', $disp); $disp = str_replace('"', '"', $disp); echo ' '; echo " \n"; -- 2.25.1