5f4542992a
previously, it wasn't possible to insert anything into the <head> on an individual template unless it was the title of the page. Now, the structure is a bit more flexible to allow additional head elements to be included.
102 lines
4.7 KiB
Cheetah
102 lines
4.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › System Administration › <!-- TMPL_IF name="add_form" --><!-- TMPL_VAR name="action" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="delete_confirm" -->Confirm Deletion<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="else" -->Authorised values admin<!-- /TMPL_IF --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
|
|
<!-- TMPL_INCLUDE NAME="menus.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
|
|
|
|
<!-- TMPL_IF name="add_form" -->
|
|
<h1>
|
|
<!-- TMPL_IF name="action_modify" -->Modify authorised value<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="action_add_value" -->Add authorised value<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="action_add_category" -->Add category<!-- /TMPL_IF -->
|
|
</h1>
|
|
<form class="inline" action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
|
|
<input type="hidden" name="op" value="add_validate" />
|
|
<table>
|
|
<tr>
|
|
<th><label for="category">Category</label></th>
|
|
<td><!-- TMPL_VAR name="category" --></td>
|
|
</tr>
|
|
<tr>
|
|
<th><label for="authorised_value">Authorised value</label></th>
|
|
<td><input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" /></td>
|
|
</tr>
|
|
<tr>
|
|
<th><label for="lib">Description</label></th>
|
|
<td><input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" /></td>
|
|
</tr>
|
|
</table>
|
|
<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
|
|
<input type="submit" value="Save" />
|
|
</form>
|
|
<form class="inline" action="/cgi-bin/koha/admin/authorised_values.pl" method="get"><input type="submit" value="Cancel and Return to Authorized Values" /></form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_IF name="delete_confirm" -->
|
|
<!-- -->
|
|
<h3>Confirm Deletion</h3>
|
|
<table>
|
|
<tr>
|
|
<td>Variable</td>
|
|
<td>Description</td>
|
|
<td><!-- TMPL_VAR name="searchfield" --></td>
|
|
</tr>
|
|
<tr><td>Value</td><td><!-- TMPL_VAR name="Tvalue" --></td></tr>
|
|
</table>
|
|
<form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
|
|
<input type="hidden" name="op" value="delete_confirmed" />
|
|
<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
|
|
<input type="hidden" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->" /><input type="submit" value="Confirm Deletion" /></form> <form class="inline" action="<!-- TMPL_VAR name="script_name" -->" method="post"><input type="submit" value="Do Not Delete" /></form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- -->
|
|
<!-- TMPL_IF name="else" -->
|
|
|
|
<h1>Authorised values admin</h1>
|
|
<p>This table is used in MARC definition. You can define as many categories as you want, and as many authorised values as you want in each category.</p>
|
|
<p>When you define the MARC subfield structure, you can link a subfield to a authorised-value category. When the user ask for adding of modifying a biblio,
|
|
the subfield is not entered through a free field, but though a list of authorised values</p>
|
|
<form action="/cgi-bin/koha/admin/authorised_values.pl" method="post"><label for="searchfield">Show Category: </label><!-- TMPL_VAR name="tab_list" --> <input type="submit" value="Submit" /></form>
|
|
<table>
|
|
<tr>
|
|
<th>Category</th>
|
|
<th>Authorised value</th>
|
|
<th>Description</th>
|
|
<th>Edit</th>
|
|
<th>Delete</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP name="loop" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR name="category" --></td>
|
|
<td><!-- TMPL_VAR name="authorised_value" --></td>
|
|
<td><!-- TMPL_VAR name="lib" --></td>
|
|
<td><a href="<!-- TMPL_VAR name="edit" -->">Edit</a></td>
|
|
<td><a href="<!-- TMPL_VAR name="delete" -->">Delete</a></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
|
|
<!-- TMPL_IF NAME="isprevpage" -->
|
|
<form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
|
|
<input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
|
|
<input type="submit" value="<< Previous Page" /></form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<div id="action">
|
|
<a href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=<!-- TMPL_VAR NAME="category" -->">Add Authorised value for <!-- TMPL_VAR name="category" --></a>
|
|
<a href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form">Add New Category</a>
|
|
</div>
|
|
|
|
<!-- TMPL_IF NAME="nextpage" -->
|
|
<form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
|
|
<input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
|
|
<input type="submit" value="Next Page >>" /></form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|