Bug 10850 - give quick spine label template page its own ID
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / spinelabel-print.tt
index f028357..72aa9b1 100644 (file)
@@ -11,8 +11,8 @@
                }
        </style>
 [% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
-<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script>
 [% IF ( intranetuserjs ) %]
+    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script>
     <script type="text/javascript">
     //<![CDATA[
     [% intranetuserjs %]
@@ -27,9 +27,9 @@
                </body>
        [% ELSE %]
                [% IF ( autoprint ) %]
-                       <body id="labels_spinelabel-print" class="tools labels" onLoad="window.print()">
+            <body id="labels_spinelabel-print" class="tools labels" onload="window.print()">
                [% ELSE %]      
-                       <body>
+            <body id="labels_spinelabel-print" class="tools labels">
                [% END %] 
                        <span id="spinelabel" class="label">
                                [% content %]
@@ -39,4 +39,4 @@
                        </span>
                </body>
        [% END %]
-</html>
\ No newline at end of file
+</html>