summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-30 23:46:50 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-30 23:46:50 +0000
commit98b2cdaa1d5336e60b00f86d90f45c6d96dc6717 (patch)
tree12d3b47721abbe38762921bfec025810bc744785
parent5bb9b8612ce2c3e633f7edb0c4b72f711954bd44 (diff)
Updating buttons
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@406 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/pe.pl20
1 files changed, 10 insertions, 10 deletions
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, $_) }