[Koha-cvs] CVS: koha/C4 Log.pm,1.3,1.4

Paul POULAIN tipaul at users.sourceforge.net
Mon Aug 8 11:11:56 CEST 2005


Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31362/C4

Modified Files:
	Log.pm 
Log Message:
minor (graphic) changes in log viewer

Index: Log.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Log.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Log.pm	20 Jul 2005 16:09:04 -0000	1.3
--- Log.pm	8 Aug 2005 09:11:54 -0000	1.4
***************
*** 23,26 ****
--- 23,27 ----
  use strict;
  use C4::Context;
+ use C4::Date;
  
  require Exporter;
***************
*** 165,169 ****
  		}
  	}
! 	warn "displaylog :".$strsth;
  	if ($strsth){
  		my $sth=$dbh->prepare($strsth);
--- 166,170 ----
  		}
  	}
! # 	warn "displaylog :".$strsth;
  	if ($strsth){
  		my $sth=$dbh->prepare($strsth);
***************
*** 174,177 ****
--- 175,180 ----
  		while (my $data = $sth->fetchrow_hashref){
  			$data->{hilighted} = ($hilighted>0);
+ 			$data->{info} =~ s/\n/<br\/>/g;
+ 			$data->{day} = format_date($data->{timestamp});
  			push @results, $data;
  			$count++;





More information about the Koha-cvs mailing list