[Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/includes/m...

paul poulain paul at koha-fr.org
Fri Aug 11 18:33:01 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	paul poulain <tipaul>	06/08/11 16:33:01

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/includes: menu-tools.inc 
	koha-tmpl/intranet-tmpl/prog/en/tools: letter.tmpl 
Added files:
	koha-tmpl/intranet-tmpl/prog/en/tools: tools-home.tmpl 
	tools          : tools-home.pl 

Log message:
	adding menu-tools item

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc?cvsroot=koha&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl?cvsroot=koha&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl?cvsroot=koha&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/koha/tools/tools-home.pl?cvsroot=koha&rev=1.1

Patches:
Index: koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc	11 Aug 2006 09:51:45 -0000	1.2
+++ koha-tmpl/intranet-tmpl/prog/en/includes/menu-tools.inc	11 Aug 2006 16:33:01 -0000	1.3
@@ -4,5 +4,4 @@
 		<a href="/cgi-bin/koha/tools/marc.pl">Export</a>
 	<a href="/cgi-bin/koha/import/breeding.pl">Reservoir</a>
 	<a href="/cgi-bin/koha/tools/barcodes.pl">Barcodes</a>
-	<a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a>
 </div>
\ No newline at end of file

Index: koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl	2 Mar 2006 20:41:30 -0000	1.2
+++ koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl	11 Aug 2006 16:33:01 -0000	1.3
@@ -2,7 +2,7 @@
 	Letters admin
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE NAME="menus.inc" -->
-<!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
+<!-- TMPL_INCLUDE NAME="menu-tools.inc" -->
 
 	<!-- TMPL_IF NAME="else" -->
 		<form action="/cgi-bin/koha/tools/letter.pl" method="post">

Index: koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ koha-tmpl/intranet-tmpl/prog/en/tools/tools-home.tmpl	11 Aug 2006 16:33:01 -0000	1.1
@@ -0,0 +1,41 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<!-- TMPL_INCLUDE NAME="menus.inc" -->
+<!-- TMPL_INCLUDE NAME="menu-tools.inc" -->
+
+<h1>Koha tools</h1>
+
+<table>
+<caption>Various tools</caption>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/barcodes.pl">Barcode generator</a></th>
+	<td>Generate your barcodes</td>
+</tr>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/holidays.pl">Holidays</a></th>
+	<td>Define holidays (days where the library is closed)</td>
+</tr>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/export.pl">Export</a></th>
+	<td>Export datas</td>
+</tr>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/import.pl">Import</a></th>
+	<td>Import datas in the reservoir</td>
+</tr>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/koha-news.pl">News</a></th>
+	<td>A basic news system for OPAC & librarian interfaces</td>
+</tr>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/letter.pl">Letters</a></th>
+	<td>Define letters </td>
+</tr>
+<tr>
+	<th><a href="/cgi-bin/koha/tools/overduerules.pl">overdue rules</a></th>
+	<td>Rules for overdue books</td>
+</tr>
+</table>
+
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

Index: tools/tools-home.pl
===================================================================
RCS file: tools/tools-home.pl
diff -N tools/tools-home.pl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ tools/tools-home.pl	11 Aug 2006 16:33:01 -0000	1.1
@@ -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;





More information about the Koha-cvs mailing list