2010-06-01 Ramon Novoa <rnovoa@artica.es>

* godmode/setup/setup.php: Ask for confirmation before enabling
          'Enforce https' since access to Pandora FMS Console may be lost.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-06-01 11:17:01 +00:00
parent aba8e78b60
commit 0d5e89ab68
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-01 Ramon Novoa <rnovoa@artica.es>
* godmode/setup/setup.php: Ask for confirmation before enabling
'Enforce https' since access to Pandora FMS Console may be lost.
2010-06-01 Sergio Martin <sergio.martin@artica.es>
* include/FusionCharts/FusionCharts_Gen.php: Fixed the

View File

@ -89,7 +89,7 @@ $table->data[10][1] = __('Yes').'&nbsp;'.print_radio_button ('autoupdate', 1, ''
$table->data[10][1] .= __('No').'&nbsp;'.print_radio_button ('autoupdate', 0, '', $config["autoupdate"], true);
$table->data[11][0] = __('Enforce https');
$table->data[11][1] = __('Yes').'&nbsp;'.print_radio_button ('https', 1, '', $config["https"], true).'&nbsp;&nbsp;';
$table->data[11][1] = __('Yes').'&nbsp;'.print_radio_button_extended ('https', 1, '', $config["https"], false, "if (! confirm ('" . __('If SSL is not properly configured you will lose access to Pandora FMS Console. Do you want to continue?') . "')) return false", '', true) .'&nbsp;&nbsp;';
$table->data[11][1] .= __('No').'&nbsp;'.print_radio_button ('https', 0, '', $config["https"], true);