summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-16 19:45:00 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-17 22:07:14 +0100
commitf47444e1f776912cbf141ec9cc3763110f4e3552 (patch)
treee50acafa0fc13b943aafc7b8f424cab142236363 /apps/bookmarks
parent5f3c54922773068091dfe8b40e3b407512ef4cfe (diff)
downloadnextcloud-server-f47444e1f776912cbf141ec9cc3763110f4e3552.tar.gz
nextcloud-server-f47444e1f776912cbf141ec9cc3763110f4e3552.zip
Use separate function to make absolute urls
Diffstat (limited to 'apps/bookmarks')
-rw-r--r--apps/bookmarks/templates/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/settings.php b/apps/bookmarks/templates/settings.php
index 97b6b256c09..a985ee9d61b 100644
--- a/apps/bookmarks/templates/settings.php
+++ b/apps/bookmarks/templates/settings.php
@@ -8,7 +8,7 @@
?>
<form id="bookmarks">
<fieldset class="personalblock">
- <span class="bold"><?php echo $l->t('Bookmarklet:');?></span>&nbsp;<a class="bookmarks_addBml" href="javascript:(function(){url=encodeURIComponent(location.href);window.open('<?php echo OC_Helper::linkTo('bookmarks', 'addBm.php', null, true); ?>?url='+url, 'owncloud-bookmarks') })()"><?php echo $l->t('Add page to ownCloud'); ?></a>
+ <span class="bold"><?php echo $l->t('Bookmarklet:');?></span>&nbsp;<a class="bookmarks_addBml" href="javascript:(function(){url=encodeURIComponent(location.href);window.open('<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php'); ?>?url='+url, 'owncloud-bookmarks') })()"><?php echo $l->t('Add page to ownCloud'); ?></a>
<br/><em><?php echo $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.'); ?></em><br />
</fieldset>
</form>