Template for 115a field plugin
[koha.git] / koha-tmpl / intranet-tmpl / default / fr / value_builder / unimarc_field_60X.tmpl
1 <html>
2 <head>
3         <title>Thesaurus search</title>
4 </head>
5 <body>
6         <script>
7                 function report(value2report) {
8                         if (document.f_pop.result.value.length==0) {
9                                 document.f_pop.result.value = value2report;
10                         } else {
11                                 document.f_pop.result.value = document.f_pop.result.value+'|'+value2report;
12                         }
13                         return true;
14                 }
15         </script>
16         <script>
17                 function finish() {
18                         opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
19                         self.close();
20                         return false;
21                 }
22         </script>
23         <form name="f_pop" action="plugin_launcher.pl" method="post">
24                 <input type="hidden" name="plugin_name" value="unimarc_field_60X.pl">
25                 <textarea name="result" rows=10 cols=50><!-- TMPL_VAR name="result" --></textarea>
26                 <br/><input type="button" value="OK" onClick="javascript:finish()">
27                 <p><h2>Recherche</h2>
28                         <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=A">A</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=B">B</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=C">C</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=D">D</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=E">E</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=F">F</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=G">G</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=H">H</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=I">I</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=J">J</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=K">K</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=L">L</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=M">M</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=N">N</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=O">O</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=P">P</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Q">Q</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=R">R</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=S">S</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=T">T</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=U">U</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=V">V</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=W">W</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=X">X</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Y">Y</a>  <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Z">Z</a>
29                         <br/>
30                         <input type="text" name="search_string" value="<!-- TMPL_VAR name="search_string" -->">
31                         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
32                         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
33                         <input type="hidden" name="op" value="search">
34                         <input type="submit" value="Chercher">
35                 </p>
36         </form>
37         <table>
38         <tr>
39                 <td valign="top">
40                 <h2>Results</h2>
41                         <table>
42                                 <!-- TMPL_LOOP name="results" -->
43                                         <tr>
44                                         <td>
45                                                 <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<!-- TMPL_VAR name="index" -->&level=<!-- TMPL_VAR name="level" -->&search_string=<!-- TMPL_VAR name=value ESCAPE=URL -->">
46                                                         <!-- TMPL_VAR name="value" -->
47                                                 </a>
48                                         </td>
49                                         <td>
50                                                 <input type="button" value="Reporter" OnClick="javascript:report('<!-- TMPL_VAR name="value" -->')"><br/>
51                                         </td>
52                                         </tr>
53                                 <!-- /TMPL_LOOP -->
54                         </table>
55                 </td>
56                 <td>
57                 <!-- TMPL_IF name=deeper -->
58                 <td valign="top">
59                         <h2>Dependancies</h2>
60                         <!-- /TMPL_IF -->
61                         <table>
62                         <!-- TMPL_LOOP name="deeper" -->
63                                 <tr><td>
64                                 <a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<!-- TMPL_VAR name="index" -->&level=<!-- TMPL_VAR name="level" -->&search_string=<!-- TMPL_VAR ESCAPE="URL" name="father" -->+<!-- TMPL_VAR ESCAPE="URL" name="stdlib" -->">
65                                         <!-- TMPL_VAR name="father" --> <!-- TMPL_VAR name="stdlib" -->
66                                 </a></td>
67                                 <td>
68                                         <input type="button" value="Reporter" OnClick="javascript:report('<!-- TMPL_VAR ESCAPE=HTML name="father" --> <!-- TMPL_VAR ESCAPE=HTML name="stdlib" -->')"><br/>
69                                 </td></tr>
70                         <!-- /TMPL_LOOP -->
71                         </table>
72                 </td>
73         </tr>
74         </table>
75 <h2>Adding</h2>
76 <form name="f3_pop"  action="thesaurus_popup.pl" method="post">
77         <input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
78         <input type="hidden" name="op" value="add">
79         <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
80         Create a new authority/thesaurus entry : <input type="text" name="insert" value="<!-- TMPL_VAR name="search_string" -->">
81         <input type="submit" name="NEW" value="Ajouter">
82         </form>
83 </body>
84 </html>