small gui fixes
[koha.git] / koha-tmpl / intranet-tmpl / default / en / parameters / thesaurus.tmpl
1 <TMPL_INCLUDE NAME="parameters-top.inc">
2 <TMPL_IF NAME="loggedinuser">
3     <p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/mainpage.pl?logout.x=1>Log Out</a>]</p>
4 <TMPL_ELSE>
5     <p align=left><a href=/cgi-bin/koha/opac-user.pl>Log In</a> to Koha</p>
6 </TMPL_IF>
7
8 <TMPL_IF name="detail_form">
9         <!-------------------------------------------------------------------------------------------------->
10         <font SIZE=6><em>Thesaurus management</em></font><br />
11         <table border=0 cellspacing=0 cellpadding=2>
12         <tr valign=top bgcolor=#99cc33>
13                 <td  background="/images/background-mem.gif"><b>Values related to <TMPL_VAR name="stdlib"> (<TMPL_VAR name="category">)</b></td>
14         </tr>
15         </table>
16         <br/><br/>
17         <table border=0 cellspacing=0 cellpadding=2>
18         <tr valign=top bgcolor=#99cc33>
19                 <td background="/images/background-mem.gif"><b>Other forms</b></td>
20                 <td background="/images/background-mem.gif">&nbsp;</td>
21                 <td background="/images/background-mem.gif">&nbsp;</td>
22         <TMPL_LOOP name="loop">
23         </tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
24                 <td><TMPL_VAR name="freelib"></td>
25                 <td><a href="<TMPL_VAR name="edit">">Edit</a></td>
26                 <td><a href="<TMPL_VAR name="delete">">Delete</a></td>
27         </tr>
28         </TMPL_LOOP>
29         <form action='<TMPL_VAR name="script_name">' method=post>
30         <input type=hidden name=op value=add_form>
31         </table>
32         <form action='<TMPL_VAR name="script_name">' method=post>
33         <input type="hidden" name="op" value="add_form">
34         <input type="hidden" name="category" value="<TMPL_VAR name="category">">
35         <input type="hidden" name="stdlib" value="<TMPL_VAR name="stdlib">">
36         <br><input type=image src="/images/button-add-new.gif"  WIDTH=188  HEIGHT=44  ALT="Add budget" BORDER=0 ></a><br>
37         </form>
38 </TMPL_IF>
39
40 <TMPL_IF name="add_form">
41 <!-------------------------------------------------------------------------------------------------->
42         <H1><TMPL_VAR name="action"></H1>
43         <form action='<TMPL_VAR name="script_name">' name=Aform method=post>
44         <input type=hidden name=op value='add_validate'>
45         <table cellpadding=3 cellspacing=3>
46         <tr>
47                 <td>Category</td>
48                 <td><TMPL_VAR name="category"></td>
49         </tr>
50         <tr>
51                 <td>Authority lib</td>
52                 <td><TMPL_VAR name="father"><input type="text" name="stdlib" value="<TMPL_VAR name="stdlib">" maxlength="80" size="80"></td>
53         </tr>
54         <tr>
55                 <td>Other lib</td>
56                 <td><TMPL_VAR name="father"><input type="text" name="freelib" value="<TMPL_VAR name="freelib">" maxlength="80" size="80"></td>
57         </tr>
58         <tr>
59                 <td>&nbsp;</td>
60                 <td><input type="hidden" name="id" value="<TMPL_VAR name="id">">
61                         <input type="hidden" name="father" value="<TMPL_VAR name="father">">
62                         <input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
63                         <input type="hidden" name="toponly" value="<TMPL_VAR name="toponly">">
64                         <input type="hidden" name="search_category" value="<TMPL_VAR name="search_category">">
65                         <input type="hidden" name="searchstring" value="<TMPL_VAR name="searchstring">">
66                         <input type="hidden" name="offset" value="<TMPL_VAR name="offset">">
67                         <INPUT type="submit" value='OK'></td>
68         </tr>
69         </table>
70         </form>
71 </TMPL_IF>
72
73
74 <TMPL_IF name="delete_confirm">
75 <!-------------------------------------------------------------------------------------------------->
76         <table border=0 cellspacing=0 cellpadding=2>
77                 <tr valign=top bgcolor=#99cc33>
78                         <td background="/images/background-mem.gif"><b>lib</b></td>
79                         <td background="/images/background-mem.gif"><b><TMPL_VAR name="search_category"></b></td>
80                 </tr>
81                 <tr><td>Value</td><td><TMPL_VAR name="Tvalue"></td></tr>
82                 <tr><td>
83                         <form action='<TMPL_VAR name="script_name">' method=post>
84                                 <input type=hidden name=op value=delete_confirmed>
85                                 <input type=hidden name=id value='<TMPL_VAR name="id">'>
86                                 <input type="hidden" name="search_category" value="<TMPL_VAR name="search_category">">
87                 </tr></td>
88                 <tr><td colspan=2 align=center>CONFIRM DELETION of this entry <b>and all entries depending from this one</b></td></tr>
89                 <tr><td><INPUT type=submit value='YES'></form></td>
90                                 <td><form action='<TMPL_VAR name="script_name">' method=post><input type=submit value=NO></form></td></tr>
91         </table>
92 </TMPL_IF>
93
94 <!-------------------------------------------------------------------------------------------------->
95 <TMPL_IF name="else">
96         <font SIZE=6><em>Thesaurus management</em></font>
97         <p>Manages thesaurus and authorities files.<br />
98         <ul>
99                 <b>Dig</b> : see datas depending from this one<br />
100                 <b>Related</b> : see other forms of this authority entry</p>
101         </ul>
102         <form action='<TMPL_VAR name="script_name">' method=post>
103         <input type="hidden" name="op" value="add_form">
104         <input type="hidden" name="category" value="<TMPL_VAR name="category">">
105         <input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
106         <input type="hidden" name="father" value="<TMPL_VAR name="father">">
107         <br><input type=image src="/images/button-add-new.gif"  WIDTH=188  HEIGHT=44  ALT="Add budget" BORDER=0 ></a><br>
108         </form>
109         <form action="/cgi-bin/koha/admin/thesaurus.pl" method="post">
110                 <TMPL_VAR name="tab_list">
111                 <input type="checkbox" name="toponly" value="1" <TMPL_IF name="toponly">checked</TMPL_IF>>Top hierarchy only
112                 <input type="text" name="searchstring" value="<TMPL_VAR name="searchstring">">
113                 <input type="submit" value="OK">
114                 <a href="thesaurus.pl?op=add_form">New category...</a>
115         </form>
116         <TMPL_LOOP name="hierarchy_loop">
117                 <a href="thesaurus.pl?branch=<TMPL_VAR name="branch">&search_category=<TMPL_VAR name="category">"><TMPL_VAR name="string"></a><br />
118         </TMPL_LOOP>
119         <table border=0 cellspacing=0 cellpadding=0>
120         <tr valign=top bgcolor=#99cc33>
121                 <td background="/images/background-mem.gif" width="5%">&nbsp;</td>
122                 <td background="/images/background-mem.gif"><b>free form</b></td>
123                 <td background="/images/background-mem.gif"><b>Authority</b></td>
124                 <td background="/images/background-mem.gif" width="5%"><b>Dig</b></td>
125                 <td background="/images/background-mem.gif" width="5%"><b>Related</b></td>
126                 <td background="/images/background-mem.gif" width="5%">&nbsp;</td>
127                 <td background="/images/background-mem.gif" width="5%">&nbsp;</td>
128         <TMPL_LOOP name="loop">
129         </tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
130                 <td>&nbsp;</td>
131                 <td><TMPL_VAR name="freelib"></td>
132                 <td><TMPL_VAR name="father"> <TMPL_VAR name="stdlib"></td>
133                 <td><TMPL_VAR name="dig">Dig</a></td>
134                 <td><TMPL_VAR name="related">Related</a></td>
135                 <td><a href="<TMPL_VAR name="edit">">Edit</a></td>
136                 <td><a href="<TMPL_VAR name="delete">">Delete</a></td>
137         </tr>
138         </TMPL_LOOP>
139         <form action='<TMPL_VAR name="script_name">' method=post>
140         <input type=hidden name=op value=add_form>
141         </table>
142         <table width=40%>
143                 <tr>
144                         <td width=50%><TMPL_VAR name="previous"></td>
145                         <td width=50%><TMPL_VAR name="next"></td>
146                 </tr>
147         </table>
148 </TMPL_IF>
149
150 <TMPL_INCLUDE NAME="parameters-bottom.inc">