From 70b78284567d2aa4512befaeb89d1df21b31e7ee Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 3 Jun 2009 11:32:59 -0600 Subject: [PATCH] Unneeded addslashes --- imp/templates/javascript_defs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/templates/javascript_defs.php b/imp/templates/javascript_defs.php index 93945db75..7123bc536 100644 --- a/imp/templates/javascript_defs.php +++ b/imp/templates/javascript_defs.php @@ -19,7 +19,7 @@ $code = array( ), /* Gettext strings used in core javascript files. */ - 'text' => array_map('addslashes', array( + 'text' => array( /* Strings used in compose.js */ 'compose_cancel' => _("Cancelling this message will permanently discard its contents.") . "\n" . _("Are you sure you want to do this?"), 'compose_discard' => _("Doing so will discard this message permanently."), @@ -70,7 +70,7 @@ $code = array( 'notspam_report' => _("Are you sure you wish to report this message as innocent?"), 'newfolder' => _("You are copying/moving to a new folder.") . "\n" . _("Please enter a name for the new folder:") . "\n", 'target_mbox' => _("You must select a target mailbox first."), - )) + ) ); echo IMP::wrapInlineScript(array('var IMP = ' . Horde_Serialize::serialize($code, Horde_Serialize::JSON, NLS::getCharset()) . ';')); -- 2.11.0