2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/agentes/estado_ultimopaquete.php: Fixed layout in this 
	view when module data is a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-10-10 14:55:32 +00:00
parent 46ed6092bc
commit 966a976bf1
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_ultimopaquete.php: Fixed layout in this
view when module data is a string.
2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_monitores.php: Fixed query to add module

View File

@ -373,11 +373,14 @@ foreach ($modules as $module) {
}
else {
if (strlen($module["datos"]) > 0 ) $colspan = 2;
if (strlen($module["datos"]) > 0 ) $colspan = /*2*/ 1;
else $colspan= 1;
echo "<td class='".$tdcolor."f9' colspan='" . $colspan . "' title='".io_safe_output($module["datos"])."'>";
echo substr(io_safe_output($module["datos"]),0,42);
if (strlen(io_safe_output($module["datos"])) > 42){
echo "...";
}
}
echo "</td>";