-%# $Id: find.mc,v 1.7 2006-12-01 14:51:19 mike Exp $
+%# $Id: find.mc,v 1.11 2007-03-29 17:14:47 mike Exp $
% if ($r->param("_search")) {
% $m->comp("found.mc");
% } else {
<p>
Choose one or more critera by which to search for registered
targets, then press the <b>Search</b> button.
+<& /help/link.mc, help => "find" &>
</p>
<form method="get" action="">
<table class="searchform">
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
+ <th>Name</th>
+ <td><input type="text" name="dc.title" size="40"/></td>
+ </tr>
+ <tr>
+ <th>Country</th>
+ <td>
+ <select name="zeerex.country" size="1">
+% my $options = $m->comp("country-list.mc");
+% foreach my $option (@$options) {
+ <option value="<% xml_encode(cql_quote($option)) %>"><%
+ xml_encode($option) %></option>
+% }
+ </select>
+ </td>
+ </tr>
+ <tr><td colspan="2"> </td></tr>
+ <tr>
<th>Protocol</th>
<td>
<select name="net.protocol" size="1">
</td>
</tr>
<tr>
+ <th>Host</th>
+ <td><input type="text" name="net.host" size="40"/></td>
+ </tr>
+ <tr>
+ <th>Port</th>
+ <td><input type="text" name="net.port" size="5"/></td>
+ </tr>
+ <tr>
+ <th>Database Name</th>
+ <td><input type="text" name="net.path" size="20"/></td>
+ </tr>
+<%doc>
+ <tr><td colspan="2"> </td></tr>
+ <tr>
<th>Version</th>
<td><input type="text" name="net.version" size="5"/></td>
</tr>
</select>
</td>
</tr>
+</%doc>
<tr><td colspan="2"> </td></tr>
<tr>
- <th>Host</th>
- <td><input type="text" name="net.host" size="40"/></td>
- </tr>
- <tr>
- <th>Port</th>
- <td><input type="text" name="net.port" size="5"/></td>
- </tr>
- <tr>
- <th>Database</th>
- <td><input type="text" name="net.path" size="20"/></td>
+ <th>Type of Library</th>
+ <td>
+ <select name="zeerex.libType" size="1">
+% $options = $m->comp("libtype-list.mc");
+% foreach my $option (@$options) {
+ <option value="<% xml_encode($option) %>"><%
+ xml_encode($option) %></option>
+% }
+ </select>
+ </td>
</tr>
- <tr><td colspan="2"> </td></tr>
<tr>
- <th>Title</th>
- <td><input type="text" name="dc.title" size="40"/></td>
+ <th>Description</th>
+ <td><input type="text" name="dc.description" size="40"/></td>
</tr>
<tr>
<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"> </td></tr>
<tr>
<th>Sort by</th>