Add description search-box.
[irspy-moved-to-github.git] / web / htdocs / details / find.mc
index c2af01f..b1b584f 100644 (file)
@@ -1,4 +1,4 @@
-%# $Id: find.mc,v 1.2 2006-09-19 16:34:48 mike Exp $
+%# $Id: find.mc,v 1.7 2006-12-01 14:51:19 mike Exp $
 % if ($r->param("_search")) {
 %     $m->comp("found.mc");
 % } else {
@@ -6,7 +6,7 @@
       Choose one or more critera by which to search for registered
       targets, then press the <b>Search</b> button.
      </p>
-     <form>
+     <form method="get" action="">
       <table class="searchform">
        <tr>
         <th>(Anywhere)</th>
        <td><input type="text" name="dc.title" size="40"/></td>
        </tr>
        <tr>
-        <th>Creator</th>
+        <th>Author</th>
        <td><input type="text" name="dc.creator" size="40"/></td>
        </tr>
+       <tr>
+        <th>Description</th>
+       <td><input type="text" name="dc.description" size="40"/></td>
        </tr>
        <tr><td colspan="2">&nbsp;</td></tr>
        <tr>
@@ -68,9 +71,9 @@
          <select name="_sort" size="1">
          <option value="">[Do not sort]</option>
          <option value="dc.title">Title</option>
-         <option value="dc.creator">Creator</option>
+         <option value="dc.creator">Author</option>
          <option value="net.host">Host</option>
-         <option value="net.port">Port</option>
+         <option value="net.port/numeric">Port</option>
          <option value="net.path">Database</option>
         </select>
         <input type="checkbox" id="desc" name="_desc" value="1"/>
@@ -86,7 +89,7 @@
       <p>
        <small>
        Show
-       <input type="text" name="_count" size="4" value="20"/>
+       <input type="text" name="_count" size="4" value="10"/>
        records, skipping the first
        <input type="text" name="_skip" size="4" value="0"/>
        </small>