summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-access_group.html
diff options
context:
space:
mode:
authorivan <ivan>2006-08-23 22:25:39 +0000
committerivan <ivan>2006-08-23 22:25:39 +0000
commit3ce7691203a7737406bf2d4442f7fd84b81f847e (patch)
tree90658b097da96772224f04771888ac6ca1a940aa /httemplate/elements/tr-select-access_group.html
parent15e561850b61b10a92a46d8f3e316d53d4970087 (diff)
Will things ever be the same again?
It's the final masonize
Diffstat (limited to 'httemplate/elements/tr-select-access_group.html')
-rw-r--r--httemplate/elements/tr-select-access_group.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/httemplate/elements/tr-select-access_group.html b/httemplate/elements/tr-select-access_group.html
index 0beec0842..e443ad26a 100644
--- a/httemplate/elements/tr-select-access_group.html
+++ b/httemplate/elements/tr-select-access_group.html
@@ -1,22 +1,22 @@
-<%
- my( $groupnum, %opt ) = @_;
+%
+% my( $groupnum, %opt ) = @_;
+%
+% $opt{'access_group'} ||= [ qsearch( 'access_group', {} ) ]; # { disabled=>'' } )
+%
+% #warn "***** tr-select-access_group: \n". Dumper(%opt);
+%
+% if ( scalar(@{ $opt{'access_group'} }) == 0 ) {
- $opt{'access_group'} ||= [ qsearch( 'access_group', {} ) ]; # { disabled=>'' } )
-
- #warn "***** tr-select-access_group: \n". Dumper(%opt);
-%>
-
-<% if ( scalar(@{ $opt{'access_group'} }) == 0 ) { %>
<INPUT TYPE="hidden" NAME="groupnum" VALUE="">
+% } else {
-<% } else { %>
<TR>
- <TD ALIGN="right"><%= $opt{'label'} || 'Access group' %></TD>
+ <TD ALIGN="right"><% $opt{'label'} || 'Access group' %></TD>
<TD>
- <%= include( '/elements/select-access_group.html', $groupnum, %opt ) %>
+ <% include( '/elements/select-access_group.html', $groupnum, %opt ) %>
</TD>
</TR>
+% }
-<% } %>