73 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
  <title><%site_title%>: Search Form</title>
 | 
						|
<%include include_common_head.html%>
 | 
						|
</head>
 | 
						|
<body id="search">
 | 
						|
<%include include_accessibility.html%>
 | 
						|
  <div id="wrapper">
 | 
						|
<%include include_header.html%>
 | 
						|
<%include include_contentheader.html%>
 | 
						|
    <div id="ocwrapper" class="clear">
 | 
						|
      <div id="icwrapper" class="clear">
 | 
						|
<%include include_leftsidebar.html%>
 | 
						|
        <div id="contentwrapper" class="shadowleft">
 | 
						|
<%include include_contentwrapper_top.html%>
 | 
						|
          <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
 | 
						|
          <div class="shadowright">
 | 
						|
            <div id="content">
 | 
						|
<%include include_content_top.html%>
 | 
						|
 | 
						|
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
 | 
						|
<h2>Search Form</h2>
 | 
						|
 | 
						|
<form action="<%config.db_cgi_url%>/search.cgi">
 | 
						|
  <div class="row required clear">
 | 
						|
    <label for="query" class="name">Search:</label>
 | 
						|
    <div class="value">
 | 
						|
      <input type="text" id="query" name="query" class="text" />
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <div class="searchoption">
 | 
						|
    <input type="radio" id="bool-and" name="bool" value="and" <%if bool eq 'and' or not bool%>checked="checked" <%endif%>class="radio" /><label for="bool-and">Results must contain all words</label>
 | 
						|
    <input type="radio" id="bool-or" name="bool" value="or" <%if bool eq 'or'%>checked="checked" <%endif%>class="radio" /><label for="bool-or">Results can contain any of the words</label>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <div class="searchoption">
 | 
						|
    <input type="radio" id="substring-1" name="substring" value="1" <%if substring%>checked="checked" <%endif%>class="radio" /><label for="substring-1">Find similar words</label>
 | 
						|
    <input type="radio" id="substring-0" name="substring" value="0" <%unless substring%>checked="checked"  <%endif%>class="radio" /><label for="substring-0">Find exact words</label>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <div class="row searchoption clear">
 | 
						|
    <label for="mh" class="name">Links per page:</label>
 | 
						|
    <div class="value">
 | 
						|
      <select id="mh" name="mh">
 | 
						|
        <option<%if mh == 10%> selected="selected"<%endif%>>10</option>
 | 
						|
        <option<%if mh == 25 or not mh%> selected="selected"<%endif%>>25</option>
 | 
						|
        <option<%if mh == 50%> selected="selected"<%endif%>>50</option>
 | 
						|
        <option<%if mh == 100%> selected="selected"<%endif%>>100</option>
 | 
						|
      </select>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
  <div class="formsubmit">
 | 
						|
    <input type="submit" value="Search" class="submit" />
 | 
						|
  </div>
 | 
						|
</form>
 | 
						|
 | 
						|
<%include include_content_bottom.html%>
 | 
						|
            </div>
 | 
						|
          </div>
 | 
						|
          <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
 | 
						|
<%include include_contentwrapper_bottom.html%>
 | 
						|
        </div>
 | 
						|
<%include include_rightsidebar.html%>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
<%include include_contentfooter.html%>
 | 
						|
<%include include_footer.html%>
 | 
						|
  </div>
 | 
						|
</body>
 | 
						|
</html>
 |