2014-06-04 Alejandro Gallardo <alejandro.gallardo@artica.es>

* godmode/setup/setup_general.php: Disable the "Enable
	Netflow" radio buttons if the server is installed on a
	Windows machine.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
alexhigh 2014-06-04 17:09:30 +00:00
parent 6a1cc19554
commit 1757927cd5
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-06-04 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/setup/setup_general.php: Disable the "Enable
Netflow" radio buttons if the server is installed on a
Windows machine.
2014-06-04 Sergio Martin <sergio.martin@artica.es>
* include/help/es/help_plugin_macros.php

View File

@ -161,8 +161,13 @@ if ($config["integria_enabled"]) {
}
$table->data[19][0] = __('Enable Netflow');
$table->data[19][1] = __('Yes').'&nbsp;&nbsp;&nbsp;'.html_print_radio_button ('activate_netflow', 1, '', $config["activate_netflow"], true).'&nbsp;&nbsp;';
$table->data[19][1] .= __('No').'&nbsp;&nbsp;&nbsp;'.html_print_radio_button ('activate_netflow', 0, '', $config["activate_netflow"], true);
$rbt_disabled = false;
if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) {
$rbt_disabled = true;
$table->data[19][0] .= ui_print_help_tip (__('Not supported in Windows systems.'), true);
}
$table->data[19][1] = __('Yes').'&nbsp;&nbsp;&nbsp;'.html_print_radio_button_extended ('activate_netflow', 1, '', $config["activate_netflow"], $rbt_disabled, '', '', true).'&nbsp;&nbsp;';
$table->data[19][1] .= __('No').'&nbsp;&nbsp;&nbsp;'.html_print_radio_button_extended ('activate_netflow', 0, '', $config["activate_netflow"], $rbt_disabled, '', '', true);
$zone_name = array('Africa' => __('Africa'), 'America' => __('America'), 'Antarctica' => __('Antarctica'), 'Arctic' => __('Arctic'), 'Asia' => __('Asia'), 'Atlantic' => __('Atlantic'), 'Australia' => __('Australia'), 'Europe' => __('Europe'), 'Indian' => __('Indian'), 'Pacific' => __('Pacific'), 'UTC' => __('UTC'));