Lines 109-115
Link Here
|
109 |
</li> |
109 |
</li> |
110 |
<li><label for="password">Password: </label> <input type="text" name="password" id="password" value="[% password %]" /> |
110 |
<li><label for="password">Password: </label> <input type="text" name="password" id="password" value="[% password %]" /> |
111 |
</li> |
111 |
</li> |
112 |
<li><label for="checked">Checked (searched by default): </label> <input type="text" size="1" name="checked" id="checked" value="[% checked %]" onblur="isNum(this)" /> </li> |
112 |
<li><label for="checked">Checked (searched by default): </label> |
|
|
113 |
<select name="checked" id="checked"> |
114 |
[% IF ( checked ) %] |
115 |
<option value="0">No</option> |
116 |
<option value="1" selected="selected">Yes</option> |
117 |
[% ELSE %] |
118 |
<option value="0" selected="selected">No</option> |
119 |
<option value="1">Yes</option> |
120 |
[% END %] |
121 |
</select> |
122 |
</li> |
113 |
<li><label for="rank">Rank (display order): </label> <input type="text" name="rank" id="rank" size="4" value="[% rank %]" onblur="isNum(this)" /> |
123 |
<li><label for="rank">Rank (display order): </label> <input type="text" name="rank" id="rank" size="4" value="[% rank %]" onblur="isNum(this)" /> |
114 |
</li> |
124 |
</li> |
115 |
<li><label for="syntax">Syntax (z3950 can send<br /> records in various format. Choose one): </label> |
125 |
<li><label for="syntax">Syntax (z3950 can send<br /> records in various format. Choose one): </label> |
Lines 293-313
Link Here
|
293 |
|
303 |
|
294 |
<h3>Z39.50 Servers Administration</h3> |
304 |
<h3>Z39.50 Servers Administration</h3> |
295 |
|
305 |
|
296 |
[% IF ( searchfield ) %] |
306 |
[% IF ( searchfield ) %] |
297 |
You searched for [% searchfield %] |
307 |
You searched for [% searchfield %] |
298 |
[% END %] |
308 |
[% END %] |
299 |
<table id="serverst"> |
309 |
<table id="serverst"> |
300 |
<thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Checked</th><th>Rank</th> <th>Syntax</th><th>Encoding</th><th colspan="2"> </th> |
310 |
<thead> |
301 |
</tr></thead> |
311 |
<tr> |
302 |
<tbody>[% FOREACH loo IN loop %] |
312 |
<th>Target</th> |
303 |
[% UNLESS ( loop.odd ) %] |
313 |
<th>Hostname/Port</th> |
304 |
<tr class="highlight"> |
314 |
<th>Database</th> |
305 |
[% ELSE %] |
315 |
<th>Userid</th> |
306 |
<tr> |
316 |
<th>Password</th> |
307 |
[% END %] |
317 |
<th>Checked</th> |
308 |
<td><a href="[% loo.script_name %]?op=add_form&searchfield=[% loo.name |url %]">[% loo.name %]</a></td><td>[% loo.host %]:[% loo.port %]</td><td>[% loo.db %]</td><td>[% loo.userid %]</td><td>[% loo.password %]</td><td>[% loo.checked %]</td><td>[% loo.rank %]</td> <td>[% loo.syntax %]</td><td>[% loo.encoding %]</td><td><a href="[% loo.script_name %]?op=add_form&searchfield=[% loo.name |url %]">Edit</a></td><td><a href="[% loo.script_name %]?op=delete_confirm&searchfield=[% loo.name |url %]">Delete</a></td> </tr> |
318 |
<th>Rank</th> |
309 |
[% END %]</tbody> |
319 |
<th>Syntax</th> |
310 |
</table> |
320 |
<th>Encoding</th> |
|
|
321 |
<th colspan="2"> </th> |
322 |
</tr> |
323 |
</thead> |
324 |
<tbody> |
325 |
[% FOREACH loo IN loop %] |
326 |
[% UNLESS ( loop.odd ) %] |
327 |
<tr class="highlight"> |
328 |
[% ELSE %] |
329 |
<tr> |
330 |
[% END %] |
331 |
<td><a href="[% loo.script_name %]?op=add_form&searchfield=[% loo.name |url %]">[% loo.name %]</a></td> |
332 |
<td>[% loo.host %]:[% loo.port %]</td> |
333 |
<td>[% loo.db %]</td> |
334 |
<td>[% loo.userid %]</td> |
335 |
<td>[% loo.password %]</td> |
336 |
<td>[% IF ( loo.checked ) %]Yes[% ELSE %]No[% END %]</td> |
337 |
<td>[% loo.rank %]</td> |
338 |
<td>[% loo.syntax %]</td> |
339 |
<td>[% loo.encoding %]</td> |
340 |
<td><a href="[% loo.script_name %]?op=add_form&searchfield=[% loo.name |url %]">Edit</a></td> |
341 |
<td><a href="[% loo.script_name %]?op=delete_confirm&searchfield=[% loo.name |url %]">Delete</a></td> |
342 |
</tr> |
343 |
[% END %] |
344 |
</tbody> |
345 |
</table> |
311 |
|
346 |
|
312 |
[% IF ( offsetgtzero ) %]<form action="[% script_name %]" method="get"> |
347 |
[% IF ( offsetgtzero ) %]<form action="[% script_name %]" method="get"> |
313 |
<input type="hidden" name="offset" value="[% prevpage %]" /> |
348 |
<input type="hidden" name="offset" value="[% prevpage %]" /> |
314 |
- |
|
|