X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=patroncards%2Fprint.pl;h=4b20e5abd03b49923919c88f5bc82af79d7527e1;hb=c52bc9756a5fa1e4f6bba7ce5c58124f150c5efc;hp=31f78d14d9da74fe51f0ef6bccfdb4890758cb6d;hpb=d339abf0bfc334a819818bbb9b4c31f23326cbd1;p=koha.git diff --git a/patroncards/print.pl b/patroncards/print.pl index 31f78d14d9..4b20e5abd0 100755 --- a/patroncards/print.pl +++ b/patroncards/print.pl @@ -13,25 +13,25 @@ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along with -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; -use CGI; +use CGI qw ( -utf8 ); use autouse 'Data::Dumper' => qw(Dumper); use C4::Auth qw(get_template_and_user); use C4::Output qw(output_html_with_http_headers); -use C4::Creators::Lib 1.000000 qw(get_all_templates get_all_layouts get_output_formats); -use C4::Patroncards::Batch 1.000000; +use C4::Creators; +use C4::Patroncards; my $cgi = new CGI; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "patroncards/print.tmpl", + template_name => "patroncards/print.tt", query => $cgi, type => "intranet", authnotrequired => 0,