diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-17 05:13:22 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-17 05:13:22 +0000 |
commit | 14a0859a4abada7595e24a7b3158cb13e7676aaa (patch) | |
tree | c8e1367e8af5f3824941879e0ed7e9d592d4f468 | |
parent | 9854b9e91b631edc7746a866cfb72dc4c48f907e (diff) |
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
-rwxr-xr-x | LedgerSMB/Form.pm | 10 |
1 files changed, 9 insertions, 1 deletions
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; |