summaryrefslogtreecommitdiff
path: root/htroot/Surftips.html
blob: e8a3adb97c7ae1a7d07f968665559db133ece720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>YaCy '#[clientname]#': Surftips</title>
    <meta name="keywords" content="YaCy P2P peer-to-peer Surftips Social Bookmarking Link Voting" />
    <meta name="description" content="Surftips provided by the YaCy peer-to-peer network using public bookmarks, link votes and crawl start points" />
    #%env/templates/metas.template%#
	<script type="text/javascript">
  //<![CDATA[
	function pcomment(link) {
  		var c = window.prompt("Please enter a comment to your link recommendation. (Your Vote is also considered without a comment.)", "");
		return link + "&amp;comment=" + c;
	}
  //]]>
	</script>
  <script type="text/javascript" src="/js/yacysearch.js"></script>
  </head>
  <body id="Surftips">
    #(display)#
    #%env/templates/simpleheader.template%#
    ::
    #%env/templates/header.template%#
    #(/display)#

    <h2 class="yacy">Surftips</h2>

    #(surftips)#
    Surftips are switched off for users without authorization
    ::
    #{results}#
     <!-- link begin -->
     <div class="searchresults">
       #(authorized)#::
       <div class="urlactions">
         <a href="/Bookmarks.html?edit=#[urlhash]#" class="bookmarklink" title="bookmark"><img src="/env/grafics/empty.gif" title="bookmark" alt="Add to bookmarks" class="bookmarkIcon" /></a>
         #(recommend)#
         <img src="/env/grafics/empty.gif" title="" alt="" class="recommendIcon" />
         <img src="/env/grafics/empty.gif" title="" alt="" class="deleteIcon" />
         ::
         <a href="/Surftips.html?votePositive=#[urlhash]#&amp;refid=#[refid]#&amp;url=#[url]#&amp;title=#[title]#&description=#[description]#&amp;display=#[display]##(showScore)#::&amp;score=true#(/showScore)#" title="positive vote" class="recommendlink" onclick="pcomment(this.href);void(0);"><img src="/env/grafics/empty.gif" title="positive vote" alt="Give positive vote" class="recommendIcon" /></a>
         <a href="/Surftips.html?voteNegative=#[urlhash]#&amp;refid=#[refid]#&amp;display=#[display]##(showScore)#::&amp;score=true#(/showScore)#" title="negative vote" class="deletelink" ><img src="/env/grafics/empty.gif" title="negative vote" alt="Give negative vote" class="deleteIcon" /></a>
         #(/recommend)#
       </div>
       #(/authorized)#
       <h4 class="linktitle"><a href="#[url]#">#[title]#</a></h4>
       <p class="snippet">#[description]#</p>
     </div>
    <!-- link end -->
    #{/results}#
    <p class="aftersurftips">
    ...provided by YaCy peers using public bookmarks, link votes and crawl start points<br />
    
    <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();
    </script>
	#(/surftips)#
    
    #(display)#
    #%env/templates/simplefooter.template%#
    ::
    #%env/templates/footer.template%#
    #(/display)#
  </body>
</html>