From b193f4e3c1c2b4e826ed1004b8c64d5e6e991ba8 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 24 Oct 2006 02:38:49 +0000 Subject: Moved %printer from ledger-smb.conf to Ledger::Sysconfig git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@281 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 4 ++-- bin/am.pl | 9 +++++---- bin/arap.pl | 4 ++-- bin/arapprn.pl | 8 ++++---- bin/bp.pl | 6 +++--- bin/cp.pl | 10 +++++----- bin/io.pl | 8 ++++---- bin/jc.pl | 6 +++--- bin/pos.pl | 8 ++++---- bin/rc.pl | 2 +- bin/rp.pl | 8 ++++---- 11 files changed, 37 insertions(+), 36 deletions(-) diff --git a/bin/admin.pl b/bin/admin.pl index e1a6f420..5229d7e6 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -464,11 +464,11 @@ sub form_header { $selectstylesheet .= "\n"; - if (%printer && ${LedgerSMB::Sysconfig::latex}) { + if (%{LedgerSMB::Sysconfig::printer} && ${LedgerSMB::Sysconfig::latex}) { $selectprinter = "\n"; - foreach $item (sort keys %printer) { + foreach $item (sort keys %{LedgerSMB::Sysconfig::printer}) { if ($myconfig->{printer} eq $item) { $selectprinter .= qq|\n|; diff --git a/bin/am.pl b/bin/am.pl index f51e029b..68a2827c 100755 --- a/bin/am.pl +++ b/bin/am.pl @@ -2064,9 +2064,9 @@ sub config { } $selectstylesheet .= "