Bug 15838 - Subscription duplicating: Reset fields from SubscriptionDuplicateDroppedI...
[koha.git] / circ / offline-mf.pl
blob8cf93b17aa40a4516c01c6b64829719df0f428a9
1 #!/usr/bin/perl
3 # Copyright 2013 C & P Bibliography Services
4 # This file is part of Koha.
6 # Koha is free software; you can redistribute it and/or modify it under the
7 # terms of the GNU General Public License as published by the Free Software
8 # Foundation; either version 3 of the License, or (at your option) any later
9 # version.
11 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
12 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License along with
16 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
17 # Suite 330, Boston, MA 02111-1307 USA
20 use Modern::Perl;
21 use CGI qw ( -utf8 );
22 use C4::Auth;
24 my $query = new CGI;
25 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
27 template_name => "circ/offline-mf.tt",
28 query => $query,
29 type => "intranet",
30 authnotrequired => 0,
31 flagsrequired => { circulate => "circulate_remaining_permissions" },
35 $template->{'VARS'}->{'cookie'} = $cookie;
36 print $query->header( -type => 'text/cache-manifest', cookie => $cookie );
37 print $template->output;