From 9aa13987fff1b7fb7744e1458624456f536dfd03 Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Fri, 15 Feb 2013 10:23:28 -0500
Subject: [PATCH] Bug 9618 - Add support for intranetuserjs to labels/spinelabel-print.pl

For some reason, spinelabel-print.pl is is including intranetuserjs. This
pref would be useful for making certain customizations to spine labels.

Test Plan:
1) Apply patch
2) Put something in the syspref intranetuserjs
3) Load up labels/spinelabel-print.pl
4) View the page source and verify the code you entered in
   intranetuserjs is there.
---
 .../prog/en/modules/labels/spinelabel-print.tt     |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt
index ab51f9f..b5648ed 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt
@@ -5,6 +5,7 @@
 [% ELSE %]
 <html lang="[% lang %]" xml:lang="[% lang %]" xmlns="http://www.w3.org/1999/xhtml">
 [% END %]
+<script type="text/javascript">[% intranetuserjs %]</script>
 <head>
 <title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-- 
1.7.2.5