diff --git a/data/templates/editbookmark.tpl.php b/data/templates/editbookmark.tpl.php index 99afa9c..b7fb227 100644 --- a/data/templates/editbookmark.tpl.php +++ b/data/templates/editbookmark.tpl.php @@ -259,25 +259,48 @@ $popupLink = 'javascript:' . '?action=add' . "&address='+encodeURIComponent(document.location.href)+'" . "&title='+encodeURIComponent(document.title)+'" - . "&description='+encodeURIComponent(SELECTION)+'" - . "';"; + . "&description='+encodeURIComponent(SELECTION)" + . ";"; $link = 'opera:/button/' //Opera command - . 'Go to page,' + . 'Go to page' //command parameter 1 - . '"' . rawurlencode($popupLink) . '",' + . ',"' . rawurlencode($popupLink) . '"' //command parameter 2 . ',' //button title - . '"Post to ' . fixOperaButtonName($GLOBALS['sitename']) . '",' - //button icon - . '"Scuttle"'; + . ',"Post to ' . fixOperaButtonName($GLOBALS['sitename']) . '"' + //button icon name + . ',"Scuttle"'; echo jsEscTitle(htmlspecialchars($link)); ?>'.replace('SELECTION', selection) + '">' + '' + '
  • ' - + '' + + ''.replace('SELECTION', selection) + + '">' + '
  • ' + '' );