[freeside-commits] freeside/httemplate/elements communigate_pro-accessmodes.html, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Sat Feb 20 19:16:04 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv18024/httemplate/elements

Added Files:
	communigate_pro-accessmodes.html 
Log Message:
communigate, RT#7083

--- NEW FILE: communigate_pro-accessmodes.html ---
<% include( 'checkboxes.html',
              'element_name_prefix' => 'cgp_accessmodes_',
              'names_list'          => \@names,
              'checked_callback'    => $callback,
              %opt,
          )
%>
<%once>

my @names = (qw(
  Mail Relay Signal Mobile TLS POP IMAP MAPI
  AirSync SIP XMPP WebMail XIMSS FTP ACAP PWD
  LDAP RADIUS S/MIME WebCAL WebSite PBX HTTP
));

</%once>
<%init>

my %opt = @_;
my $curr_value = $opt{'curr_value'};

$curr_value = { map { $_=>1 } split(/\s+/, $curr_value) }
  unless ref($curr_value);

my $callback = sub {
  my( $cgi, $name ) = @_;
  $curr_value->{$name};
};

</%init>



More information about the freeside-commits mailing list