summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-part_pkg.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/tr-select-part_pkg.html
parent6e39b5fce608de6c2fa532439b58e83c548814c9 (diff)
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/elements/tr-select-part_pkg.html')
-rw-r--r--httemplate/elements/tr-select-part_pkg.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/httemplate/elements/tr-select-part_pkg.html b/httemplate/elements/tr-select-part_pkg.html
index 88653f465..400cc5ae8 100644
--- a/httemplate/elements/tr-select-part_pkg.html
+++ b/httemplate/elements/tr-select-part_pkg.html
@@ -9,12 +9,12 @@
%
% unless ( $opt{'js_only'} ) {
- <% include('tr-td-label.html', %opt) %>
+ <& tr-td-label.html, %opt &>
<TD <% $cell_style %>>
% }
%
- <% include( '/elements/select-part_pkg.html', %opt ) %>
+ <& /elements/select-part_pkg.html, %opt &>
%
% unless ( $opt{'js_only'} ) {
@@ -30,10 +30,6 @@ my( %opt ) = @_;
my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
-$opt{'label'} ||= 'Package definition';
-
-#taken care of (better) in select-part_pkg now (is there anything using this
-# that needs to override the disabed=>'' ??)
-#$opt{'part_pkg'} ||= [ qsearch( 'part_pkg', {} ) ]; # { disabled=>'' } )
+$opt{'label'} ||= emt('Package definition');
</%init>