add checkbox for experienced users to server tab

This commit is contained in:
Arthur Schiwon 2014-10-07 16:29:06 +02:00
parent 432cd4a5c2
commit 67292a5345
3 changed files with 23 additions and 0 deletions

View File

@ -6,6 +6,7 @@
.tablerow {
display: table-row;
white-space: nowrap;
text-align: left;
}
.tablerow input, .tablerow textarea {
@ -16,6 +17,10 @@
height: 15px;
}
#ldap .tablerow label {
margin-left: 3px;
}
.invisible {
visibility: hidden;
}
@ -103,6 +108,10 @@
vertical-align: bottom;
}
#ldap input[type=checkbox] {
width: 15px !important;
}
select[multiple=multiple] + button {
height: 28px;
padding-top: 6px !important;

View File

@ -69,6 +69,7 @@ class Configuration {
'ldapConfigurationActive' => false,
'ldapAttributesForUserSearch' => null,
'ldapAttributesForGroupSearch' => null,
'ldapExperiencedAdmin' => false,
'homeFolderNamingRule' => null,
'hasPagedResultSupport' => false,
'hasMemberOfFilterSupport' => false,
@ -391,6 +392,7 @@ class Configuration {
'last_jpegPhoto_lookup' => 0,
'ldap_nested_groups' => 0,
'ldap_paging_size' => 500,
'ldap_experienced_admin' => 0,
);
}
@ -444,6 +446,7 @@ class Configuration {
'last_jpegPhoto_lookup' => 'lastJpegPhotoLookup',
'ldap_nested_groups' => 'ldapNestedGroups',
'ldap_paging_size' => 'ldapPagingSize',
'ldap_experienced_admin' => 'ldapExperiencedAdmin'
);
return $array;
}

View File

@ -69,6 +69,17 @@
</textarea>
</div>
<div class="tablerow left">
<label for="ldap_experienced_admin" class="tablecell">
<?php p($l->t('I am familiar with LDAP?'));?>
</label>
<input type="checkbox" id="ldap_experienced_admin" value="1"
name="ldap_experienced_admin" class="tablecell lwautosave"
title="<?php p($l->t('Avoids automatic LDAP requests. Better for bigger setups, but requires some LDAP knowledge.'));?>"
/>
</div>
<div class="tablerow">
<div class="tablecell ldapWizardInfo invisible">&nbsp;
</div>