summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-04-21 23:34:24 +0200
committerFrank Karlitschek <karlitschek@kde.org>2012-04-21 23:34:24 +0200
commit69f3b5e2d26d065351d61bfd8119181ebde08942 (patch)
tree5b243e61a36c45e5505de61f3b392528c701dd08 /apps/bookmarks
parentc6144535a8dc5c07a41f97c306525ac52a77caa8 (diff)
downloadnextcloud-server-69f3b5e2d26d065351d61bfd8119181ebde08942.tar.gz
nextcloud-server-69f3b5e2d26d065351d61bfd8119181ebde08942.zip
make the button a bit more consistent to the other ownCloud interface
Diffstat (limited to 'apps/bookmarks')
-rw-r--r--apps/bookmarks/templates/bookmarklet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/bookmarklet.php b/apps/bookmarks/templates/bookmarklet.php
index f7074462a79..a2ca0bba0e3 100644
--- a/apps/bookmarks/templates/bookmarklet.php
+++ b/apps/bookmarks/templates/bookmarklet.php
@@ -3,6 +3,6 @@
function createBookmarklet() {
$l = OC_L10N::get('bookmarks');
echo '<small>' . $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:') . '</small>'
- . '<a class="bookmarklet" href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') . '?output=popup&url=\'+c(b.location),\'bkmk_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=230px,width=230px,resizable=1,alwaysRaised=1\');a.setTimeout(function(){d.focus()},300);})();">'
+ . '<a class="button bookmarklet" href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') . '?output=popup&url=\'+c(b.location),\'bkmk_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=230px,width=230px,resizable=1,alwaysRaised=1\');a.setTimeout(function(){d.focus()},300);})();">'
. $l->t('Read later') . '</a>';
}