Template for 100a field plugin
[koha.git] / koha-tmpl / intranet-tmpl / default / zh-TW / thesaurus_popup.tmpl
1 <html>
2 <head>
3         <title>類別 <!-- 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="好!" 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="nohierarchy" value="<!-- TMPL_VAR name="nohierarchy" -->">
13                         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
14                         <input type="hidden" name="op" value="search">
15                         <input type="submit" value="查詢">
16                 </p>
17         </form>
18 <!-- TMPL_IF name="search_string" -->
19         <form name="f2_pop" action="thesaurus_popup.pl" method="post">
20         <!-- TMPL_VAR name="select_list" -->
21         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
22         <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR name="nohierarchy" -->">
23         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
24         <input type="hidden" name="op" value="select">
25         <input type="hidden" name="result" value="<!-- TMPL_VAR name="result" -->">
26         <input type="submit" name="OK" value="好!">
27         </form>
28 <!-- /TMPL_IF -->
29 <form name="f3_pop"  action="thesaurus_popup.pl" method="post">
30         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
31         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
32         <input type="hidden" name="nohierarchy" value="<!-- TMPL_VAR name="nohierarchy" -->">
33         <input type="hidden" name="op" value="add">
34         插入一個新權威: <input type="text" name="insert">
35         <input type="submit" name="NEW" value="新增">
36         </form>
37         <script>
38                 function report() {
39                         opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
40                         self.close();
41                         return false;
42                 }
43         </script>
44 </body>
45 </html>