2 [% PROCESS 'authorities-search-results.inc' %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>UNIMARC field 210c builder</title>
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="cat_unimarc_field_210c" class="cat" style="padding:1em;">
10 <h3>UNIMARC field 210c builder</h3>
11 <h4>Search for authority type: EDITORS</h4>
12 <form name="f" method="post" action="plugin_launcher.pl">
13 <fieldset class="rows">
14 <input type="hidden" name="plugin_name" value="unimarc_field_210c.pl" />
15 <input type="hidden" name="op" value="do_search" />
16 <input type="hidden" name="type" value="intranet" />
17 <input type="hidden" name="nbstatements" value="[% nbstatements | html %]" />
18 <input type="hidden" name="index" value="[% index | html %]" />
19 <input type="hidden" name="authtypecode" value="EDITORS" />
20 <input type="hidden" name="q" value="[% index | html %]" />
21 <input type="hidden" name="marclist" value="all" />
22 <input type="hidden" name="and_or" value="and" />
23 <input type="hidden" name="excluding" value="" />
26 <select name="orderby" id="orderby">
27 <option value="">None</option>
28 <option value="HeadingAsc" selected="selected">Heading A-Z</option>
29 <option value="HeadingDsc">Heading Z-A</option>
31 <select name="operator" id="operator">
32 <option value="contains">contains</option>
33 <option value="start">starts with</option>
34 <option value="is">is exactly</option>
36 <input type="text" id="value" name="value" value="[% resultstring | html %]" />
40 <fieldset class="action">
41 <input type="submit" value="Search" />
45 <h3>Authority search results</h3>
47 [% pagination_bar | $raw %]
51 <b>Results [% from | html %] to [% to | html %] of [% total | html %]</b><br /><br />
53 No results found<br />
64 [% FOREACH resul IN result %]
66 <td>[% PROCESS authresult summary=resul.summary %]</td>
67 <td>[% resul.used | html %] times</td>
69 [% IF ( resul.to_report ) %]
70 <button class="choosebt">Choose</button>
71 <p class="toreport" style="display:none">[% resul.to_report |replace('\n', '\\n') |replace('\r', '\\r') |html %]</p>
80 [% IF ( total ) %]<div class="pages">
81 [% pagination_bar | $raw %]
85 [% MACRO jsinclude BLOCK %]
86 <script type="text/javascript">
87 $(document).ready(function(){
88 $(".choosebt").on("click",function(){
89 var toreport = $(this).siblings(".toreport").text();
93 function report(summary){
94 var doc = opener.document;
95 var field = doc.getElementById('[% index | html %]');
97 field.value = summary;
103 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]