summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/templates/bookmarklet.php
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2012-02-22 23:52:56 +0100
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2012-02-22 23:52:56 +0100
commit77493e8d704c5a9c986b453583f966cb976409c9 (patch)
treec34a79dccef23c3fd68dee131c2028393b59b457 /apps/bookmarks/templates/bookmarklet.php
parent996e6cf419cc9ebecb9c8985e444ee1ba17e9395 (diff)
downloadnextcloud-server-77493e8d704c5a9c986b453583f966cb976409c9.tar.gz
nextcloud-server-77493e8d704c5a9c986b453583f966cb976409c9.zip
Changed bookmarklet to read later widget
Diffstat (limited to 'apps/bookmarks/templates/bookmarklet.php')
-rw-r--r--apps/bookmarks/templates/bookmarklet.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/bookmarks/templates/bookmarklet.php b/apps/bookmarks/templates/bookmarklet.php
index 5719603da5f..23779477cb6 100644
--- a/apps/bookmarks/templates/bookmarklet.php
+++ b/apps/bookmarks/templates/bookmarklet.php
@@ -3,6 +3,6 @@
function createBookmarklet() {
$l = new OC_L10N('bookmarks');
echo '<small>' . $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage:') . '</small>'
- . '<a class="button" 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=510px,width=550px,resizable=1,alwaysRaised=1\');a.setTimeout(function(){d.focus()},300);})();">'
- . $l->t('Add page to ownCloud') . '</a>';
+ . '<a class="button" 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>';
}