From 98b2cdaa1d5336e60b00f86d90f45c6d96dc6717 Mon Sep 17 00:00:00 2001 From: tetragon Date: Mon, 30 Oct 2006 23:46:50 +0000 Subject: Updating buttons git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@406 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/pe.pl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'bin') diff --git a/bin/pe.pl b/bin/pe.pl index 2696317a..0ad58cf2 100755 --- a/bin/pe.pl +++ b/bin/pe.pl @@ -385,14 +385,14 @@ sub job_footer { # type=submit $locale->text('Save') # type=submit $locale->text('Delete') - %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') }, + %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') }, ); if ($myconfig{acs} !~ /Job Costing--Add Job/) { - $button{'Save'} = { ndx => 3, key => 'S', value => $locale->text('Save') }; + $button{'save'} = { ndx => 3, key => 'S', value => $locale->text('Save') }; if ($form->{id} && $form->{orphaned}) { - $button{'Delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') }; + $button{'delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') }; } } @@ -1052,14 +1052,14 @@ sub project_footer { $form->hide_form(qw(callback path login sessionid)); - %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') }, + %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') }, ); if ($myconfig{acs} !~ /Projects--Add Project/) { - $button{'Save'} = { ndx => 3, key => 'S', value => $locale->text('Save') }; + $button{'save'} = { ndx => 3, key => 'S', value => $locale->text('Save') }; if ($form->{id} && $form->{orphaned}) { - $button{'Delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') }; + $button{'delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') }; } } @@ -1888,13 +1888,13 @@ sub translation_footer { $form->hide_form(qw(path login sessionid callback)); - %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') }, - 'Save' => { ndx => 3, key => 'S', value => $locale->text('Save') }, - 'Delete' => { ndx => 16, key => 'D', value => $locale->text('Delete') }, + %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') }, + 'save' => { ndx => 3, key => 'S', value => $locale->text('Save') }, + 'delete' => { ndx => 16, key => 'D', value => $locale->text('Delete') }, ); if (! $form->{trans_id}) { - delete $button{'Delete'}; + delete $button{'delete'}; } for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) } -- cgit v1.2.3