From 0d99b931c84d804161066f68cad097c903a71b21 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 28 Sep 2011 16:46:06 +0000 Subject: [PATCH] 2011-09-28 Sergio Martin * godmode/setup/setup_auth.php: Fixed LDAP jquery problem in spanish translation for bug 3411881. Improved to charge the fields first time page is loaded git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/setup/setup_auth.php | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4cea6af196..32ac65bd3c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-09-28 Sergio Martin + + * godmode/setup/setup_auth.php: Fixed LDAP jquery problem + in spanish translation for bug 3411881. Improved to + charge the fields first time page is loaded + 2011-09-28 Sergio Martin * include/functions_graph.php: Fixed graphs engine to fix diff --git a/pandora_console/godmode/setup/setup_auth.php b/pandora_console/godmode/setup/setup_auth.php index 07674b5adc..35c051fab5 100644 --- a/pandora_console/godmode/setup/setup_auth.php +++ b/pandora_console/godmode/setup/setup_auth.php @@ -37,7 +37,7 @@ $table->width = '98%'; $table->size[0] = '30%'; $table->data[0][0] = __('Authentication method'); -$auth_methods = array ('mysql' => __('Local Pandora FMS'), __('ldap') => 'LDAP'); +$auth_methods = array ('mysql' => __('Local Pandora FMS'), 'ldap' => __('ldap')); enterprise_hook ('add_enterprise_auth_methods', array (&$auth_methods)); $table->data[0][1] = html_print_select ($auth_methods, 'auth', $config['auth'], 'show_selected_rows ();', '', 0, true); @@ -124,4 +124,6 @@ echo ''; $("#text-autocreate_blacklist").attr("disabled", false); } } + + show_selected_rows();