bug 3211: fix some errors that crept into the cleanup
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_leader.tmpl
index b75cb1f..b65d06a 100644 (file)
@@ -1,8 +1,9 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Leader building</title>
+<title>UNIMARC Leader builder</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 </head>
-<body>
+<body style="padding:1em;">
+<h3>UNIMARC Leader builder</h3>
 <form name="f_pop" action="">
 <table>
        <tr>
@@ -10,9 +11,9 @@
                <td>(auto-calculated)</td>
        </tr>
        <tr>
-               <td>5- Record status</td>
+               <td><label for="f5">5- Record status</label></td>
                <td>
-                       <select name="f5" size="1">
+                       <select name="f5" id="f5" size="1">
                        <!-- TMPL_IF name="f5|" -->
                <option value="|" selected="selected">|- Filling character</option>
             <!-- TMPL_ELSE -->
@@ -48,9 +49,9 @@
                </td>
        </tr>
        <tr>
-               <td>6- Type of record</td>
+               <td><label for="f6">6- Type of record</label></td>
                <td>
-                       <select name="f6" size="1">
+                       <select name="f6" id="f6" size="1">
                        <!-- TMPL_IF name="f6|" -->
                <option value="|" selected="selected">|- Filling character</option>
             <!-- TMPL_ELSE -->
                </td>
        </tr>
        <tr>
-               <td>7- Bibliographic level</td>
+               <td><label for="f7">7- Bibliographic level</label></td>
                <td>
-                       <select name="f7" size="1">
+                       <select name="f7" id="f7" size="1">
                        <!-- TMPL_IF name="f7|" -->
                <option value="|" selected="selected">|- Filling character</option>
             <!-- TMPL_ELSE -->
        </tr>
        
        <tr>
-               <td>8- Hierarchical level code</td>
+               <td><label for="f8">8- Hierarchical level code</label></td>
                <td>
-                       <select name="f8" size="1">
+                       <select name="f8" id="f8" size="1">
                        <!-- TMPL_IF name="f8|" -->
                <option value="|" selected="selected">|- Filling character</option>
             <!-- TMPL_ELSE -->
                <td>(auto-filled)</td>
        </tr>
        <tr>
-               <td>17- Encoding level</td>
+               <td><label for="f17">17- Encoding level</label></td>
                <td>
-                       <select name="f17" size="1">
+                       <select name="f17" id="f17" size="1">
                        <!-- TMPL_IF name="f17|" -->
                <option value="|" selected="selected">|- Filling character</option>
             <!-- TMPL_ELSE -->
        </tr>
 
        <tr>
-               <td>18- Descriptive cataloging form</td>
+               <td><label for="f18">18- Descriptive cataloging form</label></td>
                <td>
-                       <select name="f18" size="1">
+                       <select name="f18" id="f18" size="1">
                        <!-- TMPL_IF name="f18|" -->
                <option value="|" selected="selected">|- Filling character</option>
             <!-- TMPL_ELSE -->
                <td>19-24 Entry map &amp; lengths</td>
                <td>(auto-filled)</td>
        </tr>
-
-       <tr><td colspan="2"><input type="button" value="OK"  onclick="javascript:report()" /></td></tr>
 </table>
+<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
 </form>
 <script type="text/javascript">
+//<![CDATA[
 function report() {
            var doc   = opener.document; 
             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
@@ -298,11 +299,12 @@ function report() {
             field.value =  '     '+document.f_pop.f5.value +
                        document.f_pop.f6.value+ document.f_pop.f7.value+
                        document.f_pop.f8.value+ '        '+
-                       document.f_pop.f17.value+ document.f_pop.f18.value+' 450  ';
+                       document.f_pop.f17.value+ document.f_pop.f18.value+' 4500';
                window.close();
                return false;
        }
+//]]>
 </script>
-</body>
-</html>
+
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->