summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-22 23:46:31 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-22 23:46:31 +0000
commit37b948b026cb941b8f8ec4670243f30f854241bd (patch)
tree569b062c6aeac57abfa15586728802e724e39fd9 /bin
parentd7a8533233dcddb29c3f3cfb57e041d52308aa17 (diff)
Removing the add language button from the template language selection
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1653 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rw-r--r--bin/am.pl12
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/am.pl b/bin/am.pl
index 9b57e979..120207a0 100644
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -1514,7 +1514,7 @@ sub list_templates {
chomp $myconfig{templates};
$form->{file} =~ s/$myconfig{templates}//;
$form->{file} =~ s/\///;
- $form->{title} = $form->{template};
+ $form->{title} = "$form->{format}: $form->{template}";
my @column_index = $form->sort_columns(qw(code description));
@@ -1549,15 +1549,6 @@ sub list_templates {
## &menubar;
## }
- my @buttons;
- push @buttons, {
- name => 'action',
- value => 'add_language',
- text => $locale->text('Add Lanugage'),
- type => 'submit',
- class => 'submit',
- };
-
# SC: I'm not concerned about the wider description as code is 6 chars max
my $template = LedgerSMB::Template->new_UI(
user => \%myconfig,
@@ -1565,7 +1556,6 @@ sub list_templates {
template => 'am-list-departments');
$template->render({
form => $form,
- buttons => \@buttons,
columns => \@column_index,
heading => \%column_header,
rows => \@rows,