diff options
author | ivan <ivan> | 2006-08-23 22:25:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-08-23 22:25:39 +0000 |
commit | 3ce7691203a7737406bf2d4442f7fd84b81f847e (patch) | |
tree | 90658b097da96772224f04771888ac6ca1a940aa /httemplate/elements/tr-select-pkg_class.html | |
parent | 15e561850b61b10a92a46d8f3e316d53d4970087 (diff) |
Will things ever be the same again?
It's the final masonize
Diffstat (limited to 'httemplate/elements/tr-select-pkg_class.html')
-rw-r--r-- | httemplate/elements/tr-select-pkg_class.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/httemplate/elements/tr-select-pkg_class.html b/httemplate/elements/tr-select-pkg_class.html index fbab0db..7f37e81 100644 --- 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=""> +% } else { -<% } else { %> <TR> - <TD ALIGN="right"><%= $opt{'label'} || 'Package class' %></TD> + <TD ALIGN="right"><% $opt{'label'} || 'Package class' %></TD> <TD> - <%= include( '/elements/select-pkg_class.html', $classnum, %opt ) %> + <% include( '/elements/select-pkg_class.html', $classnum, %opt ) %> </TD> </TR> +% } -<% } %> |