diff options
author | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2012-02-22 23:52:56 +0100 |
---|---|---|
committer | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2012-02-22 23:52:56 +0100 |
commit | 77493e8d704c5a9c986b453583f966cb976409c9 (patch) | |
tree | c34a79dccef23c3fd68dee131c2028393b59b457 /apps/bookmarks/templates/bookmarklet.php | |
parent | 996e6cf419cc9ebecb9c8985e444ee1ba17e9395 (diff) | |
download | nextcloud-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.php | 4 |
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>'; } |