2010-10-14 Sergio Martin <sergio.martin@artica.es>

* operation/agentes/ver_agente.php: Safe output the list of
	modules from an agent in the ajax control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-10-14 17:09:26 +00:00
parent 8be9dfa6c1
commit 7b6a52bd02
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-10-14 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php: Safe output the list of
modules from an agent in the ajax control
2010-10-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php

View File

@ -140,6 +140,10 @@ if (is_ajax ()) {
($fields != '' ? explode (',', $fields) : "*"),
($filter != '' ? $filter : false), $indexed);
foreach($agent_modules as $key => $module) {
$agent_modules[$key]['nombre'] = safe_output($module['nombre']);
}
//Hack to translate text "any" in PHP to javascript
//$agent_modules['any_text'] = __('Any');