[Netpass-devel] NetPass/www/components/Admin FormAuthLDAP,NONE,1.1
Brought to you by:
jeffmurphy
From: jeff m. <jef...@us...> - 2005-06-03 19:41:58
|
Update of /cvsroot/netpass/NetPass/www/components/Admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4656/www/components/Admin Added Files: FormAuthLDAP Log Message: auth config gui --- NEW FILE: FormAuthLDAP --- <%doc> Fetch all LDAP servers. Display them. Allow for add/del and edit. </%doc> <%args> $prefix => ''; </%args> <%perl> my $rs_ = $np->cfg->getLDAP(); my $rs = (ref($rs_) eq "ARRAY") ? $rs_ : []; my $WH = "----------------"; my $ml = length($WH); foreach my $server (@$rs) { $ml = ($ml > length($server)) ? $ml : length($server); } $ml = int($ml * 1.5); $WH = "-" x $ml; </%perl> <table border=0> <tr><th>LDAP Servers</th><th>Options</th></tr> <tr><td><%$q->scrolling_list(-id => $prefix.'ldapServer', -name => $prefix.'ldapServer', -size => 4, -values => [ $WH, @$rs ])%></td> <td><input size=16 id='<%$prefix%>ldapBase'> <input size=16 id='<%$prefix%>ldapFilter'> <input size=16 id='<%$prefix%>ldapPasswordField'> </td> </tr> </table> |