From 14a0859a4abada7595e24a7b3158cb13e7676aaa Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 17 Nov 2006 05:13:22 +0000 Subject: Fixing conditionals in templates git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@650 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 6dcaec79..9ef76258 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -94,6 +94,13 @@ sub debug { } +sub encode_all { + # TODO; +} + +sub decode_all { + # TODO +} sub escape { my ($self, $str, $beenthere) = @_; @@ -112,6 +119,7 @@ sub escape { sub unescape { my ($self, $str) = @_; + $str =~ tr/+/ /; $str =~ s/\\$//; @@ -740,7 +748,7 @@ sub parse_template { } } - if (/<\? lsmb if /) { + if (/<\?lsmb if /) { # check if it is set and display chop; -- cgit v1.2.3