72f8328b0a
thesaurus / authorities support
133 lines
5.4 KiB
Cheetah
133 lines
5.4 KiB
Cheetah
<TMPL_INCLUDE NAME="cat-top.inc">
|
|
|
|
<TMPL_IF name="detail_form">
|
|
<!-------------------------------------------------------------------------------------------------->
|
|
<font SIZE=6><em>Thesaurus management</em></font><br />
|
|
<table border=0 cellspacing=0 cellpadding=5>
|
|
<tr valign=top bgcolor=#99cc33>
|
|
<td background="/images/background-mem.gif"><b>Values related to <TMPL_VAR name="stdlib"> (<TMPL_VAR name="category">)</b></td>
|
|
</tr>
|
|
</table>
|
|
<br/><br/>
|
|
<table border=0 cellspacing=0 cellpadding=5>
|
|
<tr valign=top bgcolor=#99cc33>
|
|
<td background="/images/background-mem.gif"><b>Other forms</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="freelib"></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>
|
|
<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">">
|
|
<input type="hidden" name="stdlib" value="<TMPL_VAR name="stdlib">">
|
|
<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_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 cellpadding=3 cellspacing=3>
|
|
<tr>
|
|
<td>Category</td>
|
|
<td><TMPL_VAR name="category"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Authority lib</td>
|
|
<td><input type=text name="stdlib" value='<TMPL_VAR name="stdlib">' maxlength="80" size="80"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Other lib</td>
|
|
<td><input type=text name="freelib" value='<TMPL_VAR name="freelib">' maxlength="80" size="80"></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=5>
|
|
<tr valign=top bgcolor=#99cc33>
|
|
<td background="/images/background-mem.gif"><b>lib</b></td>
|
|
<td background="/images/background-mem.gif"><b><TMPL_VAR name="search_category"></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="search_category" value="<TMPL_VAR name="search_category">">
|
|
<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>Thesaurus management</em></font>
|
|
<p>Manages thesaurus and authorities files.<br />
|
|
<ul>
|
|
<b>Dig</b> : see datas depending from this one<br />
|
|
<b>Related</b> : see other forms of this authority entry</p>
|
|
</ul>
|
|
<form action=/cgi-bin/koha/admin/thesaurus.pl method=post>
|
|
<TMPL_VAR name="tab_list">
|
|
<input type="checkbox" name="toponly" value="1" <TMPL_IF name="toponly">checked</TMPL_IF>>Top hierarchy only
|
|
<input type="text" name="searchstring" value="<TMPL_VAR name="searchstring">">
|
|
<input type="submit" value="OK">
|
|
<a href="thesaurus.pl?op=add_form">New category...</a>
|
|
</form>
|
|
<TMPL_VAR name="search_category">
|
|
<TMPL_LOOP name="hierarchy_loop">
|
|
<a href="thesaurus.pl?branch=<TMPL_VAR name="branch">"><TMPL_VAR name="string"></a><br />
|
|
</TMPL_LOOP>
|
|
<table border=0 cellspacing=0 cellpadding=5>
|
|
<tr valign=top bgcolor=#99cc33>
|
|
<td background="/images/background-mem.gif" width="10%"> </td>
|
|
<td background="/images/background-mem.gif" width="50%"><b>Authority</b></td>
|
|
<td background="/images/background-mem.gif" width="10%"><b>Dig</b></td>
|
|
<td background="/images/background-mem.gif" width="10%"><b>Related</b></td>
|
|
<td background="/images/background-mem.gif" width="10%"> </td>
|
|
<td background="/images/background-mem.gif" width="10%"> </td>
|
|
<TMPL_LOOP name="loop">
|
|
</tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
|
|
<td> </td>
|
|
<td><TMPL_VAR name="stdlib"></td>
|
|
<td><TMPL_VAR name="dig">Dig</a></td>
|
|
<td><TMPL_VAR name="related">Related</a></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">
|