From: Michael M Slusarz Date: Wed, 3 Jun 2009 17:32:59 +0000 (-0600) Subject: Unneeded addslashes X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=70b78284567d2aa4512befaeb89d1df21b31e7ee;p=horde.git Unneeded addslashes --- 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()) . ';'));