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