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