From 18939f42497a46946861219cb04d90c7d6de0747 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 2 Feb 2015 10:19:53 +0100 Subject: [PATCH] Fixed align in view table data in tree view --- pandora_console/include/ajax/module.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 16cb39fd9e..f324fe6442 100644 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -172,7 +172,7 @@ if ($get_module_detail) { "Time" => array( "utimestamp", "modules_format_time", - "align" => "center") + "align" => "left") ); if ($selection_mode == "fromnow") { @@ -244,21 +244,21 @@ if ($get_module_detail) { $datos = "" . $datos . ""; // I dont why, but using index (value) method, data is automatically converted to html entities ¿? - $data[$attr[1]] = $datos; + $data[] = $datos; } elseif ($is_web_content_string) { //Fixed the goliat sends the strings from web //without HTML entities - $data[$attr[1]] = io_safe_input($row[$attr[0]]); + $data[] = io_safe_input($row[$attr[0]]); } else { // Just a string of alphanumerical data... just do print //Fixed the data from Selenium Plugin if ($row[$attr[0]] != strip_tags($row[$attr[0]])) - $data[$attr[1]] = io_safe_input($row[$attr[0]]); + $data[] = io_safe_input($row[$attr[0]]); else - $data[$attr[1]] = $row[$attr[0]]; + $data[] = $row[$attr[0]]; } }