summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-payby.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-22 16:39:46 +0000
committerlevinse <levinse>2011-05-22 16:39:46 +0000
commit73ccbbf60928661e385c826de893e6fd57c7e364 (patch)
treefe56370e2539971df08e7cc2403f224138951907 /httemplate/elements/select-payby.html
parent6e39b5fce608de6c2fa532439b58e83c548814c9 (diff)
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/elements/select-payby.html')
-rw-r--r--httemplate/elements/select-payby.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/elements/select-payby.html b/httemplate/elements/select-payby.html
index e0fb4f07d..b2d542190 100644
--- a/httemplate/elements/select-payby.html
+++ b/httemplate/elements/select-payby.html
@@ -4,7 +4,7 @@
>
% unless ( $opt{'multiple'} ) {
- <OPTION VALUE="" <% '' eq $value ? 'SELECTED' : '' %> >all
+ <OPTION VALUE="" <% '' eq $value ? 'SELECTED' : '' %> ><% mt('all') |h %>
% }
% foreach my $option ( keys %{ $opt{'paybys'} } ) {
@@ -26,8 +26,6 @@ my %opt = @_;
my $method = 'payby';
$method = 'cust_payby' if $opt{'payby_type'} eq 'cust';
-#$method = 'event_payby' if $opt{'payby_type'} eq 'event';
-#$method = 'pay_payby' if $opt{'payby_type'} eq 'pay';
unless ( $opt{'paybys'} ) {
tie %{ $opt{'paybys'} }, 'Tie::IxHash', FS::payby->$method();