home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
cgi-bin
/
discus4_00
/
source
/
search.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
6KB
|
113 lines
# FILE: search.tmpl
# DESCRIPTION: Search Engine (New Messages + Keyword, combined at last)
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
# Translation note: This file is drawn from language.conf and should not itself need
# to be translated.
<!--BEGIN-->
<#simple variables#>
<html>
<head>
<title>$L{SEARCH_ENGINE_TITLE}</title>
<style>
<!--
body { font-family: $color->{face}; line-spacing: 0 }
td.nb { font: 10pt $color->{face} }
td.b { font: 10pt $color->{face}; font-weight: bold; }
-->
</style>
<#define $pagetitle = "$L{SEARCH_ENGINE_TITLE}"#>
<#insert part () "cookie_icons_offset"#>
<#insert part () "dynamic_top"#>
<#if $browser->{dhtml} == 0#><font face="$color->{face}" size="$color->{size}">
<form action="$script_url/search.$cgi_extension" method="post" name="searchform">
<table border=0 cellspacing=0 cellpadding=1 width=100% bgcolor=#000000><tr><td>
<table border=0 cellpadding=4 cellspacing=1 width=100%>
<tr bgcolor="$color->{alt_9}">
<td class="b" colspan=2><input type=checkbox name="stype" value="s"> $L{SEARCH_ENGINE_SEARCH_KEYWORD}</td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb" width=175> $L{SEARCH_ENGINE_S_KEYWORDS}</td>
<td><input type=text name="squery" size=35 onChange="if (document.searchform.squery.value.length > 0) { document.searchform.stype[0].checked = true; }" onBlur="if (document.searchform.squery.value.length > 0) { document.searchform.stype[0].checked = true; }"></td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb"> $L{SEARCH_ENGINE_S_OPTIONS}</td>
<td><select name="sopts" size=1>
<option value="0">$L{SEARCH_ENGINE_S_OR}</option>
<option value="1">$L{SEARCH_ENGINE_S_AND}</option>
</select></td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb"> $L{SEARCH_ENGINE_S_METHOD}</td>
<td><select name="smethod" size=1>
<option value="0">$L{SEARCH_ENGINE_S_PARTS}</option>
<option value="1">$L{SEARCH_ENGINE_S_WHOLE}</option>
</select></td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb"> $L{SEARCH_ENGINE_S_CASE_SENSITIVITY}</td>
<td><select name="scase" size=1>
<option value="0">$L{SEARCH_ENGINE_S_CASE_INSENSITIVE}</option>
<option value="1">$L{SEARCH_ENGINE_S_CASE_SENSITIVE}</option>
</select></td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb"> $L{BSCH_LOOKIN}</td>
<td><select name="slookin" size=1>
<option value="1">$L{BSCH_TITLESOF}</option>
<option value="2">$L{BSCH_AUTHORS}</option>
<option value="3" selected>$L{BSCH_TEXT}</option>
</select></td>
</tr>
<tr bgcolor="$color->{alt_9}">
<td class="b" colspan=2><input type=checkbox name="stype" value="n" onClick="if (document.searchform.stype[1].checked == false) { document.searchform.nmsm[0].checked = false; document.searchform.nmsm[1].checked = false; } else { if (document.searchform.nmsm[0].checked == 0 && document.searchform.nmsm[1].checked == 0) { document.searchform.nmsm[0].checked = true; }}"> $L{SEARCH_ENGINE_SEARCH_DATE}</td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb" width=175> <input type=radio name="nmsm" value="1" onClick="document.searchform.stype[1].checked = true">$L{SEARCH_ENGINE_N_RECENT}</td>
<td class="nb">$L{NMWITHINLAST} <input type="text" name="nnumber" size=3 value="3" onClick="document.searchform.nmsm[0].checked = true; document.searchform.stype[1].checked = true;" onBlur="document.searchform.nmsm[0].checked = true; document.searchform.stype[1].checked = true;"> \
<select name="units" size=1 onBlur="document.searchform.nmsm[0].checked = true; document.searchform.stype[1].checked = true;">>
<option value="1">$L{NMMINUTES}</option>
<option value="60">$L{NMHOURS}</option>
<option value="1440" selected>$L{NMDAYS}</option>
</select></td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb" width=175 valign=top> <input type=radio name="nmsm" value="2" onClick="document.searchform.stype[1].checked = true">$L{SEARCH_ENGINE_N_REGISTERED}</td>
<td class="nb">$L{NMLASTCHECK}
<ul><table>
<tr><td class="nb">$L{PROFILE_USERNAME}</td>
<td><input type=text name="username" size="15" value="$fill->{username}" onBlur="document.searchform.nmsm[1].checked = true; document.searchform.stype[1].checked = true;"></td></tr>
<tr><td class="nb">$L{PROFILE_PASSWORD}</td>
<td class="nb"><input type=password name="passwd" value="$fill->{password}" size="15" onBlur="document.searchform.nmsm[1].checked = true; document.searchform.stype[1].checked = true;"> <input type="checkbox" name="silent" value="1" onClick="document.searchform.nmsm[1].checked = true; document.searchform.stype[1].checked = true;"> $L{NMDONTREMEMBER}</td></tr>
</table>
</ul></td></tr>
<tr bgcolor="$color->{alt_9}">
<td class="b" colspan=2>$L{SEARCH_ENGINE_OPTIONS}</td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb" width=175> $L{BSCH_TOPICS}</td>
<td class="nb"><select name="where" size=1>
<option value="all">$L{NMALLOF}</option>
<#if $general->{favorites} ne ""#>
<option value="$general->{favorites}" selected>$L{MY_FAVORITES}</option>
<#endif#>
<#foreach $topic (@topics)#>
<option value="$topic->{number}">$topic->{name}</option>
<#endloop#>
</select></td>
</tr>
<tr bgcolor="$color->{alt_9}">
<td class="b" colspan=2>$L{SEARCH_ENGINE_PERFORM}</td>
</tr>
<tr bgcolor="$color->{alt_10}">
<td class="nb" width=175> $L{SEARCH_ENGINE_ACTION}</td>
<td class="nb"><input type="submit" value="$L{BSCHBUTTONTEXT}"></td>
</tr>
</table>
</td></tr></table>
</form>
<#insert part () "dynamic_bottom"#>
<!--END-->