2013-03-11 Miguel de Dios <miguel.dedios@artica.es>

* extensions/update_manager/lib/functions.ajax.php: disabled the
	trace.
	
	* operation/agentes/ver_agente.php: fixed the output of modules
	when the names is very large.
	
	Fixes: #3607080
	
	* godmode/agentes/module_manager.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-03-11 19:09:43 +00:00
parent 136494e89d
commit 3dd28258e1
4 changed files with 18 additions and 6 deletions

View File

@ -1,3 +1,15 @@
2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/functions.ajax.php: disabled the
trace.
* operation/agentes/ver_agente.php: fixed the output of modules
when the names is very large.
Fixes: #3607080
* godmode/agentes/module_manager.php: cleaned source code style.
2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed PHP notices when the "homeurl"

View File

@ -214,7 +214,7 @@ function update_pandora_download_package() {
}
$info = curl_getinfo ($c);
html_debug_print($info, true);
//html_debug_print($info, true);
$data = array();
$data['correct'] = 1;

View File

@ -272,7 +272,7 @@ if (is_ajax ()) {
}
foreach ($nameModules as $nameModule_key => $nameModule_value) {
$result[$nameModule_key] = io_safe_output($nameModule_value);
$result[$nameModule_key] = ui_print_truncate_text(io_safe_output($nameModule_value), 'module_medium', false, true);
}
}
else {
@ -302,9 +302,9 @@ if (is_ajax ()) {
$result = array();
foreach($nameModules as $nameModule) {
if (empty($serialized))
$result[io_safe_output($nameModule['nombre'])] = io_safe_output($nameModule['nombre']);
$result[io_safe_output($nameModule['nombre'])] = ui_print_truncate_text(io_safe_output($nameModule['nombre']), 'module_medium', false, true);
else
$result[io_safe_output($nameModule['nombre']).'$*$'.implode('|', $idAgents)] = io_safe_output($nameModule['nombre']);
$result[io_safe_output($nameModule['nombre']).'$*$'.implode('|', $idAgents)] = ui_print_truncate_text(io_safe_output($nameModule['nombre']), 'module_medium', false, true);
}
}