view templates.swigs/search.html @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02:14 +0200
parents a84c32f131df
children
line wrap: on
line source

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
  <head>
    <meta http-equiv="content-type"
      content="text/html;charset=<TMPL_VAR NAME=ENCODING>">
    <meta name="GENERATOR"
      content="BINS <TMPL_VAR NAME=BINS_VERSION> (http://bins.sautret.org/)">
    <title>Search page</title>
    <link
      rel="Start"
      href="<TMPL_VAR NAME=STATIC_PATH>/.."
      title="<TMPL_VAR NAME=STRING_HOME>">
    <script type="text/javascript" language="Javascript"
      src="search_result.js"></script>
    <script type="text/javascript" language="Javascript" src="search.js"
      charset="latin1"></script>
    </head>

      <!--$Id: search.html,v 1.1 2005/08/21 20:12:33 jerome Exp $-->
    <!-- TMPL_VAR NAME=BINS_ID -->

    <body bgcolor="<!-- TMPL_VAR NAME=PAGE_BACKCOLOR -->"
      onload="page_loaded()"
      vlink="#000000" link="#002085" alink="0000FF">

    <div id="loading" style="position:absolute;">
      <table><tr><td>Loading data, please wait...</td></tr></table>
    </div>
    <script type="text/javascript" language="Javascript"
    src="search_data.js"></script>
    
      <table border="0" cellpadding="0" cellspacing="10" align="center" 
	width="600">           

	  <tr>
	    <td>
	      <table cellpadding="6" cellspacing="0" width="100%" border="0" 
		bgcolor="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->" >
		  <tr>
		    <td>
		      <table cellpadding="0" cellspacing="0"
			border="0"  width="100%">
			  <tr>
			    <td valign="middle" align="left">
			      <font size="4"
				color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->">
				<!-- TMPL_VAR NAME=STRING_IMAGESEARCH --></font>
			    </td>
			    <td align="right">
			      <a href="javascript:history.back()">
				<font color="<TMPL_VAR NAME=SUBBAR_LINKCOLOR>">
				  <!-- TMPL_VAR NAME=STRING_BACK --></font></a>
			    </td>
			  </tr>
			  <tr>
			    <td colspan="2">
			      <a href="tree.html">
				<font size="2"
				  color="<TMPL_VAR NAME=SUBBAR_LINKCOLOR>">
				  <b>
				    <!-- TMPL_VAR NAME=STRING_TREE --></b></font></a>
			      <font size="2"
				color="<!-- TMPL_VAR
				NAME=MAINBAR_CURRENTPAGECOLOR -->">
				<b> :: </b>
			      </font>
			    </td>
			  </tr>
		      </table>
		    </td>
		  </tr>
	      </table>
	    </td>
	  </tr>

	  <tr>
	    <td>
	      <table cellpadding="6" cellspacing="0" border="0" width="100%">
		  <tr bgcolor="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->">
		    <td valign="middle" align="left" >
		      <font face = "Arial" size="4" 
			color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->">
			
			<label><!-- TMPL_VAR NAME=STRING_SEARCHKEYWORDS -->
			  &nbsp;:
			  <input id="search_string" type="text"
			  onkeypress="process_key(event)">
			</label>

			<button type="button"
			onclick="reload_page()"><!-- TMPL_VAR
			NAME=STRING_SEARCH --></button> <br>
			<label style="font-size:0.8em"><input
			id="search_word" type="checkbox">
			  <!-- TMPL_VAR NAME=STRING_SEARCHONLYWHOLEWORDS -->
			</label>
                       </font>
		    </td>
		  </tr>
		  <tr><td>&nbsp;</td></tr>
		  <tr bgcolor="<!-- TMPL_VAR NAME=MAINBAR_BACKCOLOR -->">
		    <td valign="middle" align="left" >

		      <noscript><font face="Arial" color="<!--
			  TMPL_VAR NAME=MAINBAR_TITLECOLOR -->">
			  <!-- TMPL_VAR NAME=STRING_SEARCHJSERROR -->
			</font></noscript>

		      <font face="Arial" 
			color="<!-- TMPL_VAR NAME=MAINBAR_TITLECOLOR -->">
		      <span id="status">&nbsp;</span>
		    </font>
		    </td>
		  </tr>
	      </table>
	    </td>
	  </tr>
      </table>
    <div id="results" align="center">
      <!--results-->
    </div>
    <!-- TMPL_INCLUDE NAME="footer.html" -->
  </body>
</html>