2011-01-21 Miguel de Dios <miguel.dedios@artica.es>

* godmode/reporting/visual_console_builder.elements.php: fixed the show
	disabled modules in the list of element tab of the visual console editor.
	
	Fixes: #3155701



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-01-21 11:15:29 +00:00
parent 3274315cd3
commit aa28e4247f
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-01-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.elements.php: fixed the show
disabled modules in the list of element tab of the visual console editor.
Fixes: #3155701
2011-01-20 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fixed and optimized the extract the

View File

@ -145,7 +145,8 @@ foreach ($layoutDatas as $layoutData) {
$table->data[$i + 2]['icon'] = '';
$table->data[$i + 2][0] = '<a href="#" class="tip">&nbsp;<span>' . __("Type at least two characters to search.") . '</span></a>' . print_input_text_extended ('agent_' . $idLayoutData, get_agent_name($layoutData['id_agent']), 'text-agent_' . $idLayoutData, '', 15, 100, false, '',
array('class' => 'text-agent', 'style' => 'background: #ffffff url(images/lightning.png) no-repeat right;'), true);
$table->data[$i + 2][1] = print_select_from_sql('SELECT id_agente_modulo, nombre FROM tagente_modulo WHERE id_agente = ' . $layoutData['id_agent'],
$sql = 'SELECT id_agente_modulo, nombre FROM tagente_modulo WHERE disabled = 0 AND id_agente = ' . $layoutData['id_agent'];
$table->data[$i + 2][1] = print_select_from_sql($sql,
'module_' . $idLayoutData, $layoutData['id_agente_modulo'], '', '---', 0, true);
$table->data[$i + 2][2] = '';
if ($layoutData['type'] == MODULE_GRAPH) {