From: Christian Weiske Date: Mon, 4 Apr 2011 20:26:19 +0000 (+0200) Subject: explain opera button commands X-Git-Tag: v0.98.0~93 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=361c94895daf7680e54589f8379dc9d647282941;p=semanticscuttle.git explain opera button commands --- 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)