rel_3_0 moved to HEAD (introducing new files)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / cataloguing / thesaurus_popup.tmpl
1         <html>
2         <head>
3         <title>Thesaurus value builder for category <!-- TMPL_VAR name="category" --></title>
4         </head>
5         <body>
6         <form name="f_pop" action="cataloguing/thesaurus_popup.pl" method="post">
7         <textarea name="result" rows=10 cols=60><!-- TMPL_VAR name="result" --></textarea></br>
8         <p><input type="text" name="search_string" value="<!-- TMPL_VAR name="search_string" -->">
9         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
10         <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
11         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
12         <input type="hidden" name="op" value="search">
13         <input type="submit" value="Search">
14         <input type="button" value="OK" onClick="javascript:report()">
15         </form>
16 <!-- TMPL_IF name="search_string" -->
17         <form name="f2_pop" action="cataloguing/thesaurus_popup.pl" method="post">
18         <!-- TMPL_VAR name="select_list" -->
19         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->"> <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
20         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
21         <input type="hidden" name="op" value="select">
22         <input type="hidden" name="result" value="<!-- TMPL_VAR name="result" -->">
23         <input type="submit" name="OK" value="OK">
24         </form>
25 <!-- /TMPL_IF -->
26         <form name="f3_pop"  action="cataloguing/thesaurus_popup.pl" method="post">
27         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
28         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
29         <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR NAME="nohierarchy" -->">
30         <input type="hidden" name="op" value="add">
31         insert a new authority : <input type="text" name="insert">
32         <input type="submit" name="NEW" value="NEW">
33         </form>
34                 <script>
35                 function report() {
36                         opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
37                         self.close();
38                         return false;
39                 }
40                 </script>
41                 </body>
42                 </html>