2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php: fixed other safe_ouput in the editor. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7031e87f54
commit
53f656df84
|
@ -1,3 +1,8 @@
|
|||
2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/ajax/visual_console_builder.ajax.php: fixed other safe_ouput in
|
||||
the editor.
|
||||
|
||||
2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php: added lost safe_ouput in the extract
|
||||
|
|
|
@ -177,14 +177,14 @@ switch ($action) {
|
|||
case 'label':
|
||||
case 'icon':
|
||||
$elementFields = get_db_row_filter('tlayout_data', array('id' => $id_element));
|
||||
$elementFields['agent_name'] = get_agent_name($elementFields['id_agent']);
|
||||
$elementFields['agent_name'] = safe_output(get_agent_name($elementFields['id_agent']));
|
||||
//Make the html of select box of modules about id_agent.
|
||||
if ($elementFields['id_agent'] != 0) {
|
||||
$modules = get_agent_modules ($elementFields['id_agent'], false, array('disabled' => 0, 'id_agente' => $elementFields['id_agent']));
|
||||
$modules = get_agent_modules($elementFields['id_agent'], false, array('disabled' => 0, 'id_agente' => $elementFields['id_agent']));
|
||||
|
||||
$elementFields['modules_html'] = '<option value="0">--</option>';
|
||||
foreach ($modules as $id => $name) {
|
||||
$elementFields['modules_html'] .= '<option value="' . $id . '">' . $name . '</option>';
|
||||
$elementFields['modules_html'] .= '<option value="' . $id . '">' . safe_output($name) . '</option>';
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue