- XML parser framework rewrite
[mir.git] / etc / open / search_results.template
index 62ef6da..1a416e8 100755 (executable)
 <input type="hidden" name="do" value="search" />
 
 <table width="100%" border="0" cellspacing="2" cellpadding="4" bgcolor="#cccccc">
-       <tr>
-               <td align="left" class="table-head" colspan="2">
-                       <b>&nbsp;&nbsp;&nbsp;${lang("search.title")}</b>
-               </td>
-       </tr>
-
-       <tr>
-               <td class="table-right" colspan="2">
-                       &nbsp;
-               </td>
-       </tr>
-
-       <tr>
-               <td class="table-left" width="30%">
-                       ${lang("search.mainsearchfield")}
-               </td>
-               <td class="listrow2" valign="top">
-                       <input type="text" size="40" name="search_content" value="${data.search_content}" />
-               </td>
-       </tr>
-       <tr>
-               <td class="table-foot" align="left">
-                       <spann style='color:#000000; font-size:1.2em;'><b>${lang("search.refine")}</b></spann>
-               </td>
-               <td class="table-foot" align="right">
-                       <input type="submit" name="search_submit" value="${lang("search.searchbutton")}" />
-               </td>
-       </tr>
-       <tr>
-       <td class="table-left">
-                       ${lang("search.all_or_any")}
-               </td>
-       <td class="listrow2">
-                       <if data.search_boolean == "and">
-                       <input type="radio" name="search_boolean" value="and" checked="true">${lang("search.all")}
-                       <input type="radio" name="search_boolean" value="or">${lang("search.any")}
-               <else>
-                       <input type="radio" name="search_boolean" value="and">${lang("search.all")}
-                       <input type="radio" name="search_boolean" value="or" checked="true">${lang("search.any")}
-               </if>
-       </td>
-       </tr>
-       <tr>
-       <td class="table-left">
-                       ${lang("search.by_author")}
-               </td>
-       <td class="listrow2">
-                       <input type="text" name="search_creator" value="${data.search_creator}" />
-       </td>
-       </tr>
-       <tr>
-       <td class="table-left">${lang("search.by_topic")}</td>
-       <td class="listrow2">
-                       <select name="search_topic">
-               <if (!data.search_topic) || (data.search_topic == "") >
-                       <option value="" selected>${lang("search.all_topics")}
-               <else>
-                       <option value="">${lang("search.all_topics")}
-               </if>
-               <list data.topics as topic>
-               <if topic.value != "--" >
-               <if data.search_topic == topic.value>
-                       <option selected>${topic.value}
-               <else>
-                       <option>${topic.value}
-               </if>
-               </if>
-               </list>
-               </select>
-       </td>
-       </tr>
+  <tr>
+    <td align="left" class="table-head" colspan="2">
+      <b>&nbsp;&nbsp;&nbsp;${lang("search.title")}</b>
+    </td>
+  </tr>
+
+  <tr>
+    <td class="table-right" colspan="2">
+      &nbsp;
+    </td>
+  </tr>
+
+  <tr>
+    <td class="table-left" width="30%">
+      ${lang("search.mainsearchfield")}
+    </td>
+    <td class="listrow2" valign="top">
+      <input type="text" size="40" name="search_content" value="${data.search_content}" />
+    </td>
+  </tr>
+  <tr>
+    <td class="table-foot" align="left">
+      <spann style='color:#000000; font-size:1.2em;'><b>${lang("search.refine")}</b></spann>
+    </td>
+    <td class="table-foot" align="right">
+      <input type="submit" name="search_submit" value="${lang("search.searchbutton")}" />
+    </td>
+  </tr>
+  <tr>
+      <td class="table-left">
+      ${lang("search.all_or_any")}
+    </td>
+      <td class="listrow2">
+      <if data.search_boolean == "and">
+            <input type="radio" name="search_boolean" value="and" checked="true">${lang("search.all")}
+            <input type="radio" name="search_boolean" value="or">${lang("search.any")}
+          <else>
+            <input type="radio" name="search_boolean" value="and">${lang("search.all")}
+            <input type="radio" name="search_boolean" value="or" checked="true">${lang("search.any")}
+          </if>
+      </td>
+  </tr>
+  <tr>
+      <td class="table-left">
+      ${lang("search.by_author")}
+    </td>
+      <td class="listrow2">
+      <input type="text" name="search_creator" value="${data.search_creator}" />
+      </td>
+  </tr>
+    <tr>
+      <td class="table-left">${lang("search.by_topic")}</td>
+      <td class="listrow2">
+      <select name="search_topic">
+          <if (!data.search_topic) || (data.search_topic == "") >
+              <option value="" selected>${lang("search.all_topics")}
+          <else>
+              <option value="">${lang("search.all_topics")}
+          </if>
+          <list data.topics as topic>
+            <if topic.value != "--" >
+              <if data.search_topic == topic.value>
+                  <option selected>${topic.value}
+              <else>
+                  <option>${topic.value}
+              </if>
+            </if>
+          </list>
+          </select>
+      </td>
+    </tr>
 
 
   <tr>