After applying this patch, retrains on pages other than 1 still do not show
up.. for instance if you retrain a message on page 2, it will not show
status as retrained. Also, if $FORM{'history_page'} is unset (which
happens) then it will display very strange things.
Changing the first two lines in DisplayHistory as follow fixes the strange
displays:
sub DisplayHistory {
my($all_lines , $end, $begin, $history_pages, $rec, $history_page);
unless ($history_page = $FORM{'history_page'}) { $history_page = 1;}
However, I think that making the data shown on pages other than page 1
accurate will need some more work?
-Aaron
On 2/20/06, Pierre Girard <pierre.girard@gerad.ca> wrote:
>
> Hello,
> I made a small patch to the web interface (dspam 4.6.2). Changes in
> this patch:
>
> - change in DisplayHistory so you can change the date format from a
> parameter in the configure.pl file. If the variable is undefined,
> it behaves as it did before. Otherwise use it to choose your date format in
> strftime style.
> $CONFIG{'DATE_FORMAT'} = "%y/%m/%d@%H:%M"; # Date format in
> strftime style
> - change in DisplayHistory to read the entire log file to select
> which lines to display and avoid wrong displays because of incomplete
> information availability
> - workaround in GetPrefs to read the default parameters before
> reading the user specific parameters (this should be a temporary workaround
> until dspam_admin aggr prefs is fixed)
>
>
>
>
>
Received on Mon Feb 20 12:52:27 2006
This archive was generated by hypermail 2.1.8 : Tue Feb 21 2006 - 00:00:01 EST