From 01d9a65f9cf71c86d0483d403d3989c16a3d865a Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 11 Aug 2006 16:33:01 +0000 Subject: [PATCH] adding menu-tools item --- .../prog/en/includes/menu-tools.inc | 11 +++-- .../intranet-tmpl/prog/en/tools/letter.tmpl | 2 +- .../prog/en/tools/tools-home.tmpl | 41 +++++++++++++++++++ tools/tools-home.pl | 21 ++++++++++ 4 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl create mode 100755 tools/tools-home.pl diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc index 25e48f0b55..1771b385cb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc @@ -1,8 +1,7 @@ \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl b/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl index d52cc942f3..10ba7b1dcc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl @@ -2,7 +2,7 @@ Letters admin - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl new file mode 100644 index 0000000000..e65d2ff3b2 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl @@ -0,0 +1,41 @@ +Koha -- System Administration + + + + +

Koha tools

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Various tools
Barcode generatorGenerate your barcodes
HolidaysDefine holidays (days where the library is closed)
ExportExport datas
ImportImport datas in the reservoir
NewsA basic news system for OPAC & librarian interfaces
LettersDefine letters
overdue rulesRules for overdue books
+ + + diff --git a/tools/tools-home.pl b/tools/tools-home.pl new file mode 100755 index 0000000000..4b9e680019 --- /dev/null +++ b/tools/tools-home.pl @@ -0,0 +1,21 @@ +#!/usr/bin/perl + +use strict; +use CGI; +use C4::Auth; +use C4::Output; +use C4::Interface::CGI::Output; +use C4::Database; +use HTML::Template; + +my $query = new CGI; +my ($template, $loggedinuser, $cookie) + = get_template_and_user({template_name => "tools/tools-home.tmpl", + query => $query, + type => "intranet", + authnotrequired => 0, + flagsrequired => {tools => 1}, + debug => 1, + }); + +output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.2