summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/locations.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-16 16:31:08 +0000
committerlevinse <levinse>2011-05-16 16:31:08 +0000
commit2238711675eefa60cd2feb47c8d3e43d3e6f1860 (patch)
treeeafc9212ef4c87af30cb04b1b27a5af12367deed /httemplate/view/cust_main/locations.html
parenta363a49c213f1e64add5c34a8a2bd17d154adfd3 (diff)
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/view/cust_main/locations.html')
-rwxr-xr-xhttemplate/view/cust_main/locations.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/httemplate/view/cust_main/locations.html b/httemplate/view/cust_main/locations.html
index ea6216ea9..c95850b78 100755
--- a/httemplate/view/cust_main/locations.html
+++ b/httemplate/view/cust_main/locations.html
@@ -10,7 +10,7 @@ span.loclabel {
% my $packages = $packages_in{$locationnum};
% my $loc = $locations{$locationnum};
% next if $loc->disabled and scalar(@$packages) == 0;
-<% include('/elements/table-grid.html') %>
+<& /elements/table-grid.html &>
<TR><TH COLSPAN=3 ALIGN="left" VALIGN="bottom"
STYLE="padding-bottom: 0px;
padding-left: 0px;
@@ -34,7 +34,7 @@ Default service location:
% }
</SPAN></TH></TR>
% if (@$packages) {
-<% include('packages/section.html', 'packages' => $packages ) %>
+<& packages/section.html, 'packages' => $packages &>
% }
</TABLE><BR>
% } #foreach $locationnum
@@ -69,8 +69,8 @@ sub edit_location_link {
my $locationnum = shift;
include( '/elements/popup_link.html',
'action' => $p. "edit/cust_location.cgi?locationnum=$locationnum",
- 'label' => '(Edit location)',
- 'actionlabel' => 'Edit',
+ 'label' => '('.mt('Edit location').')',
+ 'actionlabel' => mt('Edit'),
);
}
@@ -78,10 +78,9 @@ sub disable_location_link {
my $locationnum = shift;
include( '/elements/popup_link.html',
'action' => $p. "misc/disable-cust_location.cgi?locationnum=$locationnum",
- 'label' => '(Disable location)',
- 'actionlabel' => 'Disable',
+ 'label' => '('.mt('Disable location').')',
+ 'actionlabel' => mt('Disable'),
);
}
-
</%init>