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 3df9cd0..72aa9b1 100644 (file)
@@ -1,38 +1,42 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-[% IF ( bidi ) %]
-<html lang="[% lang %]" xml:lang="[% lang %]" dir="[% bidi %]" xmlns="http://www.w3.org/1999/xhtml">
-[% ELSE %]
-<html lang="[% lang %]" xml:lang="[% lang %]" xmlns="http://www.w3.org/1999/xhtml">
-[% END %]
+<!DOCTYPE html>
+[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
 <head>
-       <title>Koha &rsaquo; Tools &rsaquo; Spine Labels</title>
-       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-       <link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
+<title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
 
                <style type="text/css">
                @media print {
                        .noprint { display: none; }
                }
        </style>
+[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
+[% IF ( intranetuserjs ) %]
+    <script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script>
+    <script type="text/javascript">
+    //<![CDATA[
+    [% intranetuserjs %]
+    //]]>
+    </script>
+[% END %]
 </head>
        [% IF ( BarcodeNotFound ) %]
                <body id="labels_spinelabel-print" class="tools labels">
                        <p>The barcode [% Barcode %] was not found.</p>
-                       <p><a href="spinelabel-home.pl">Return To Spine Label Printer</a></p>
+            <p><a href="spinelabel-home.pl">Return to spine label printer</a></p>
                </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 %]
                        </span>
                        <span id="print_button" class="noprint">
-                               <button onclick="window.print()">Print This Label</button>
+                <button onclick="window.print()">Print this label</button>
                        </span>
                </body>
        [% END %]
-</html>
\ No newline at end of file
+</html>