1 %# $Id: find.mc,v 1.11 2007-03-29 17:14:47 mike Exp $
2 % if ($r->param("_search")) {
3 % $m->comp("found.mc");
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" &>
10 <form method="get" action="">
11 <table class="searchform">
14 <td><input type="text" name="cql.anywhere" size="40"/></td>
16 <tr><td colspan="2"> </td></tr>
19 <td><input type="text" name="dc.title" size="40"/></td>
24 <select name="zeerex.country" size="1">
25 % my $options = $m->comp("country-list.mc");
26 % foreach my $option (@$options) {
27 <option value="<% xml_encode(cql_quote($option)) %>"><%
28 xml_encode($option) %></option>
33 <tr><td colspan="2"> </td></tr>
37 <select name="net.protocol" size="1">
38 <option value="">[No preference]</option>
39 <option value="z39.50">Z39.50</option>
40 <option value="sru">SRU</option>
41 <option value="srw">SRW</option>
47 <td><input type="text" name="net.host" size="40"/></td>
51 <td><input type="text" name="net.port" size="5"/></td>
54 <th>Database Name</th>
55 <td><input type="text" name="net.path" size="20"/></td>
58 <tr><td colspan="2"> </td></tr>
61 <td><input type="text" name="net.version" size="5"/></td>
66 <select name="net.method" size="1">
67 <option value="">[No preference]</option>
68 <option value="get">GET</option>
69 <option value="post">POST</option>
74 <tr><td colspan="2"> </td></tr>
76 <th>Type of Library</th>
78 <select name="zeerex.libType" size="1">
79 % $options = $m->comp("libtype-list.mc");
80 % foreach my $option (@$options) {
81 <option value="<% xml_encode($option) %>"><%
82 xml_encode($option) %></option>
89 <td><input type="text" name="dc.description" size="40"/></td>
93 <td><input type="text" name="dc.creator" size="40"/></td>
95 <tr><td colspan="2"> </td></tr>
99 <select name="_sort" size="1">
100 <option value="">[Do not sort]</option>
101 <option value="dc.title">Title</option>
102 <option value="dc.creator">Author</option>
103 <option value="net.host">Host</option>
104 <option value="net.port/numeric">Port</option>
105 <option value="net.path">Database</option>
107 <input type="checkbox" id="desc" name="_desc" value="1"/>
108 <label for="desc">descending?</label>
111 <tr><td colspan="2"> </td></tr>
114 <th><input type="submit" name="_search" value="Search"/></th>
120 <input type="text" name="_count" size="4" value="10"/>
121 records, skipping the first
122 <input type="text" name="_skip" size="4" value="0"/>