96 lines
4.1 KiB
Cheetah
96 lines
4.1 KiB
Cheetah
<TMPL_INCLUDE NAME="cat-top.inc">
|
|
<TMPL_IF NAME="loggedinuser">
|
|
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/mainpage.pl?logout.x=1>Log Out</a>]</p>
|
|
<TMPL_ELSE>
|
|
<p align=left><a href=/cgi-bin/koha/opac-user.pl>Log In</a> to Koha</p>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_IF name="add_form">
|
|
<!-------------------------------------------------------------------------------------------------->
|
|
<H1><TMPL_VAR name="action"></H1>
|
|
<form action='<TMPL_VAR name="script_name">' name=Aform method=post>
|
|
<input type=hidden name=op value='add_validate'>
|
|
<table>
|
|
<tr>
|
|
<td>Category</td>
|
|
<td><TMPL_VAR name="category"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Authorised value</td>
|
|
<td><input type=text name="authorised_value" value='<TMPL_VAR name="authorised_value">'></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Lib</td>
|
|
<td><input type=text name="lib" value='<TMPL_VAR name="lib">'></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td><input type="hidden" name="id" value="<TMPL_VAR name="id">">
|
|
<INPUT type="submit" value='OK'></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</TMPL_IF>
|
|
|
|
|
|
<TMPL_IF name="delete_confirm">
|
|
<!-------------------------------------------------------------------------------------------------->
|
|
<table border=0 cellspacing=0 cellpadding=2>
|
|
<tr valign=top bgcolor=#99cc33>
|
|
<td background="/images/background-mem.gif"><b>Variable</b></td>
|
|
<td background="/images/background-mem.gif"><b>Lib</b></td>
|
|
<td background="/images/background-mem.gif"><b><TMPL_VAR name="searchfield"></b></td>
|
|
</tr>
|
|
<tr><td>Value</td><td><TMPL_VAR name="Tvalue"></td></tr>
|
|
<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">">
|
|
<tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
|
|
<tr><td><INPUT type=submit value='YES'></form></td>
|
|
<td><form action='<TMPL_VAR name="script_name">' method=post><input type=submit value=NO></form></td></tr>
|
|
</TMPL_IF>
|
|
|
|
<!-------------------------------------------------------------------------------------------------->
|
|
<TMPL_IF name="else">
|
|
<font SIZE=6><em>Authorised values admin</em></font>
|
|
<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>
|
|
<TMPL_VAR name="tab_list"><input type="submit" value="OK"> <a href="authorised_values.pl?op=add_form">New category...</a>
|
|
</form>
|
|
<TMPL_VAR name="searchfield">
|
|
<table border=0 cellspacing=0 cellpadding=2>
|
|
<tr valign=top bgcolor=#99cc33>
|
|
<td background="/images/background-mem.gif"><b>Category</b></td>
|
|
<td background="/images/background-mem.gif"><b>Authorised value</b></td>
|
|
<td background="/images/background-mem.gif"><b>Lib</b></td>
|
|
<td background="/images/background-mem.gif"> </td>
|
|
<td background="/images/background-mem.gif"> </td>
|
|
<TMPL_LOOP name="loop">
|
|
</tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
|
|
<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>
|
|
<form action='<TMPL_VAR name="script_name">' method=post>
|
|
<input type=hidden name=op value=add_form>
|
|
</table>
|
|
<table width=40%>
|
|
<tr>
|
|
<td width=50%><TMPL_VAR name="previous"></td>
|
|
<td width=50%><TMPL_VAR name="next"></td>
|
|
</tr>
|
|
</table>
|
|
<form action='<TMPL_VAR name="script_name">' method=post>
|
|
<input type="hidden" name="op" value="add_form">
|
|
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
|
|
<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br>
|
|
</form>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_INCLUDE NAME="cat-bottom.inc">
|