diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 39d2090932..84c3bca650 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-06-07 Sergio Martin + + * godmode/servers/plugin.php: Fixed disabled textarea + of macros help in plugin form + 2013-06-07 Miguel de Dios * godmode/agentes/module_manager.php, diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index 09921c9d9e..f6c3a78423 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -244,7 +244,8 @@ if (($create != "") OR ($view != "")) { $datam = array (); $datam[0] = __('Help')." ($macro_name)


"; - $datam[1] = html_print_textarea ($macro_help_name, 6, 100, $macro_help_value, 'class="command_advanced_conf" style="width: 97%;"' . $locked ? ' disabled' : '', true); + $tadisabled = $locked === true ? ' disabled' : ''; + $datam[1] = html_print_textarea ($macro_help_name, 6, 100, $macro_help_value, 'class="command_advanced_conf" style="width: 97%;"' . $tadisabled, true); if($locked) { $datam[1] .= html_print_image('images/lock.png', true, array('class' => 'command_advanced_conf'));