blob: e443ad26a78afa922e43ea54cca850224b387c0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
%
% my( $groupnum, %opt ) = @_;
%
% $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 {
<TR>
<TD ALIGN="right"><% $opt{'label'} || 'Access group' %></TD>
<TD>
<% include( '/elements/select-access_group.html', $groupnum, %opt ) %>
</TD>
</TR>
% }
|