From 361c94895daf7680e54589f8379dc9d647282941 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 4 Apr 2011 22:26:19 +0200 Subject: explain opera button commands --- data/templates/editbookmark.tpl.php | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'data') diff --git a/data/templates/editbookmark.tpl.php b/data/templates/editbookmark.tpl.php index fc03a59..99afa9c 100644 --- a/data/templates/editbookmark.tpl.php +++ b/data/templates/editbookmark.tpl.php @@ -24,6 +24,10 @@ function jsEscTitleDouble($title) { return addcslashes(addcslashes($title, "'"), "'\\"); } +function fixOperaButtonName($name) { + //yes, opera has problems with double quotes in button names + return str_replace('"', "''", $name); +} if (is_array($row['tags'])) { $row['tags'] = implode(', ', $row['tags']); @@ -249,10 +253,6 @@ if (browser == "Opera") { + '
  • ' + ''.replace('SELECTION', selection) -- cgit v1.2.3