From: Joseph C. <tex...@us...> - 2007-01-17 03:16:15
|
Update of /cvsroot/popfile/engine/UI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30029 Modified Files: 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.372 retrieving revision 1.373 diff -C2 -d -r1.372 -r1.373 *** HTML.pm 20 Feb 2006 09:21:28 -0000 1.372 --- HTML.pm 17 Jan 2007 03:16:11 -0000 1.373 *************** *** 3174,3177 **** --- 3174,3184 ---- } + # 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. |