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:
parent
6a1cc19554
commit
1757927cd5
|
@ -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
|
||||
|
|
|
@ -161,8 +161,13 @@ if ($config["integria_enabled"]) {
|
|||
}
|
||||
|
||||
$table->data[19][0] = __('Enable Netflow');
|
||||
$table->data[19][1] = __('Yes').' '.html_print_radio_button ('activate_netflow', 1, '', $config["activate_netflow"], true).' ';
|
||||
$table->data[19][1] .= __('No').' '.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').' '.html_print_radio_button_extended ('activate_netflow', 1, '', $config["activate_netflow"], $rbt_disabled, '', '', true).' ';
|
||||
$table->data[19][1] .= __('No').' '.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'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue