Quick Spine Label Printer
[koha.git] / labels / spinelabel-home.pl
1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5 use CGI;
6 use C4::Auth;
7 use C4::Output;
8 use C4::Labels;
9 use C4::Output;
10 use C4::Context;
11 use HTML::Template::Pro;
12
13 # use Smart::Comments;
14
15 my $query = new CGI;
16 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
17     {
18         template_name   => "labels/spinelabel-home.tmpl",
19         query           => $query,
20         type            => "intranet",
21         authnotrequired => 0,
22         flagsrequired   => { catalogue => 1 },
23         debug           => 1,
24     }
25 );
26
27 output_html_with_http_headers $query, $cookie, $template->output;