summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-30 21:28:30 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-30 21:28:30 +0000
commite48d8996525b15af848999644712d352371b0f1d (patch)
tree357fd6406bf9d43bd034eff28e79dcb09e412048 /bin
parente529056debdd88c339456b6494af98afc631052e (diff)
Update buttons
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@398 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cp.pl24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/cp.pl b/bin/cp.pl
index d6ef60b9..c0f2c2eb 100755
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -480,18 +480,18 @@ sub payments_footer {
# type=submit $locale->text('Print')
# type=submit $locale->text('Select all')
- %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
- 'Select all' => { ndx => 2, key => 'A', value => $locale->text('Select all') },
- 'Print' => { ndx => 3, key => 'P', value => $locale->text('Print') },
- 'Post' => { ndx => 4, key => 'O', value => $locale->text('Post') },
+ %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+ 'select_all' => { ndx => 2, key => 'A', value => $locale->text('Select all') },
+ 'print' => { ndx => 3, key => 'P', value => $locale->text('Print') },
+ 'post' => { ndx => 4, key => 'O', value => $locale->text('Post') },
);
if (! ${LedgerSMB::Sysconfig::latex}) {
- delete $button{'Print'};
+ delete $button{'print'};
}
if ($transdate <= $closedto) {
- for ('Post', 'Print') { delete $button{$_} }
+ for ('post', 'print') { delete $button{$_} }
$media = $format = "";
}
@@ -1082,18 +1082,18 @@ sub payment_footer {
</table>
|;
- %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
- 'Select all' => { ndx => 2, key => 'A', value => $locale->text('Select all') },
- 'Print' => { ndx => 3, key => 'P', value => $locale->text('Print') },
- 'Post' => { ndx => 4, key => 'O', value => $locale->text('Post') },
+ %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+ 'select_all' => { ndx => 2, key => 'A', value => $locale->text('Select all') },
+ 'print' => { ndx => 3, key => 'P', value => $locale->text('Print') },
+ 'post' => { ndx => 4, key => 'O', value => $locale->text('Post') },
);
if (! ${LedgerSMB::Sysconfig::latex}) {
- delete $button{'Print'};
+ delete $button{'print'};
}
if ($transdate <= $closedto) {
- for ('Post', 'Print') { delete $button{$_} }
+ for ('post', 'print') { delete $button{$_} }
$media = $format = "";
}