summaryrefslogtreecommitdiff
path: root/htroot/proxymsg/urlproxyheader.html
diff options
context:
space:
mode:
authorreger <reger18@arcor.de>2016-12-23 19:03:44 +0100
committerreger <reger18@arcor.de>2016-12-23 19:03:44 +0100
commitf153cc4b5d07a8ca9865012142596a733036c74f (patch)
tree72f5230c8a45257555422b2db27c113d320b5da8 /htroot/proxymsg/urlproxyheader.html
parent7bf2bcf504cc7e3607f508ff4907b1a4d1ad1859 (diff)
add/allow to create a bookmark of result viewed via urlproxy.
For this on the header of the viewed result a "add bookmark" button is available (for authenticated users). Currently the bookmark is added to a (virtual) bookmark folder "/proxy" w/o any additional tags etc.
Diffstat (limited to 'htroot/proxymsg/urlproxyheader.html')
-rw-r--r--htroot/proxymsg/urlproxyheader.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/htroot/proxymsg/urlproxyheader.html b/htroot/proxymsg/urlproxyheader.html
index 5f53ef526..61bf64a12 100644
--- a/htroot/proxymsg/urlproxyheader.html
+++ b/htroot/proxymsg/urlproxyheader.html
@@ -2,8 +2,11 @@
<html>
<body style="background:white">
<div align="center" style="width:98%; padding:5px; background:white; border-bottom: medium solid lightgrey;">
- <form method="get" target="_parent" action="#[proxyurl]#">
- <input type="submit" value="YaCy stop proxy"> #(httpsAlertMsg)#:: &nbsp; - <span style='color:red'>(Warning: secure target viewed over normal http)</span>#(/httpsAlertMsg)#
+ <form method="get" action="?url=#[proxyurl]#">
+ <button name="exit" onclick="parent.location='#[proxyurl]#'">YaCy stop proxy</button>
+ #(httpsAlertMsg)#:: &nbsp; - <span style='color:red'>(Warning: secure target viewed over normal http)</span>#(/httpsAlertMsg)#
+ #(allowbookmark)#::<input type="hidden" name="bookmark" value="#[proxyurl]#">
+ <input type="submit" name="addbookmark" value="add bookmark">#(/allowbookmark)#
</form>
</div>
</body>