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 >
Text File  |  2009-11-06  |  6KB  |  113 lines

  1. # FILE: search.tmpl
  2. # DESCRIPTION: Search Engine (New Messages + Keyword, combined at last)
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5. # Translation note: This file is drawn from language.conf and should not itself need
  6. # to be translated.
  7.  
  8. <!--BEGIN-->
  9. <#simple variables#>
  10. <html>
  11. <head>
  12. <title>$L{SEARCH_ENGINE_TITLE}</title>
  13. <style>
  14. <!--
  15. body { font-family: $color->{face}; line-spacing: 0 }
  16. td.nb { font: 10pt $color->{face} }
  17. td.b { font: 10pt $color->{face}; font-weight: bold; }
  18. -->
  19. </style>
  20. <#define $pagetitle = "$L{SEARCH_ENGINE_TITLE}"#>
  21. <#insert part () "cookie_icons_offset"#>
  22. <#insert part () "dynamic_top"#>
  23. <#if $browser->{dhtml} == 0#><font face="$color->{face}" size="$color->{size}">
  24. <form action="$script_url/search.$cgi_extension" method="post" name="searchform">
  25. <table border=0 cellspacing=0 cellpadding=1 width=100% bgcolor=#000000><tr><td>
  26. <table border=0 cellpadding=4 cellspacing=1 width=100%>
  27. <tr bgcolor="$color->{alt_9}">
  28. <td class="b" colspan=2><input type=checkbox name="stype" value="s"> $L{SEARCH_ENGINE_SEARCH_KEYWORD}</td>
  29. </tr>
  30. <tr bgcolor="$color->{alt_10}">
  31. <td class="nb" width=175>     $L{SEARCH_ENGINE_S_KEYWORDS}</td>
  32. <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>
  33. </tr>
  34. <tr bgcolor="$color->{alt_10}">
  35. <td class="nb">     $L{SEARCH_ENGINE_S_OPTIONS}</td>
  36. <td><select name="sopts" size=1>
  37.     <option value="0">$L{SEARCH_ENGINE_S_OR}</option>
  38.     <option value="1">$L{SEARCH_ENGINE_S_AND}</option>
  39. </select></td>
  40. </tr>
  41. <tr bgcolor="$color->{alt_10}">
  42. <td class="nb">     $L{SEARCH_ENGINE_S_METHOD}</td>
  43. <td><select name="smethod" size=1>
  44.     <option value="0">$L{SEARCH_ENGINE_S_PARTS}</option>
  45.     <option value="1">$L{SEARCH_ENGINE_S_WHOLE}</option>
  46. </select></td>
  47. </tr>
  48. <tr bgcolor="$color->{alt_10}">
  49. <td class="nb">     $L{SEARCH_ENGINE_S_CASE_SENSITIVITY}</td>
  50. <td><select name="scase" size=1>
  51.     <option value="0">$L{SEARCH_ENGINE_S_CASE_INSENSITIVE}</option>
  52.     <option value="1">$L{SEARCH_ENGINE_S_CASE_SENSITIVE}</option>
  53. </select></td>
  54. </tr>
  55.  
  56. <tr bgcolor="$color->{alt_10}">
  57. <td class="nb">     $L{BSCH_LOOKIN}</td>
  58. <td><select name="slookin" size=1>
  59.     <option value="1">$L{BSCH_TITLESOF}</option>
  60.     <option value="2">$L{BSCH_AUTHORS}</option>
  61.     <option value="3" selected>$L{BSCH_TEXT}</option>
  62. </select></td>
  63. </tr>
  64. <tr bgcolor="$color->{alt_9}">
  65. <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>
  66. </tr>
  67. <tr bgcolor="$color->{alt_10}">
  68. <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>
  69. <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;"> \
  70.     <select name="units" size=1 onBlur="document.searchform.nmsm[0].checked = true; document.searchform.stype[1].checked = true;">>
  71.     <option value="1">$L{NMMINUTES}</option>
  72.     <option value="60">$L{NMHOURS}</option>
  73.     <option value="1440" selected>$L{NMDAYS}</option>
  74. </select></td>
  75. </tr>
  76. <tr bgcolor="$color->{alt_10}">
  77. <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>
  78. <td class="nb">$L{NMLASTCHECK}
  79. <ul><table>
  80. <tr><td class="nb">$L{PROFILE_USERNAME}</td>
  81. <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>
  82. <tr><td class="nb">$L{PROFILE_PASSWORD}</td>
  83. <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>
  84. </table>
  85. </ul></td></tr>
  86. <tr bgcolor="$color->{alt_9}">
  87. <td class="b" colspan=2>$L{SEARCH_ENGINE_OPTIONS}</td>
  88. </tr>
  89. <tr bgcolor="$color->{alt_10}">
  90. <td class="nb" width=175>     $L{BSCH_TOPICS}</td>
  91. <td class="nb"><select name="where" size=1>
  92. <option value="all">$L{NMALLOF}</option>
  93. <#if $general->{favorites} ne ""#>
  94.     <option value="$general->{favorites}" selected>$L{MY_FAVORITES}</option>
  95. <#endif#>
  96. <#foreach $topic (@topics)#>
  97.     <option value="$topic->{number}">$topic->{name}</option>
  98. <#endloop#>
  99. </select></td>
  100. </tr>
  101. <tr bgcolor="$color->{alt_9}">
  102. <td class="b" colspan=2>$L{SEARCH_ENGINE_PERFORM}</td>
  103. </tr>
  104. <tr bgcolor="$color->{alt_10}">
  105. <td class="nb" width=175>     $L{SEARCH_ENGINE_ACTION}</td>
  106. <td class="nb"><input type="submit" value="$L{BSCHBUTTONTEXT}"></td>
  107. </tr>
  108. </table>
  109. </td></tr></table>
  110. </form>
  111. <#insert part () "dynamic_bottom"#>
  112. <!--END-->
  113.