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

View File

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

View File

@ -69,6 +69,17 @@
</textarea> </textarea>
</div> </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="tablerow">
<div class="tablecell ldapWizardInfo invisible">&nbsp; <div class="tablecell ldapWizardInfo invisible">&nbsp;
</div> </div>