2012-06-19 Miguel de Dios <miguel.dedios@artica.es>

* godmode/reporting/reporting_builder.list_items.php: some fixes.

	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2012-06-19 09:25:45 +00:00
parent e042e0154f
commit fed40c748e
2 changed files with 25 additions and 16 deletions

View File

@ -1,3 +1,9 @@
2012-06-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.list_items.php: some fixes.
MERGED FROM 4.0.2
2012-06-18 Sergio Martin <sergio.martin@artica.es> 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php: Added categories in the * include/functions_menu.php: Added categories in the

View File

@ -231,9 +231,11 @@ if ($items) {
$table->align[6] = 'center'; $table->align[6] = 'center';
$table->align[7] = 'center'; $table->align[7] = 'center';
} else { }
else {
echo '<br><br><div class="nf">'. __('No items') . '</div>'; echo '<br><br><div class="nf">'. __('No items') . '</div>';
} }
$lastPage = true; $lastPage = true;
if (((($offset == 0) && ($config["block_size"] > $countItems)) || if (((($offset == 0) && ($config["block_size"] > $countItems)) ||
($countItems >= ($config["block_size"] + $offset))) && ($countItems >= ($config["block_size"] + $offset))) &&
@ -296,7 +298,8 @@ foreach ($items as $item) {
} }
else { else {
$module_name_db = db_get_value_filter('nombre', 'tagente_modulo', array('id_agente_modulo' => $item['id_agent_module'])); $module_name_db = db_get_value_filter('nombre', 'tagente_modulo', array('id_agente_modulo' => $item['id_agent_module']));
$row[3] = ui_print_truncate_text(io_safe_output($module_name_db), 'module_small'); $row[3] =
ui_print_truncate_text(io_safe_output($module_name_db), 'module_small');
} }
} }