projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Will things ever be the same again?
[freeside.git]
/
httemplate
/
elements
/
tr-select-pkg_class.html
diff --git
a/httemplate/elements/tr-select-pkg_class.html
b/httemplate/elements/tr-select-pkg_class.html
index
fbab0db
..
7f37e81
100644
(file)
--- a/
httemplate/elements/tr-select-pkg_class.html
+++ b/
httemplate/elements/tr-select-pkg_class.html
@@
-1,22
+1,22
@@
-<%
- my( $classnum, %opt ) = @_;
+%
+% my( $classnum, %opt ) = @_;
+%
+% $opt{'pkg_class'} ||= [ qsearch( 'pkg_class', {} ) ]; # { disabled=>'' } )
+%
+% #warn "***** tr-select-pkg-class: \n". Dumper(%opt);
+%
+% if ( scalar(@{ $opt{'pkg_class'} }) == 0 ) {
- $opt{'pkg_class'} ||= [ qsearch( 'pkg_class', {} ) ]; # { disabled=>'' } )
-
- #warn "***** tr-select-pkg-class: \n". Dumper(%opt);
-%>
-
-<% if ( scalar(@{ $opt{'pkg_class'} }) == 0 ) { %>
<INPUT TYPE="hidden" NAME="classnum" VALUE="">
<INPUT TYPE="hidden" NAME="classnum" VALUE="">
+% } else {
-<% } else { %>
<TR>
<TR>
- <TD ALIGN="right"><%
=
$opt{'label'} || 'Package class' %></TD>
+ <TD ALIGN="right"><% $opt{'label'} || 'Package class' %></TD>
<TD>
<TD>
- <%
=
include( '/elements/select-pkg_class.html', $classnum, %opt ) %>
+ <% include( '/elements/select-pkg_class.html', $classnum, %opt ) %>
</TD>
</TR>
</TD>
</TR>
+% }
-<% } %>