From 50a899703aca8c9920af8f77d1b48cfc3c3bef48 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 5 Dec 2007 19:54:26 +0000 Subject: Fixing some errors from the copying of the email form templating git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1948 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/io.pl | 81 ++------------------------------------------------------------- 1 file changed, 2 insertions(+), 79 deletions(-) diff --git a/bin/io.pl b/bin/io.pl index 262c146f..fc7e78f5 100644 --- a/bin/io.pl +++ b/bin/io.pl @@ -1334,11 +1334,11 @@ sub print_options { options => [{text => 'HTML', value => 'html'}], } if ( ${LedgerSMB::Sysconfig::latex} ) { - push @{$options{media}{options}}, { + push @{$options{format}{options}}, { text => $locale->text('Postscript'), value => 'postscript', }; - push @{$options{media}{options}}, { + push @{$options{format}{options}}, { text => $locale->text('PDF'), value => 'pdf', }; @@ -1356,83 +1356,6 @@ sub print_options { # $locale->text('Queued') # $locale->text('Scheduled') - $options{status} = ( - printed => 'Printed', - emailed => 'E-mailed', - queued => 'Queued', - recurring => 'Scheduled', - ); - if ( $form->{media} eq 'email' ) { - $media = qq||; - } - else { - $media = qq||; - - # set option selected - $media =~ s/(