Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1:/tmp/cvs-serv13478/UI
Modified Files:
HTML.pm
Log Message:
Major alteration to the top 20 words so that it shows the full matrix of words that were used to make a decision about an email; removed the old top 20 code and all the complex calculations it did and replaced with simple dump of the matrix for that message
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** HTML.pm 20 Mar 2003 08:52:39 -0000 1.117
--- HTML.pm 21 Mar 2003 23:10:32 -0000 1.118
***************
*** 2844,2848 ****
# Check to see if we want to view a message
if ( ( defined($self->{form__}{view}) ) && ( $self->{form__}{view} eq $mail_file ) ) {
! $body .= "<tr>\n<td></td>\n<td colspan=\"3\" valign=\"top\">\n";
$body .= "<table class=\"openMessageTable\" cellpadding=\"10%\" cellspacing=\"0\" width=\"100%\" summary=\"$self->{language__}{History_OpenMessageSummary}\">\n";
--- 2844,2848 ----
# Check to see if we want to view a message
if ( ( defined($self->{form__}{view}) ) && ( $self->{form__}{view} eq $mail_file ) ) {
! $body .= "<tr>\n<td></td>\n<td colspan=\"5\" valign=\"top\">\n";
$body .= "<table class=\"openMessageTable\" cellpadding=\"10%\" cellspacing=\"0\" width=\"100%\" summary=\"$self->{language__}{History_OpenMessageSummary}\">\n";
***************
*** 2899,2908 ****
$body .= "<a class=\"messageLink\" href=\"/history?start_message=$start_message&session=$self->{session_key__}&sort=$self->{form__}{sort}&search=$self->{form__}{search}&filter=$self->{form__}{filter}\">\n";
$body .= "<span class=\"historyLabel\">$self->{language__}{Close}</span>\n</a>\n";
! $body .= "</td>\n</tr>\n</table>\n</td>\n";
! $body .= "<td class=\"top20\" valign=\"top\">\n";
$self->{classifier__}->classify_file($self->global_config_( 'msgdir' ) . "$self->{form__}{view}");
$body .= $self->{classifier__}->{scores__};
! $body .= "</td>\n</tr>\n";
}
--- 2899,2908 ----
$body .= "<a class=\"messageLink\" href=\"/history?start_message=$start_message&session=$self->{session_key__}&sort=$self->{form__}{sort}&search=$self->{form__}{search}&filter=$self->{form__}{filter}\">\n";
$body .= "<span class=\"historyLabel\">$self->{language__}{Close}</span>\n</a>\n";
! $body .= "</td>\n</tr>\n</table>\n";
! $body .= "<table><tr><td class=\"top20\" valign=\"top\">\n";
$self->{classifier__}->classify_file($self->global_config_( 'msgdir' ) . "$self->{form__}{view}");
$body .= $self->{classifier__}->{scores__};
! $body .= "</tr></table></td>\n</tr>\n";
}
|