]> source.dussan.org Git - nextcloud-server.git/commitdiff
make the button a bit more consistent to the other ownCloud interface
authorFrank Karlitschek <karlitschek@kde.org>
Sat, 21 Apr 2012 21:34:24 +0000 (23:34 +0200)
committerFrank Karlitschek <karlitschek@kde.org>
Sat, 21 Apr 2012 21:34:24 +0000 (23:34 +0200)
apps/bookmarks/templates/bookmarklet.php

index f7074462a79919dea443937f57d7ae5196362bab..a2ca0bba0e3b6c6254f1fd2a1b3caa0a3159ac7a 100644 (file)
@@ -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>';
 }