summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-02 04:36:31 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-02 04:36:31 +0000
commit6c2a94cb4ec73ecbd148b74cbd6c82fb2e171715 (patch)
treeb47d57b41c61f651ef8a803a1c00d9835b56cd91 /bin
parent4410a3d62f37dd01feba6aaaa9a1090248aa0d6a (diff)
Adding file location checks to the template editor
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@175 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mozilla/am.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl
index 5a9967e9..9be1c020 100755
--- a/bin/mozilla/am.pl
+++ b/bin/mozilla/am.pl
@@ -1598,7 +1598,7 @@ sub display_form {
$form->error("$!: $form->{file}") unless -f $form->{file};
- AM->load_template(\%$form);
+ AM->load_template(\%myconfig, \%$form);
$form->{title} = $form->{file};
@@ -1643,7 +1643,7 @@ $form->{body}
sub edit_template {
- AM->load_template(\%$form);
+ AM->load_template(\%myconfig, \%$form);
$form->{title} = $locale->text('Edit Template');
# convert &nbsp to &amp;nbsp;
@@ -1691,7 +1691,7 @@ $form->{body}
sub save_template {
- AM->save_template(\%$form);
+ AM->save_template(\%myconfig, \%$form);
$form->redirect($locale->text('Template saved!'));
}