[Koha-cvs] koha/opac opac-topissues.pl [rel_3_0]

paul poulain paul at koha-fr.org
Wed Jan 10 15:34:50 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	07/01/10 14:34:50

Modified files:
	opac           : opac-topissues.pl 

Log message:
	- some fixes in css
	- some reordering & documenting in css
	- dividing the mast head in 2 parts : the logo & the library name, with 2 different divs.
	- rewritting the main page to show the various possibilities of searching the library catalogue
	- rewritting a little bit the top issue page to do something more easy to use

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-topissues.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.3&r2=1.1.2.4

Patches:
Index: opac-topissues.pl
===================================================================
RCS file: /sources/koha/koha/opac/Attic/opac-topissues.pl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- opac-topissues.pl	10 Jan 2007 10:52:58 -0000	1.1.2.3
+++ opac-topissues.pl	10 Jan 2007 14:34:50 -0000	1.1.2.4
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: opac-topissues.pl,v 1.1.2.3 2007/01/10 10:52:58 toins Exp $
+# $Id: opac-topissues.pl,v 1.1.2.4 2007/01/10 14:34:50 tipaul Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -55,12 +55,11 @@
 				debug => 1,
 				});
 my $dbh = C4::Context->dbh;
-if ($do_it) {
     # Displaying results
     my $limit = $input->param('limit') || 10;
     my $branch = $input->param('branch');
     my $itemtype = $input->param('itemtype');
-    my $timeLimit = $input->param('timeLimit') || 0;
+    my $timeLimit = $input->param('timeLimit') || 3;
     my $whereclause;
     $whereclause .= 'items.homebranch='.$dbh->quote($branch)." AND " if ($branch); 
     $whereclause .= 'biblioitems.itemtype='.$dbh->quote($itemtype)." AND " if $itemtype;
@@ -95,7 +94,6 @@
         timeLimit => $timeLimit,
                     results_loop => \@results);
     
-} else {	
 	my $branches = GetBranches;
 	my @branchloop;
 	foreach my $thisbranch (keys %$branches) {
@@ -119,6 +117,5 @@
 					branchloop =>\@branchloop,
 					itemtypeloop =>\@itemtypeloop,
 					);
-}
 output_html_with_http_headers $input, $cookie, $template->output;
 





More information about the Koha-cvs mailing list