From 67292a534587e3490762aa5db9716517cab079fa Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 7 Oct 2014 16:29:06 +0200 Subject: [PATCH] add checkbox for experienced users to server tab --- apps/user_ldap/css/settings.css | 9 +++++++++ apps/user_ldap/lib/configuration.php | 3 +++ apps/user_ldap/templates/part.wizard-server.php | 11 +++++++++++ 3 files changed, 23 insertions(+) diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 3051cc8058e..48a8626ea9a 100644 --- a/apps/user_ldap/css/settings.css +++ b/apps/user_ldap/css/settings.css @@ -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; diff --git a/apps/user_ldap/lib/configuration.php b/apps/user_ldap/lib/configuration.php index 4cb00561b3f..75d3d5ea04d 100644 --- a/apps/user_ldap/lib/configuration.php +++ b/apps/user_ldap/lib/configuration.php @@ -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; } diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php index 422faad028b..b829c775ad0 100644 --- a/apps/user_ldap/templates/part.wizard-server.php +++ b/apps/user_ldap/templates/part.wizard-server.php @@ -69,6 +69,17 @@ +
+ + + +
+
-- 2.39.5