updated plugin AuthLDAP
version 2.4.10
This commit is contained in:
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<h2>AuthLDAP Options</h2>
|
||||
<form method="post" id="authLDAP_options" action="<?php echo $action;?>">
|
||||
<form class="authldap-options" method="post" id="authLDAP_options" action="<?php echo $action;?>">
|
||||
<h3 class="title">General Usage of authLDAP</h3>
|
||||
<fieldset class="options">
|
||||
<table class="form-table">
|
||||
@ -389,12 +389,19 @@
|
||||
|
||||
<h3 class="title">Role - group mapping</h3>
|
||||
<fieldset class="options">
|
||||
<p class="description">You can set multiple values per role by separating them with a coma</p>
|
||||
<p class="description">The values are empty by default</p>
|
||||
<table class="form-table">
|
||||
<thead>
|
||||
<th scope="row">Assign this WordPress-Role</th>
|
||||
<th style="width:auto;">to members of this/these LDAP-Groups</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach ($roles->get_names() as $group => $vals) :
|
||||
$aGroup=$authLDAPGroups[$group]; ?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<th scope="row" style="width:auto; min-width: 200px;">
|
||||
<label for="authLDAPGroups[<?php echo $group; ?>]">
|
||||
<?php echo $vals; ?>
|
||||
</label>
|
||||
@ -402,12 +409,10 @@
|
||||
<td>
|
||||
<input type="text" name="authLDAPGroups[<?php echo $group; ?>]" id="authLDAPGroups[<?php echo $group; ?>]"
|
||||
value="<?php echo $aGroup; ?>" />
|
||||
<p class="description">What LDAP-Groups shall be matched to the <?php echo $vals; ?>-Role?</p>
|
||||
<p class="description">Please provide a coma-separated list of values</p>
|
||||
<p class="description">This field is empty by default</p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user