diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 23:19:39 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 23:19:39 +0200 |
commit | e48f511606a1ef64aa39099055dd6ae437f45d03 (patch) | |
tree | 6ecbbc9c14cb621845fc12af9412e24d17168397 /apps/bookmarks/templates/bookmarklet.php | |
parent | 31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (diff) | |
download | nextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.tar.gz nextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.zip |
port linkto and serverHost
Diffstat (limited to 'apps/bookmarks/templates/bookmarklet.php')
-rwxr-xr-x[-rw-r--r--] | apps/bookmarks/templates/bookmarklet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/bookmarklet.php b/apps/bookmarks/templates/bookmarklet.php index a2ca0bba0e3..1802814d4bb 100644..100755 --- 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="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);})();">' + . '<a class="button bookmarklet" href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OCP\Util::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>'; } |