From b0fff0d7704f8659fd1da325523a571d3d8a2603 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 30 Dec 2007 23:43:24 +0000 Subject: Make the LDAP settings screen look better. Work sponsored-by: Centipede Networks --- usr/local/www/system_usermanager_settings.php | 2 +- usr/local/www/system_usermanager_settings_test.php | 40 +++++++++++++++++++--- 2 files changed, 37 insertions(+), 5 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php index c34bd8e..175b6fa 100755 --- a/usr/local/www/system_usermanager_settings.php +++ b/usr/local/www/system_usermanager_settings.php @@ -124,7 +124,7 @@ include("head.inc"); if($save_and_test) { echo "\n"; } ?> diff --git a/usr/local/www/system_usermanager_settings_test.php b/usr/local/www/system_usermanager_settings_test.php index 2e11c21..4e32f2d 100755 --- a/usr/local/www/system_usermanager_settings_test.php +++ b/usr/local/www/system_usermanager_settings_test.php @@ -35,10 +35,36 @@ $ldapbindun = $config['system']['webgui']['ldapbindun']; $ldapbindpw = $config['system']['webgui']['ldapbindpw']; $ldapfilter = $config['system']['webgui']['ldapfilter']; - +?> + + + + + + +
+ +"; -echo ""; +echo "
"; echo "
Attempting connection to {$ldapserver}"; if(ldap_test_connection()) @@ -63,11 +89,17 @@ echo "

"; if(is_array($ous)) { echo "Organization units found:

"; - echo ""; + echo "
"; foreach($ous as $ou) { echo ""; } echo "
" . $ou . "
"; } -?> \ No newline at end of file +?> +

+ + +

+ + -- cgit v1.1