2013-06-07 Sergio Martin <sergio.martin@artica.es>

* godmode/servers/plugin.php: Fixed disabled textarea
	of macros help in plugin form



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-06-07 10:45:53 +00:00
parent 044748c8b1
commit ef80c94108
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-06-07 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/plugin.php: Fixed disabled textarea
of macros help in plugin form
2013-06-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php,

View File

@ -244,7 +244,8 @@ if (($create != "") OR ($view != "")) {
$datam = array ();
$datam[0] = __('Help')."<span style='font-weight: normal'> ($macro_name)</span><br><br><br>";
$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'));