templates modified : ALL <TMPL_* XX> have been replaced by <!-- TMPL_* XX -->, becaus...
[koha.git] / koha-tmpl / intranet-tmpl / default / en / 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="thesaurus_popup.pl" method="post">
7                 <textarea name="result" rows=10 cols=60><!-- TMPL_VAR name="result" --></textarea></br>
8                 <br/><input type="button" value="OK" onClick="javascript:report()">
9                 <p>
10                         <input type="text" name="search_string" value="<!-- TMPL_VAR name="search_string" -->">
11                         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
12                         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
13                         <input type="hidden" name="op" value="search">
14                         <input type="submit" value="Search">
15                 </p>
16         </form>
17 <!-- TMPL_IF name="search_string" -->
18         <form name="f2_pop" action="thesaurus_popup.pl" method="post">
19         <!-- TMPL_VAR name="select_list" -->
20         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
21         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
22         <input type="hidden" name="op" value="select">
23         <input type="hidden" name="result" value="<!-- TMPL_VAR name="result" -->">
24         <input type="submit" name="OK" value="OK">
25         </form>
26 <!-- /TMPL_IF -->
27 <form name="f3_pop"  action="thesaurus_popup.pl" method="post">
28         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
29         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
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>