e0090dcdaa
template. improved: C4::Output::pagination_bar builds an HTML pagination bar with no language dependency. This function hugely simplifies templates and offers a standard pagination method. This function also improves preformances.
105 lines
3.3 KiB
Cheetah
105 lines
3.3 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
Koha -- Authorities
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
|
|
<!-- TMPL_INCLUDE NAME="menus.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
|
|
|
|
<fieldset id="authorities_authorities_home_search">
|
|
<legend>Authority search</legend>
|
|
|
|
<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" method="post">
|
|
<input type="hidden" name="op" value="do_search">
|
|
<input type="hidden" name="type" value="intranet">
|
|
<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
|
|
|
|
<table>
|
|
<tr>
|
|
<th>
|
|
<label for="authtypecode">Search on</label>
|
|
</th>
|
|
<td colspan="2">
|
|
<select id="authtypecode" name="authtypecode">
|
|
<!-- TMPL_LOOP NAME="authtypesloop" -->
|
|
<!-- TMPL_IF name="selected" -->
|
|
<option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="authtypetext" --></option>
|
|
<!-- TMPL_ELSE -->
|
|
<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
<label for="value_mainentry">Main entry</label>
|
|
<input type="hidden" name="marclist" value="mainentry">
|
|
<input type="hidden" name="and_or" value="and">
|
|
<input type="hidden" name="excluding" value="">
|
|
</th>
|
|
<td>
|
|
<select name="operator">
|
|
<option value="contains">contains</option>
|
|
<option value="start">start by</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<input id="value_mainentry" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>
|
|
<label for="value_anywhere">Anywhere</label>
|
|
<input type="hidden" name="marclist" value="">
|
|
<input type="hidden" name="and_or" value="and">
|
|
<input type="hidden" name="excluding" value="">
|
|
</th>
|
|
<td>
|
|
<select name="operator">
|
|
<option value="contains">contains</option>
|
|
<option value="start">start by</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<input id="value_anywhere" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div id="action">
|
|
<input type="submit" value="Start search">
|
|
</div>
|
|
</form>
|
|
</fieldset>
|
|
|
|
<fieldset id="authorities_authorities_home_add">
|
|
<legend>Add authority</legend>
|
|
|
|
<form name="f2" method="post" action="authorities.pl">
|
|
<table>
|
|
<tr>
|
|
<th>
|
|
<label for="add_authtypecode">Authority type</label>
|
|
</th>
|
|
<td>
|
|
<select id="add_authtypecode" name="authtypecode">
|
|
<!-- TMPL_LOOP name="authtypesloop" -->
|
|
<!-- TMPL_IF name="selected" -->
|
|
<option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="authtypetext" --></option>
|
|
<!-- TMPL_ELSE -->
|
|
<option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="authtypetext" --></option>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div id="action">
|
|
<input type="submit" value="Add" class="button authority">
|
|
</div>
|
|
</form>
|
|
</fieldset>
|
|
|
|
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
|