From 6c2a94cb4ec73ecbd148b74cbd6c82fb2e171715 Mon Sep 17 00:00:00 2001 From: tetragon Date: Mon, 2 Oct 2006 04:36:31 +0000 Subject: 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 --- bin/mozilla/am.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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   to   @@ -1691,7 +1691,7 @@ $form->{body} sub save_template { - AM->save_template(\%$form); + AM->save_template(\%myconfig, \%$form); $form->redirect($locale->text('Template saved!')); } -- cgit v1.2.3