<TR>
% #my $width = $show_location ? 'WIDTH="25%"' : 'WIDTH="33%"';
- <TH CLASS="grid" BGCOLOR="#cccccc">Package</TH>
- <TH CLASS="grid" BGCOLOR="#cccccc">Status</TH>
+ <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Package') |h %></TH>
+ <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Status') |h %></TH>
% if ( $show_location ) {
- <TH CLASS="grid" BGCOLOR="#cccccc">Location</TH>
+ <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Location') |h %></TH>
% }
- <TH CLASS="grid" BGCOLOR="#cccccc">Services</TH>
+ <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Services') |h %></TH>
</TR>
% #$FS::cust_pkg::DEBUG = 2;
<!--pkgnum: <% $cust_pkg->pkgnum %>-->
<TR>
- <% include('package.html', %iopt) %>
- <% include('status.html', %iopt) %>
+ <& package.html, %iopt &>
+ <& status.html, %iopt &>
% if ( $show_location ) {
- <% include('location.html', %iopt) %>
+ <& location.html, %iopt &>
% }
- <% include('services.html', %iopt) %>
+ <& services.html, %iopt &>
</TR>
% } #foreach $cust_pkg
my %conf_opt = (
#for services.html and status.html
- 'cust_pkg-display_times' => $conf->exists('cust_pkg-display_times')
+ 'cust_pkg-display_times' => ($conf->exists('cust_pkg-display_times')
|| $curuser->option('cust_pkg-display_times')),
#for status.html
'cust_pkg-show_autosuspend' => $conf->exists('cust_pkg-show_autosuspend'),
'show_location' => $show_location,
);
-
</%init>