[Koha-cvs] koha reports/stats.pl koha-tmpl/intranet-tmpl/p... [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Tue Sep 26 16:31:42 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/09/26 14:31:42

Modified files:
	reports        : stats.pl 
Added files:
	koha-tmpl/intranet-tmpl/prog/en/reports: stats.tmpl 
Removed files:
	koha-tmpl/intranet-tmpl/prog/en: stats.tmpl 

Log message:
	moving stats.tmpl to reports/stats.tmpl

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/reports/stats.tmpl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/stats.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/koha/reports/stats.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1&r2=1.1.2.1

Patches:
Index: reports/stats.pl
===================================================================
RCS file: /sources/koha/koha/reports/stats.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -b -r1.1 -r1.1.2.1
--- reports/stats.pl	17 Jan 2006 16:58:07 -0000	1.1
+++ reports/stats.pl	26 Sep 2006 14:31:41 -0000	1.1.2.1
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: stats.pl,v 1.1 2006/01/17 16:58:07 tipaul Exp $
+# $Id: stats.pl,v 1.1.2.1 2006/09/26 14:31:41 toins Exp $
 
 #written 14/1/2000
 #script to display reports
@@ -37,7 +37,7 @@
 my $time=$input->param('time');
 
 my ($template, $loggedinuser, $cookie)
-    = get_template_and_user({template_name => "stats.tmpl",
+    = get_template_and_user({template_name => "reports/stats.tmpl",
 			     query => $input,
 			     type => "intranet",
 			     authnotrequired => 0,

Index: koha-tmpl/intranet-tmpl/prog/en/reports/stats.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/reports/stats.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/reports/stats.tmpl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ koha-tmpl/intranet-tmpl/prog/en/reports/stats.tmpl	26 Sep 2006 14:31:41 -0000	1.1.2.1
@@ -0,0 +1,29 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Statistics<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+	
+	<!-- TMPL_IF NAME="loop1" -->
+	<table>
+	<caption>Statistics</caption>
+		<tr>
+			<th>Name</th>
+			<th>Type</th>
+			<th>Date/time</th>
+			<th>Amount</th>
+			<th>Branch</th>
+		<tr>
+		<!-- TMPL_LOOP name="loop1" -->
+		<tr>
+			<td><!-- TMPL_VAR NAME="name" --></td>
+			<td><!-- TMPL_VAR NAME="type" --></td>
+			<td><!-- TMPL_VAR NAME="time" --></td>
+			<td><!-- TMPL_VAR NAME="amount" --></td>
+			<td><!-- TMPL_VAR NAME="branch" --></td>
+		</tr>
+		<!-- /TMPL_LOOP -->
+		</table>
+		<p>Total paid: <!-- TMPL_VAR NAME="total" --><br>Total written off: <!-- TMPL_VAR NAME="totalw" --></p>
+	<!-- TMPL_ELSE -->
+	<h3>No statistics to report</h3>
+	<!-- /TMPL_IF -->
+
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

Index: koha-tmpl/intranet-tmpl/prog/en/stats.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/stats.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/stats.tmpl
--- koha-tmpl/intranet-tmpl/prog/en/stats.tmpl	6 Aug 2005 20:19:56 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,29 +0,0 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Statistics<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-	
-	<!-- TMPL_IF NAME="loop1" -->
-	<table>
-	<caption>Statistics</caption>
-		<tr>
-			<th>Name</th>
-			<th>Type</th>
-			<th>Date/time</th>
-			<th>Amount</th>
-			<th>Branch</th>
-		<tr>
-		<!-- TMPL_LOOP name="loop1" -->
-		<tr>
-			<td><!-- TMPL_VAR NAME="name" --></td>
-			<td><!-- TMPL_VAR NAME="type" --></td>
-			<td><!-- TMPL_VAR NAME="time" --></td>
-			<td><!-- TMPL_VAR NAME="amount" --></td>
-			<td><!-- TMPL_VAR NAME="branch" --></td>
-		</tr>
-		<!-- /TMPL_LOOP -->
-		</table>
-		<p>Total paid: <!-- TMPL_VAR NAME="total" --><br>Total written off: <!-- TMPL_VAR NAME="totalw" --></p>
-	<!-- TMPL_ELSE -->
-	<h3>No statistics to report</h3>
-	<!-- /TMPL_IF -->
-
-
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->





More information about the Koha-cvs mailing list