diff --git a/data/templates/editbookmark.tpl.php b/data/templates/editbookmark.tpl.php index 8a08717..c58bd1b 100644 --- a/data/templates/editbookmark.tpl.php +++ b/data/templates/editbookmark.tpl.php @@ -17,6 +17,11 @@ switch ($row['bStatus']) { } $this->includeTemplate("dojo.inc"); + +function jsEscTitle($title) +{ + return addcslashes($title, "'"); +} ?> @@ -137,11 +142,11 @@ if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) { var browser=navigator.appName; if (browser == "Opera") { - document.write(":
"); + document.write(':'); } else { - document.write(":"); + document.write(':'); } var selection = ''; if (window.getSelection) { @@ -154,13 +159,13 @@ if (window.getSelection) { document.write('