Blame view
sources/apps/user_ldap/templates/part.wizard-server.php
2.49 KB
|
31b7f2792
|
1 2 3 4 5 |
<fieldset id="ldapWizard1">
<p>
<select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser">
<?php if(count($_['serverConfigurationPrefixes']) === 0 ) {
?>
|
|
6d9380f96
|
6 |
<option value="" selected><?php p($l->t('1. Server'));?></option>');
|
|
31b7f2792
|
7 8 9 10 11 12 |
<?php
} else {
$i = 1;
$sel = ' selected';
foreach($_['serverConfigurationPrefixes'] as $prefix) {
?>
|
|
6d9380f96
|
13 |
<option value="<?php p($prefix); ?>"<?php p($sel); $sel = ''; ?>><?php p($l->t('%s. Server:', array($i++)));?> <?php p(' '.$_['serverConfigurationHosts'][$prefix]); ?></option>
|
|
31b7f2792
|
14 15 16 17 18 19 20 |
<?php
}
}
?>
<option value="NEW"><?php p($l->t('Add Server Configuration'));?></option>
</select>
<button id="ldap_action_delete_configuration"
|
|
6d9380f96
|
21 |
name="ldap_action_delete_configuration"><?php p($l->t('Delete Configuration'));?></button>
|
|
31b7f2792
|
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
</p>
<div class="hostPortCombinator">
<div class="tablerow">
<div class="tablecell">
<div class="table">
<input type="text" class="host tablecell lwautosave" id="ldap_host"
name="ldap_host"
placeholder="<?php p($l->t('Host'));?>"
title="<?php p($l->t('You can omit the protocol, except you require SSL. Then start with ldaps://'));?>"
/>
<span>
<input type="number" id="ldap_port" name="ldap_port"
class="lwautosave"
placeholder="<?php p($l->t('Port'));?>" />
</span>
</div>
</div>
</div>
<div class="tablerow">
<input type="text" id="ldap_dn" name="ldap_dn"
class="tablecell lwautosave"
|
|
a293d369c
|
44 |
placeholder="<?php p($l->t('User DN'));?>" autocomplete="off"
|
|
31b7f2792
|
45 46 47 48 49 50 51 |
title="<?php p($l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.'));?>"
/>
</div>
<div class="tablerow">
<input type="password" id="ldap_agent_password"
class="tablecell lwautosave" name="ldap_agent_password"
|
|
a293d369c
|
52 |
placeholder="<?php p($l->t('Password'));?>" autocomplete="off"
|
|
31b7f2792
|
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>"
/>
</div>
<div class="tablerow">
<textarea id="ldap_base" name="ldap_base"
class="tablecell lwautosave"
placeholder="<?php p($l->t('One Base DN per line'));?>"
title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>">
</textarea>
</div>
<div class="tablerow">
<div class="tablecell ldapWizardInfo invisible">
</div>
</div>
</div>
<?php print_unescaped($_['wizardControls']); ?>
|
|
6d9380f96
|
71 |
</fieldset> |