Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30051
Modified Files:
Tag: b0_22_2
HTML.pm
Log Message:
Partial solution to RFE [ 1634827 ] Download Message from Detailed View.
Appending &text=text to the Detailed Message View URL will output the message in plain text. Probably needs a UI link for 0.23, but unlikely for 0.22.x.
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.311.4.8
retrieving revision 1.311.4.9
diff -C2 -d -r1.311.4.8 -r1.311.4.9
*** HTML.pm 16 Feb 2006 09:19:45 -0000 1.311.4.8
--- HTML.pm 17 Jan 2007 03:16:24 -0000 1.311.4.9
***************
*** 2573,2576 ****
--- 2573,2583 ----
}
+ # Provide message in plain text for user download/recovery purposes.
+
+ if ( defined( $self->{form_}{text} ) ) {
+ $self->http_file_( $client, $self->{history__}->get_slot_file( $self->{form_}{view} ), 'text/plain' );
+ return 1;
+ }
+
# If a format change was requested for the word matrix, record it in the
# configuration and in the classifier options.
|