addslashes() not needed - handled by JSON encoding
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 29 Jul 2010 16:25:30 +0000 (10:25 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 29 Jul 2010 17:27:58 +0000 (11:27 -0600)
kronolith/templates/javascript_defs.php

index e5402cb..c6a6552 100644 (file)
@@ -15,11 +15,11 @@ $var = array(
 );
 
 /* Gettext strings used in core javascript files. */
-$gettext = array_map('addslashes', array(
+$gettext = array(
     'close' => _("Close"),
     'enddate_error' => _("The end date must be later than the start date."),
     'loading' => _("Loading ..."),
-));
+);
 
 ?>
 <script type="text/javascript">//<![CDATA[