summaryrefslogtreecommitdiff
path: root/htroot/Surftips.html
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2007-05-23 17:49:16 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2007-05-23 17:49:16 +0000
commitc321ddff7a5c3e4e9408cf2110c9ec913db7ac02 (patch)
treef0e93066664cdadb0dd1a5ff581eff376046562e /htroot/Surftips.html
parent8b393744f195714a2527631933180601f472c2bb (diff)
redesigned access control to surftips:
- access is now granted to authorized admin, even if it is blocked to the public - generalized naming - changed links to buttons git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3750 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/Surftips.html')
-rw-r--r--htroot/Surftips.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/htroot/Surftips.html b/htroot/Surftips.html
index 08faf3279..e8a3adb97 100644
--- a/htroot/Surftips.html
+++ b/htroot/Surftips.html
@@ -25,8 +25,7 @@
<h2 class="yacy">Surftips</h2>
#(surftips)#
- Surftips are switched off<br />
- <a href="/Surftips.html?surftips=1">Show surftips</a>
+ Surftips are switched off for users without authorization
::
#{results}#
<!-- link begin -->
@@ -50,7 +49,17 @@
#{/results}#
<p class="aftersurftips">
...provided by YaCy peers using public bookmarks, link votes and crawl start points<br />
- <a href="/Surftips.html?surftips=0">Hide surftips</a>
+
+ <form action="Surftips.html" method="get" class="PeerControl">
+ <button type="submit" name="publicPage" value="0">
+ <img src="/env/grafics/lock.gif" alt="authentication required" />
+ Hide surftips for users without autorization
+ </button>
+ <button type="submit" name="publicPage" value="1">
+ <img src="/env/grafics/lock.gif" alt="authentication required" />
+ Show surftips to everyone
+ </button>
+ </form>
</p>
<script type="text/javascript">
addHover();