From 190d05b00eb3775b3405eb800421c53eb089daa9 Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 8 Aug 2005 09:11:54 +0000 Subject: [PATCH] minor (graphic) changes in log viewer --- C4/Log.pm | 5 +++- .../default/en/parameters/viewlog.tmpl | 24 +++++++------------ 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/C4/Log.pm b/C4/Log.pm index 5d9ba936fa..9e5f76cfba 100644 --- a/C4/Log.pm +++ b/C4/Log.pm @@ -22,6 +22,7 @@ package C4::Log; #assumes C4/Log use strict; use C4::Context; +use C4::Date; require Exporter; @@ -164,7 +165,7 @@ sub displaylog{ } } } - warn "displaylog :".$strsth; +# warn "displaylog :".$strsth; if ($strsth){ my $sth=$dbh->prepare($strsth); $sth->execute; @@ -173,6 +174,8 @@ sub displaylog{ my $hilighted=1; while (my $data = $sth->fetchrow_hashref){ $data->{hilighted} = ($hilighted>0); + $data->{info} =~ s/\n//g; + $data->{day} = format_date($data->{timestamp}); push @results, $data; $count++; $hilighted = -$hilighted; diff --git a/koha-tmpl/intranet-tmpl/default/en/parameters/viewlog.tmpl b/koha-tmpl/intranet-tmpl/default/en/parameters/viewlog.tmpl index 1bd00a809d..d6b9714eac 100644 --- a/koha-tmpl/intranet-tmpl/default/en/parameters/viewlog.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/parameters/viewlog.tmpl @@ -1,4 +1,4 @@ - +
@@ -7,7 +7,7 @@ function Dopop(link) { newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes'); } -

Koha : LogView for

+

Koha : Hisory view for

Filtered on

@@ -18,37 +18,29 @@ function Dopop(link) { - - - - - - - - - - -- 2.39.5
Timestamp + Modified on Firstname + Title Surname + Librarian Action Info Title - Author -
+
()
+ , + - -