Wizard does not need data-defaults here
This commit is contained in:
parent
f6b60c6586
commit
3ae696f843
|
@ -27,14 +27,12 @@
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<input type="text" class="host tablecell lwautosave" id="ldap_host"
|
<input type="text" class="host tablecell lwautosave" id="ldap_host"
|
||||||
name="ldap_host"
|
name="ldap_host"
|
||||||
data-default="<?php p($_['ldap_host_default']); ?>"
|
|
||||||
placeholder="<?php p($l->t('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://'));?>"
|
title="<?php p($l->t('You can omit the protocol, except you require SSL. Then start with ldaps://'));?>"
|
||||||
/>
|
/>
|
||||||
<span>
|
<span>
|
||||||
<input type="number" id="ldap_port" name="ldap_port"
|
<input type="number" id="ldap_port" name="ldap_port"
|
||||||
class="invisible lwautosave"
|
class="invisible lwautosave"
|
||||||
data-default="<?php p($_['ldap_port_default']); ?>"
|
|
||||||
placeholder="<?php p($l->t('Port'));?>" />
|
placeholder="<?php p($l->t('Port'));?>" />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,7 +41,6 @@
|
||||||
<div class="tablerow">
|
<div class="tablerow">
|
||||||
<input type="text" id="ldap_dn" name="ldap_dn"
|
<input type="text" id="ldap_dn" name="ldap_dn"
|
||||||
class="tablecell lwautosave"
|
class="tablecell lwautosave"
|
||||||
data-default="<?php p($_['ldap_dn_default']); ?>"
|
|
||||||
placeholder="<?php p($l->t('User DN'));?>"
|
placeholder="<?php p($l->t('User DN'));?>"
|
||||||
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.'));?>"
|
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.'));?>"
|
||||||
/>
|
/>
|
||||||
|
@ -52,7 +49,6 @@
|
||||||
<div class="tablerow">
|
<div class="tablerow">
|
||||||
<input type="password" id="ldap_agent_password"
|
<input type="password" id="ldap_agent_password"
|
||||||
class="tablecell lwautosave" name="ldap_agent_password"
|
class="tablecell lwautosave" name="ldap_agent_password"
|
||||||
data-default="<?php p($_['ldap_agent_password_default']); ?>"
|
|
||||||
placeholder="<?php p($l->t('Password'));?>"
|
placeholder="<?php p($l->t('Password'));?>"
|
||||||
title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>"
|
title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>"
|
||||||
/>
|
/>
|
||||||
|
@ -62,8 +58,7 @@
|
||||||
<textarea id="ldap_base" name="ldap_base"
|
<textarea id="ldap_base" name="ldap_base"
|
||||||
class="tablecell invisible lwautosave"
|
class="tablecell invisible lwautosave"
|
||||||
placeholder="<?php p($l->t('One Base DN per line'));?>"
|
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'));?>"
|
title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>">
|
||||||
data-default="<?php p($_['ldap_base_default']); ?>" >
|
|
||||||
</textarea>
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,49 +1,39 @@
|
||||||
<fieldset id="ldapWizard2">
|
<fieldset id="ldapWizard2">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
<?php p($l->t('Limit the access to ownCloud to users meeting this criteria:'));?>
|
<?php p($l->t('Limit the access to ownCloud to users meeting this criteria:'));?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label for="ldap_userfilter_objectclass">
|
<label for="ldap_userfilter_objectclass">
|
||||||
<?php p($l->t('only those object classes:'));?>
|
<?php p($l->t('only those object classes:'));?>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<select id="ldap_userfilter_objectclass" multiple="multiple"
|
<select id="ldap_userfilter_objectclass" multiple="multiple"
|
||||||
name="ldap_userfilter_objectclass"
|
name="ldap_userfilter_objectclass">
|
||||||
data-default="<?php p($_['ldap_userfilter_objectclass_default']); ?>">
|
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label for="ldap_userfilter_groups">
|
<label for="ldap_userfilter_groups">
|
||||||
<?php p($l->t('only from those groups:'));?>
|
<?php p($l->t('only from those groups:'));?>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<select id="ldap_userfilter_groups" multiple="multiple"
|
<select id="ldap_userfilter_groups" multiple="multiple"
|
||||||
name="ldap_userfilter_groups"
|
name="ldap_userfilter_groups">
|
||||||
data-default="<?php p($_['ldap_userfilter_groups_default']); ?>">
|
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label><a id='toggleRawUserFilter'>↓ <?php p($l->t('Edit raw filter instead'));?></a></label>
|
<label><a id='toggleRawUserFilter'>↓ <?php p($l->t('Edit raw filter instead'));?></a></label>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p id="rawUserFilterContainer" class="invisible">
|
<p id="rawUserFilterContainer" class="invisible">
|
||||||
<input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
|
<input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
|
||||||
class="lwautosave"
|
class="lwautosave"
|
||||||
data-default="<?php p($_['ldap_userlist_filter_default']); ?>"
|
|
||||||
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
|
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
|
||||||
title="<?php p($l->t('The filter specifies which LDAP users shall have access to the ownCloud instance.'));?>"
|
title="<?php p($l->t('The filter specifies which LDAP users shall have access to the ownCloud instance.'));?>"
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<div class="ldapWizardInfo invisible"> </div>
|
<div class="ldapWizardInfo invisible"> </div>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<span id="ldap_user_count">0</span> <span><?php p($l->t('user(s) found'));?></span>
|
<span id="ldap_user_count">0</span> <span><?php p($l->t('user(s) found'));?></span>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue