summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-pkg_class.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-pkg_class.html')
-rw-r--r--httemplate/elements/tr-select-pkg_class.html27
1 files changed, 0 insertions, 27 deletions
diff --git a/httemplate/elements/tr-select-pkg_class.html b/httemplate/elements/tr-select-pkg_class.html
deleted file mode 100644
index aa2760996..000000000
--- a/httemplate/elements/tr-select-pkg_class.html
+++ /dev/null
@@ -1,27 +0,0 @@
-% if ( scalar(@{ $opt{'pkg_class'} }) == 0 ) {
-
- <INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'classnum' %>" VALUE="">
-
-% } else {
-
- <TR>
- <TD ALIGN="right"><% $opt{'label'} || 'Package class' %></TD>
- <TD>
- <% include( '/elements/select-pkg_class.html',
- 'curr_value' => $classnum,
- %opt
- )
- %>
- </TD>
- </TR>
-
-% }
-
-<%init>
-
-my %opt = @_;
-my $classnum = $opt{'curr_value'} || $opt{'value'};
-
-$opt{'pkg_class'} ||= [ qsearch( 'pkg_class', {} ) ]; # { disabled=>'' } )
-
-</%init>