+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Authorities › Leader builder</title>
+<title>Leader builder › Authorities › Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
-<body style="padding:1em;">
-<h3>000 - Leader</h3>
+
+<body id="cat_marc21_leader_authorities" class="cat" style="padding:1em;">
+<h1>000 - Leader</h1>
<form name="f_pop" onsubmit="report()" action="">
<input type="hidden" name="plugin_name" value="marc21_leader_authorities.pl" />
<table>
<tr>
<td><label for="f5">5- Record status</label></td>
<td>
- <select name="f5" id="f5" size="1">
+ <select name="f5" id="f5">
[% IF ( f5a ) %]
<option value="a" selected="selected">a- Increase in encoding level</option>
[% ELSE %]
<tr>
<td><label for="f9">9- Encoding</label></td>
<td>
- <select name="f9" id="f9" size="1">
+ <select name="f9" id="f9">
[% IF ( f9 ) %]
<option value=" " selected="selected">MARC-8</option>
[% ELSE %]
<tr>
<td><label for="f17">17- Encoding level</label></td>
<td>
- <select name="f17" id="f17" size="1">
+ <select name="f17" id="f17">
[% IF ( f17n ) %]
<option value="n" selected="selected">n- Complete authority record</option>
[% ELSE %]
</tr>
</table>
-<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
+<fieldset class="action"><input type="submit" class="btn btn-primary" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="text/javascript">//<![CDATA[
-function report() {
- var doc = opener.document;
- var field = doc.getElementById("[% index %]");
-
- field.value =
- ' '+
- document.f_pop.f5.value+
- document.f_pop.f6.value+
- ' '+
- document.f_pop.f9.value+
- '22 '+
- document.f_pop.f17.value+
- ' '+
- '4500';
- self.close();
- return false;
- }
- //]]>
-</script>
-[% INCLUDE 'popup-bottom.inc' %]
+[% MACRO jsinclude BLOCK %]
+ <script>
+ function report() {
+ var doc = opener.document;
+ var field = doc.getElementById("[% index | html %]");
+ field.value =
+ ' '+
+ document.f_pop.f5.value +
+ document.f_pop.f6.value +
+ ' '+
+ document.f_pop.f9.value +
+ '22 '+
+ document.f_pop.f17.value +
+ ' '+
+ '4500';
+ self.close();
+ return false;
+ }
+ </script>
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]