151 lines
6 KiB
Cheetah
151 lines
6 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: Thesaurus Management
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
|
|
<!-- TMPL_INCLUDE NAME="menus.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
|
|
|
|
<!-- TMPL_IF name="detail_form" -->
|
|
<table>
|
|
<caption>Thesaurus management</caption>
|
|
<tr>
|
|
<td>Values related to <!-- TMPL_VAR name="stdlib" --> (<!-- TMPL_VAR name="category" -->)</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Other forms</th>
|
|
<th> </th>
|
|
<th> </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" -->" />
|
|
<input type="submit" value="Add thesaurus entry" />
|
|
</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" 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>lib</td>
|
|
<td><!-- TMPL_VAR name="search_category" --></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">CONFIRM DELETION of this entry and all entries depending on this one</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>Dig: see data dependent on this one</li>
|
|
<li>Related: see other forms of this authority entry</li>
|
|
</ul>
|
|
<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" /></form>
|
|
<form action="/cgi-bin/koha/admin/thesaurus.pl" method="get"><input type="hidden" value="add_form" name="op" /><input type="submit" value="New Category" /></form>
|
|
|
|
<!-- 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> </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> </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" -->">Edit</a></td>
|
|
<td><a href="<!-- TMPL_VAR name="delete" -->">Delete</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" value="Add Thesaurus entry" />
|
|
</form></p>
|
|
<!-- TMPL_VAR name="previous" --> <!-- TMPL_VAR name="next" -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|