Koha/koha-tmpl/intranet-tmpl/npl/en/parameters/thesaurus.tmpl

153 lines
6.5 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: Thesaurus Management
<!-- TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="admin-topmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
<div id="main">
<!-- TMPL_IF name="detail_form" -->
<!-- -->
<h1>Thesaurus management</h1><table>
<tr><td>&nbsp;</td></tr>
<tr>
<td><b>Values related to <!-- TMPL_VAR name="stdlib" --> (<!-- TMPL_VAR name="category" -->)</b></td>
</tr>
</table>
<br/><br/>
<table>
<tr>
<th>Other forms</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
<!-- TMPL_LOOP name="loop" -->
<tr>
<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="submit" value="Add thesaurus entry" /><br>
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="add_form" -->
<!-- -->
<form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
<h1><!-- TMPL_IF name="search_category" -->Add<!-- TMPL_ELSE -->Modify<!-- /TMPL_IF --></h1><!-- TMPL_IF name="search_category" -->
<input type="hidden" name="op" value="add_validate" />
<!-- TMPL_ELSE -->
<input type="hidden" name="op" value="mod_validate" />
<!-- /TMPL_IF --><table>
<tr>
<td>Category</td>
<td><!-- TMPL_VAR name="category" --></td>
</tr>
<tr>
<td>Authority lib</td>
<!-- TMPL_IF name="id" -->
<td><!-- TMPL_VAR name="father" --><!-- TMPL_VAR name="stdlib" --><input type="hidden" name="stdlib" value="<!-- TMPL_VAR name="stdlib" -->" /></td>
<!-- TMPL_ELSE -->
<td><!-- TMPL_VAR name="father" --><input type="text" name="stdlib" value="<!-- TMPL_VAR name="stdlib" escape="HTML" -->" maxlength="80" size="80" /></td>
<!-- /TMPL_IF -->
</tr>
<tr>
<td>Other lib</td>
<td><!-- TMPL_VAR name="father" --><input type="text" name="freelib" value="<!-- TMPL_VAR name="freelib" escape="HTML" -->" maxlength="80" size="80" /></td>
</tr>
</table>
<p><input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
<input type="hidden" name="father" value="<!-- TMPL_VAR name="father" escape="HTML" -->" />
<input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" escape="HTML" -->" />
<input type="hidden" name="search_category" value="<!-- TMPL_VAR name="search_category" -->" />
<input type="hidden" name="searchstring" value="<!-- TMPL_VAR name="searchstring" escape="HTML" -->" />
<input type="hidden" name="offset" value="<!-- TMPL_VAR name="offset" -->" />
<input type="submit" class="submit" value="<!-- TMPL_IF name="search_category" -->Add<!-- TMPL_ELSE -->Modify<!-- /TMPL_IF --> Value" /></p></form>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="delete_confirm" -->
<!-- -->
<table>
<tr>
<td><b>lib</b></td>
<td><b><!-- TMPL_VAR name="search_category" --></b></td>
</tr>
<tr><td>Value</td><td><!-- TMPL_VAR name="Tvalue" --></td></tr>
<tr><td>
<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>
<tr><td colspan=2 align=center>CONFIRM DELETION of this entry <b>and all entries depending on this one</b></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>
</table>
<!-- /TMPL_IF -->
<!-- -->
<!-- TMPL_IF name="else" -->
<h1>Thesaurus management</h1>
<p>Manages thesaurus and authorities files.</p>
<ul>
<li><b>Dig</b>: see data dependent on this one</li>
<li><b>Related</b>: see other forms of this authority entry</li>
</ul>
<div class="tabitem"> <form action="/cgi-bin/koha/admin/thesaurus.pl" method="post">
<!-- TMPL_VAR name="tab_list" -->
<input type="text" name="searchstring" value="<!-- TMPL_VAR name="searchstring" -->" />
<input type="submit" value="OK" class="submit" /></form>
<form action="/cgi-bin/koha/admin/thesaurus.pl" method="get"><input type="hidden" value="add_form" name="op" /><input type="submit" class="submit" value="New Category" /></form></div>
<!-- TMPL_LOOP name="hierarchy_loop" -->
<a href="thesaurus.pl?branch=<!-- TMPL_VAR name="branch" -->&search_category=<!-- TMPL_VAR name="category" -->"><!-- TMPL_VAR name="string" --></a><br />
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="loop" -->
<table>
<tr>
<th>&nbsp;</th>
<th>Free form</th>
<th>Authority</th>
<th>Dig</th>
<th>Related</th>
<th>Edit</th>
<th>Delete</th>
</tr> <!-- TMPL_LOOP name="loop" -->
<tr>
<td>&nbsp;</td>
<td><!-- TMPL_VAR name="freelib" --></td>
<td><!-- TMPL_VAR name="father" --> <!-- 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" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0" /></a></td>
<td><a href="<!-- TMPL_VAR name="delete" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0" /></a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<p> <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_form" />
</p>
<p><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="branch" value="<!-- TMPL_VAR name="branch" -->" />
<input type="hidden" name="father" value="<!-- TMPL_VAR name="father" -->" />
<input type="submit" class="submit" value="Add Thesaurus entry" />
</form></p>
<!-- TMPL_VAR name="previous" --> <!-- TMPL_VAR name="next" -->
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->