[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3529] trunk/bin/am.pl
- Subject: SF.net SVN: ledger-smb:[3529] trunk/bin/am.pl
- From: ..hidden..
- Date: Sat, 16 Jul 2011 00:08:20 +0000
Revision: 3529
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3529&view=rev
Author: einhverfr
Date: 2011-07-16 00:08:19 +0000 (Sat, 16 Jul 2011)
Log Message:
-----------
Correcting bug 3367111
Modified Paths:
--------------
trunk/bin/am.pl
Modified: trunk/bin/am.pl
===================================================================
--- trunk/bin/am.pl 2011-07-15 23:24:29 UTC (rev 3528)
+++ trunk/bin/am.pl 2011-07-16 00:08:19 UTC (rev 3529)
@@ -1264,6 +1264,14 @@
AM->language( \%myconfig, \%$form );
+ if (uc($form->{format}) eq 'LATEX') {
+ $form->{file} = "$form->{template}.tex";
+ } elsif (uc($form->{format}) eq 'HTML') {
+ $form->{file} = "$form->{template}.html";
+ } elsif (uc($form->{format}) eq 'TXT'){
+ $form->{file} = "$form->{template}.txt";
+ }
+
if ( ..hidden.. $form->{ALL} } ) {
&display_form;
$form->finalize_request();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.