Fix for Bug 6192 - Path to theme directory scoped incorrectly
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_210c.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>UNIMARC Field 210c builder</title>
3 [% INCLUDE '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="[% nbstatements %]" />
14             <input type="hidden" name="index" value="[% index %]" />
15             <input type="hidden" name="authtypecode" value="EDITORS" />
16             <input type="hidden" name="q" value="[% 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="[% resultstring %]" />
33                     </li>
34                 </ol>
35                 </fieldset>
36                 <fieldset class="action">
37                 <input type="submit" value="Search" />
38                 </fieldset>
39         </form>
40             [% IF ( total ) %]
41             <h3>Authority search results</h3>
42             <div class="pages">
43                           [% pagination_bar %]      
44                         </div>[% END %]
45             <p>
46                 [% IF ( total ) %]
47                     &nbsp;<b>Results [% from %] to [% to %] of [% total %]</b><br /><br />
48                 [% ELSE %]
49                     &nbsp; No results found<br />
50                 [% END %]
51             </p>
52 [% IF ( 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                 [% FOREACH resul IN result %]
61                     <tr>
62                         <td>[% resul.summary %]</td>
63                         <td>[% resul.used %] times</td>
64                         <td>
65                 [% IF ( resul.to_report ) %]
66                             <a href="javascript:report('[% resul.to_report |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]')"><img alt="choose" src="[% interface %]/[% theme %]/images/arrow.gif" width="32" /></a>
67                 [% END %]
68                         </td>
69                     </tr>
70                 [% END %]
71             </table>
72         </div>
73 [% END %]
74
75             [% IF ( total ) %]<div class="pages">
76                           [% pagination_bar %]      
77                         </div>
78             [% END %]
79 <script type="text/javascript">
80 //<![CDATA[
81 function report(summary)
82 {    
83     var doc   = opener.document; 
84     var field = doc.getElementById('[% index %]');
85
86     field.value = summary;
87     self.close();
88 }
89 //]]>
90 </script>
91
92 [% INCLUDE 'popup-bottom.inc' %]