diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-08-25 13:51:48 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-08-25 13:51:48 +0200 |
commit | e6bdd256675f86cb3335f0491a3b41b7f4bf90fd (patch) | |
tree | dcbb414675cf8f92003f1aab8713c6fb41619e27 /apps/bookmarks/templates | |
parent | 097260607255ebe10aae7f64a53a5f7faabe7c1d (diff) | |
download | nextcloud-server-e6bdd256675f86cb3335f0491a3b41b7f4bf90fd.tar.gz nextcloud-server-e6bdd256675f86cb3335f0491a3b41b7f4bf90fd.zip |
fix: links with parameters get cut off at &
Diffstat (limited to 'apps/bookmarks/templates')
-rw-r--r-- | apps/bookmarks/templates/list.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php index a2c89b310a2..4f101d44f90 100644 --- a/apps/bookmarks/templates/list.php +++ b/apps/bookmarks/templates/list.php @@ -2,7 +2,7 @@ <h2 class="bookmarks_headline"><?php echo isset($_GET["tag"]) ? 'Bookmarks with tag: ' . urldecode($_GET["tag"]) : 'All bookmarks'; ?></h2> <div class="bookmarks_menu"> <input type="button" class="bookmarks_addBtn" value="Add Bookmark"/> - <a class="bookmarks_addBml" href="javascript:var url = encodeURI(location.href);window.open('<?php echo (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . OC_Helper::linkTo('bookmarks', 'addBm.php'); ?>?url='+url, 'owncloud-bookmarks');" title="Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.">Add page to ownCloud</a> + <a class="bookmarks_addBml" href="javascript:var url = encodeURIComponent(location.href);window.open('<?php echo (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . OC_Helper::linkTo('bookmarks', 'addBm.php'); ?>?url='+url, 'owncloud-bookmarks');" title="Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.">Add page to ownCloud</a> </div> <div class="bookmarks_add"> <p><label class="bookmarks_label">Address</label><input type="text" id="bookmark_add_url" class="bookmarks_input" /></p> |