Merge remote branch 'kc/new/enh/bug_2170' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_210c.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>UNIMARC Field 210c builder</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body style="padding:1em;">
6 <h3>UNIMARC Field 210c builder</h3>
7     <h4>Search for authority type: EDITORS</h4>
8         <form name="f" method="post" action="plugin_launcher.pl">
9         <fieldset class="rows">
10             <input type="hidden" name="plugin_name" value="unimarc_field_210c.pl" />
11             <input type="hidden" name="op" value="do_search" />
12             <input type="hidden" name="type" value="intranet" />
13             <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" />
14             <input type="hidden" name="index" value="<!--TMPL_VAR Name="index"-->" />
15             <input type="hidden" name="authtypecode" value="EDITORS" />
16             <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="index" -->" />
17             <input type="hidden" name="marclist" value="all" />
18             <input type="hidden" name="and_or" value="and" />
19             <input type="hidden" name="excluding" value="" />
20                  <ol>
21                     <li>
22                                         <select name="orderby" id="orderby">
23                                 <option value="">None</option>
24                                 <option value="HeadingAsc" selected="selected">Heading A-Z</option>
25                                 <option value="HeadingDsc">Heading Z-A</option>
26                                 </select>
27                                         <select name="operator" id="operator">
28                                     <option value="contains">contains</option>
29                                     <option value="start">starts with</option>
30                                     <option value="is">is exactly</option>
31                                 </select>
32                     <input type="text" id="value" name="value" value="<!-- TMPL_VAR name="resultstring" -->" />
33                     </li>
34                 </ol>
35                 </fieldset>
36                 <fieldset class="action">
37                 <input type="submit" value="Search" />
38                 </fieldset>
39         </form>
40             <!-- TMPL_IF NAME="total" -->
41             <h3>Authority search results</h3>
42             <div class="paginationBar">
43                           <!--TMPL_VAR Name="pagination_bar"-->      
44                         </div><!-- /TMPL_IF -->
45             <p>
46                 <!-- TMPL_IF name="total" -->
47                     &nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br /><br />
48                 <!-- TMPL_ELSE -->
49                     &nbsp; No results found<br />
50                 <!-- /TMPL_IF -->
51             </p>
52 <!-- TMPL_IF NAME="total" -->
53         <div id="resultlist">
54             <table>
55                 <tr>
56                     <th>Summary</th>
57                     <th>Used</th>
58                     <th>Get It!</th>
59                 </tr>
60                 <!-- TMPL_LOOP NAME="result" -->
61                     <tr>
62                         <td><!-- TMPL_VAR NAME="summary" --></td>
63                         <td><!-- TMPL_VAR NAME="used" --> times</td>
64                         <td>
65                 <!-- TMPL_IF NAME="to_report" -->
66                             <a href="javascript:report('<!-- TMPL_VAR name="to_report" ESCAPE=JS -->')"><img alt="choose" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" width="32" hspace="0" vspace="0" border="0"></a>
67                 <!-- /TMPL_IF -->
68                         </td>
69                     </tr>
70                 <!-- /TMPL_LOOP -->
71             </table>
72         </div>
73 <!-- /TMPL_IF -->
74
75             <!-- TMPL_IF NAME="total" --><div class="paginationBar">
76                           <!--TMPL_VAR Name="pagination_bar"-->      
77                         </div>
78             <!-- /TMPL_IF -->
79 <script type="text/javascript">
80 //<![CDATA[
81 function report(summary)
82 {    
83     var doc   = opener.document; 
84     var field = doc.getElementById('<!-- TMPL_VAR NAME="index" -->');
85
86     field.value = summary;
87     self.close();
88 }
89 //]]>
90 </script>
91
92 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->