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:
parent
136494e89d
commit
3dd28258e1
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -448,7 +448,7 @@ $total_modules = db_get_value_sql($sql_total_modules);
|
|||
$total_modules = isset ($total_modules) ? $total_modules : 0;
|
||||
|
||||
if ($modules === false) {
|
||||
echo "<div class='nf'>".__('No available data to show')."</div>";
|
||||
echo "<div class='nf'>" . __('No available data to show') . "</div>";
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -541,7 +541,7 @@ foreach ($modules as $module) {
|
|||
"alt" => "")) . " ";
|
||||
}
|
||||
|
||||
if(check_acl ($config['id_user'], $agent['id_grupo'], "AW")) {
|
||||
if (check_acl ($config['id_user'], $agent['id_grupo'], "AW")) {
|
||||
$data[0] .= '<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=' . $id_agente . '&tab=module&edit_module=1&id_agent_module='.$module['id_agente_modulo'].'">';
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue