Koha/koha-tmpl/intranet-tmpl/default/en/parameters/thesaurus.tmpl
2002-12-10 17:34:24 +00:00

150 lines
6.6 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="detail_form">
<!-------------------------------------------------------------------------------------------------->
<font SIZE=6><em>Thesaurus management</em></font><br />
<table border=0 cellspacing=0 cellpadding=2>
<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=2>
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif"><b>Other forms</b></td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">&nbsp;</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><TMPL_VAR name="father"><input type="text" name="stdlib" value="<TMPL_VAR name="stdlib">" maxlength="80" size="80"></td>
</tr>
<tr>
<td>Other lib</td>
<td><TMPL_VAR name="father"><input type="text" name="freelib" value="<TMPL_VAR name="freelib">" maxlength="80" size="80"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="hidden" name="id" value="<TMPL_VAR name="id">">
<input type="hidden" name="father" value="<TMPL_VAR name="father">">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="toponly" value="<TMPL_VAR name="toponly">">
<input type="hidden" name="search_category" value="<TMPL_VAR name="search_category">">
<input type="hidden" name="searchstring" value="<TMPL_VAR name="searchstring">">
<input type="hidden" name="offset" value="<TMPL_VAR name="offset">">
<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>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>
<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 from 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">
<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='<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">">
<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br>
</form>
<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_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>
<table border=0 cellspacing=0 cellpadding=0>
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif" width="5%">&nbsp;</td>
<td background="/images/background-mem.gif"><b>free form</b></td>
<td background="/images/background-mem.gif"><b>Authority</b></td>
<td background="/images/background-mem.gif" width="5%"><b>Dig</b></td>
<td background="/images/background-mem.gif" width="5%"><b>Related</b></td>
<td background="/images/background-mem.gif" width="5%">&nbsp;</td>
<td background="/images/background-mem.gif" width="5%">&nbsp;</td>
<TMPL_LOOP name="loop">
</tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
<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">">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>
</TMPL_IF>
<TMPL_INCLUDE NAME="cat-bottom.inc">