From 09a2744672a30931541fef8a00220dd76fe1ed7b Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Mon, 11 Jan 2010 18:18:36 -0500 Subject: [PATCH] [9/30] Patron Card Creator home page --- .../prog/en/modules/patroncards/home.tmpl | 46 +++++++++++++++++++ patroncards/home.pl | 41 +++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tmpl create mode 100755 patroncards/home.pl diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tmpl new file mode 100644 index 0000000000..e407fe7d94 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tmpl @@ -0,0 +1,46 @@ + + Koha › Tools › Patron Cards Home + + /css/card.css" /> + + + + + +
+
+
+
+
+ +
+
+
+
+
+

Welcome to Koha's Patron Card Creator Module

+

The Patron Card Creator allow you to use layouts and templates which you design to print a nearly unlimited variety of patron cards including barcodes. Here are some of the features of the Patron Card Creator module:

+
    +
  • Customize patron card layouts
  • +
  • Design custom card templates for printed patron cards
  • +
  • Build and manage batches of patron cards
  • +
  • Export single or multiple batches
  • +
  • Export single or multiple patron cards from within a batch
  • +
  • Export card data as a PDF readable by any standard PDF reader, making patron cards printable directly on a printer
  • +
+

At the top of each screen within the Patron Card Creator, you will see a toolbar allowing quick access to relevant functions. The menu to the left of each screen also allows easy access to the different sections of the Patron Card Creator. The breadcrumb trail near the top of each screen will give specific indication as to where you are within the Patron Card Creator module and allow quick navigation to previously traversed sections. And finally, you can find more detailed information on each section of the Patron Card Creator by clicking the online help link at the upper left-hand corner of every page.

+

The developers of the Patron Card Creator module hope you will find this an extremely useful tool. You are encouraged to submit any enhancement requests as well as any bugs via Koha Project Bugzilla.

+
+
+
+
+
+
+ +
+
+ diff --git a/patroncards/home.pl b/patroncards/home.pl new file mode 100755 index 0000000000..d5aad1920a --- /dev/null +++ b/patroncards/home.pl @@ -0,0 +1,41 @@ +#!/usr/bin/perl +# +# Copyright 2006 Katipo Communications. +# Parts Copyright 2009 Foundations Bible College. +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# Koha is distributed in the hope that it will be useful, but WITHOUT ANY +# 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 + +use strict; +use warnings; + +use CGI; + +use C4::Auth qw(get_template_and_user); +use C4::Output qw(output_html_with_http_headers); + +my $cgi = new CGI; +my ( $template, $loggedinuser, $cookie ) = get_template_and_user( + { + template_name => "patroncards/home.tmpl", + query => $cgi, + type => "intranet", + authnotrequired => 0, + flagsrequired => { catalogue => 1 }, + debug => 1, + } +); + +output_html_with_http_headers $cgi, $cookie, $template->output; -- 2.39.5