Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.5 KiB
92 lines
3.5 KiB
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>UNIMARC Field 210c builder</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body style="padding:1em;">
|
|
<h3>UNIMARC Field 210c builder</h3>
|
|
<h4>Search for authority type: EDITORS</h4>
|
|
<form name="f" method="post" action="plugin_launcher.pl">
|
|
<fieldset class="rows">
|
|
<input type="hidden" name="plugin_name" value="unimarc_field_210c.pl" />
|
|
<input type="hidden" name="op" value="do_search" />
|
|
<input type="hidden" name="type" value="intranet" />
|
|
<input type="hidden" name="nbstatements" value="[% nbstatements %]" />
|
|
<input type="hidden" name="index" value="[% index %]" />
|
|
<input type="hidden" name="authtypecode" value="EDITORS" />
|
|
<input type="hidden" name="q" value="[% index %]" />
|
|
<input type="hidden" name="marclist" value="all" />
|
|
<input type="hidden" name="and_or" value="and" />
|
|
<input type="hidden" name="excluding" value="" />
|
|
<ol>
|
|
<li>
|
|
<select name="orderby" id="orderby">
|
|
<option value="">None</option>
|
|
<option value="HeadingAsc" selected="selected">Heading A-Z</option>
|
|
<option value="HeadingDsc">Heading Z-A</option>
|
|
</select>
|
|
<select name="operator" id="operator">
|
|
<option value="contains">contains</option>
|
|
<option value="start">starts with</option>
|
|
<option value="is">is exactly</option>
|
|
</select>
|
|
<input type="text" id="value" name="value" value="[% resultstring %]" />
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
<fieldset class="action">
|
|
<input type="submit" value="Search" />
|
|
</fieldset>
|
|
</form>
|
|
[% IF ( total ) %]
|
|
<h3>Authority search results</h3>
|
|
<div class="pages">
|
|
[% pagination_bar %]
|
|
</div>[% END %]
|
|
<p>
|
|
[% IF ( total ) %]
|
|
<b>Results [% from %] to [% to %] of [% total %]</b><br /><br />
|
|
[% ELSE %]
|
|
No results found<br />
|
|
[% END %]
|
|
</p>
|
|
[% IF ( total ) %]
|
|
<div id="resultlist">
|
|
<table>
|
|
<tr>
|
|
<th>Summary</th>
|
|
<th>Used</th>
|
|
<th>Get It!</th>
|
|
</tr>
|
|
[% FOREACH resul IN result %]
|
|
<tr>
|
|
<td>[% resul.summary %]</td>
|
|
<td>[% resul.used %] times</td>
|
|
<td>
|
|
[% IF ( resul.to_report ) %]
|
|
<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>
|
|
[% END %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
[% END %]
|
|
|
|
[% IF ( total ) %]<div class="pages">
|
|
[% pagination_bar %]
|
|
</div>
|
|
[% END %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
function report(summary)
|
|
{
|
|
var doc = opener.document;
|
|
var field = doc.getElementById('[% index %]');
|
|
|
|
field.value = summary;
|
|
self.close();
|
|
}
|
|
//]]>
|
|
</script>
|
|
|
|
[% INCLUDE 'popup-bottom.inc' %]
|
|
|