You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
5.9 KiB
120 lines
5.9 KiB
<!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]#': Search Page</title>
|
|
#%env/templates/metas.template%#
|
|
<link rel="alternate" type="application/rss+xml" title="Search for #[former]#" href="yacysearch.rss?search=#[former]#" />
|
|
<link rel="search" type="application/opensearchdescription+xml" title="YaCy Search on '#[clientname]#'" href="opensearchdescription.xml" />
|
|
</head>
|
|
<body id="index" onload="document.getElementById('search').focus()">
|
|
#(display)#
|
|
#%env/templates/simpleheader.template%#
|
|
::
|
|
#%env/templates/header.template%#
|
|
#(/display)#
|
|
|
|
<h2 class="yacy">
|
|
#[promoteSearchPageGreeting]#
|
|
</h2>
|
|
|
|
<form class="search" action="yacysearch.html" method="get" name="searchform" accept-charset="ascii">
|
|
<fieldset class="maininput">
|
|
<input type="hidden" name="display" value="#[display]#" />
|
|
<input name="search" id="search" type="text" size="52" maxlength="80" value="#[former]#" />
|
|
<input type="submit" name="Enter" value="Search" />
|
|
<input type="hidden" name="former" value="#[former]#" /><br />
|
|
<input type="radio" id="text" name="contentdom" value="text" #(contentdomCheckText)#::checked="checked"#(/contentdomCheckText)# /><label for="text">Text</label>
|
|
<input type="radio" id="image" name="contentdom" value="image" #(contentdomCheckImage)#::checked="checked"#(/contentdomCheckImage)# /><label for="image">Images</label>
|
|
<input type="radio" id="audio" name="contentdom" value="audio" #(contentdomCheckAudio)#::checked="checked"#(/contentdomCheckAudio)# /><label for="audio">Audio</label>
|
|
<input type="radio" id="video" name="contentdom" value="video" #(contentdomCheckVideo)#::checked="checked"#(/contentdomCheckVideo)# /><label for="video">Video</label>
|
|
<input type="radio" id="app" name="contentdom" value="app" #(contentdomCheckApp)#::checked="checked"#(/contentdomCheckApp)# /><label for="app">Applications</label>
|
|
#(searchoptions)#
|
|
<input type="hidden" name="count" value="10" />
|
|
<input type="hidden" name="resource" value="global" />
|
|
<input type="hidden" name="time" value="6" />
|
|
<input type="hidden" name="urlmaskfilter" value=".*" />
|
|
<input type="hidden" name="prefermaskfilter" value="" />
|
|
<input type="hidden" name="indexof" value="off" />
|
|
</fieldset>
|
|
<p><a href="/index.html?searchoptions=1&display=#[display]#" onclick="this.href='/index.html?searchoptions=1&display=#[display]#&handover='+document.searchform.search.value">more options...</a></p>
|
|
::
|
|
</fieldset>
|
|
|
|
<table>
|
|
<tr>
|
|
<td>Max. number of results:</td>
|
|
<td>
|
|
<select name="count">
|
|
<option #(count-10)#::selected="selected"#(/count-10)#>10</option>
|
|
<option #(count-50)#::selected="selected"#(/count-50)#>50</option>
|
|
<option #(count-100)#::selected="selected"#(/count-100)#>100</option>
|
|
<option #(count-1000)#::selected="selected"#(/count-1000)#>1000</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Resource:</td>
|
|
<td>
|
|
<select name="resource">
|
|
<option value="global" #(resource-global)#::selected="selected"#(/resource-global)#>global</option>
|
|
<option value="local" #(resource-local)#::selected="selected"#(/resource-local)#>local</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Max. search time (seconds):</td>
|
|
<td>
|
|
<select name="time">
|
|
<option #(time-1)#::selected="selected"#(/time-1)#>1</option>
|
|
<option #(time-3)#::selected="selected"#(/time-3)#>3</option>
|
|
<option #(time-6)#::selected="selected"#(/time-6)#>6</option>
|
|
<option #(time-10)#::selected="selected"#(/time-10)#>10</option>
|
|
<option #(time-30)#::selected="selected"#(/time-30)#>30</option>
|
|
<option #(time-60)#::selected="selected"#(/time-60)#>60</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>URL mask:</td>
|
|
<td>#(urlmaskoptions)#
|
|
<input name="urlmaskfilter" type="text" size="12" maxlength="80" value="#[urlmaskfilter]#" />
|
|
::
|
|
<input type="radio" name="urlmask" value="yes" checked /> restrict on <input name="urlmaskfilter" type="text" size="12" maxlength="80" value="#[urlmaskfilter]#" />
|
|
<input type="radio" name="urlmask" value="no" /> show all
|
|
#(/urlmaskoptions)#
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Prefer mask:
|
|
</td>
|
|
<td>
|
|
#(prefermaskoptions)#
|
|
<input name="prefermaskfilter" type="text" size="12" maxlength="80" value="#[prefermaskfilter]#" />
|
|
::
|
|
<input type="radio" name="prefermask" value="yes" checked="checked" /> restrict on <input name="prefermaskfilter" type="text" size="12" maxlength="80" value="#[prefermaskfilter]#" />
|
|
<input type="radio" name="prefermask" value="no" /> show all
|
|
#(/prefermaskoptions)#
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Constraints:
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" id="indexof" name="indexof" #[indexofChecked]# /> <label for="indexof">only index pages</label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
#(/searchoptions)#
|
|
<p>This peer holds #[links]# URLs of #[total-links]# in the known network.</p>
|
|
</form>
|
|
|
|
#(display)#
|
|
#%env/templates/simplefooter.template%#
|
|
::
|
|
#%env/templates/footer.template%#
|
|
#(/display)#
|
|
</body>
|
|
</html>
|