Help link component path changed.
[irspy-moved-to-github.git] / web / htdocs / details / find.mc
1 %# $Id: find.mc,v 1.9 2006-12-01 16:49:43 mike Exp $
2 % if ($r->param("_search")) {
3 %     $m->comp("found.mc");
4 % } else {
5      <p>
6       Choose one or more critera by which to search for registered
7       targets, then press the <b>Search</b> button.
8 <& /help/link.mc, help => "find" &>
9      </p>
10      <form method="get" action="">
11       <table class="searchform">
12        <tr>
13         <th>(Anywhere)</th>
14         <td><input type="text" name="cql.anywhere" size="40"/></td>
15        </tr>
16        <tr><td colspan="2">&nbsp;</td></tr>
17        <tr>
18         <th>Protocol</th>
19         <td>
20          <select name="net.protocol" size="1">
21           <option value="">[No preference]</option>
22           <option value="z39.50">Z39.50</option>
23           <option value="sru">SRU</option>
24           <option value="srw">SRW</option>
25          </select>
26         </td>
27        </tr>
28        <tr>
29         <th>Version</th>
30         <td><input type="text" name="net.version" size="5"/></td>
31        </tr>
32        <tr>
33         <th>Method</th>
34         <td>
35          <select name="net.method" size="1">
36           <option value="">[No preference]</option>
37           <option value="get">GET</option>
38           <option value="post">POST</option>
39          </select>
40         </td>
41        </tr>
42        <tr><td colspan="2">&nbsp;</td></tr>
43        <tr>
44         <th>Host</th>
45         <td><input type="text" name="net.host" size="40"/></td>
46        </tr>
47        <tr>
48         <th>Port</th>
49         <td><input type="text" name="net.port" size="5"/></td>
50        </tr>
51        <tr>
52         <th>Database</th>
53         <td><input type="text" name="net.path" size="20"/></td>
54        </tr>
55        <tr><td colspan="2">&nbsp;</td></tr>
56        <tr>
57         <th>Title</th>
58         <td><input type="text" name="dc.title" size="40"/></td>
59        </tr>
60        <tr>
61         <th>Author</th>
62         <td><input type="text" name="dc.creator" size="40"/></td>
63        </tr>
64        <tr>
65         <th>Description</th>
66         <td><input type="text" name="dc.description" size="40"/></td>
67        </tr>
68        <tr><td colspan="2">&nbsp;</td></tr>
69        <tr>
70         <th>Sort by</th>
71         <td>
72          <select name="_sort" size="1">
73           <option value="">[Do not sort]</option>
74           <option value="dc.title">Title</option>
75           <option value="dc.creator">Author</option>
76           <option value="net.host">Host</option>
77           <option value="net.port/numeric">Port</option>
78           <option value="net.path">Database</option>
79          </select>
80          <input type="checkbox" id="desc" name="_desc" value="1"/>
81          <label for="desc">descending?</label>
82         </td>
83        </tr>
84        <tr><td colspan="2">&nbsp;</td></tr>
85        <tr>
86         <th/>
87         <th><input type="submit" name="_search" value="Search"/></th>
88        </tr>
89       </table>
90       <p>
91        <small>
92         Show
93         <input type="text" name="_count" size="4" value="10"/>
94         records, skipping the first
95         <input type="text" name="_skip" size="4" value="0"/>
96        </small>
97       </p>
98      </form>
99 % }