Fixed align in view table data in tree view

(cherry picked from commit 18939f4249)
This commit is contained in:
m-lopez-f 2015-02-02 10:19:53 +01:00
parent b126329721
commit b67188728b
1 changed files with 5 additions and 5 deletions

View File

@ -164,7 +164,7 @@ if ($get_module_detail) {
"Time" => array( "Time" => array(
"utimestamp", "utimestamp",
"modules_format_time", "modules_format_time",
"align" => "center") "align" => "left")
); );
if ($selection_mode == "fromnow") { if ($selection_mode == "fromnow") {
@ -236,21 +236,21 @@ if ($get_module_detail) {
$datos = "<span style='font-family: mono,monospace;'>" . $datos . "</span>"; $datos = "<span style='font-family: mono,monospace;'>" . $datos . "</span>";
// I dont why, but using index (value) method, data is automatically converted to html entities ¿? // 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) { elseif ($is_web_content_string) {
//Fixed the goliat sends the strings from web //Fixed the goliat sends the strings from web
//without HTML entities //without HTML entities
$data[$attr[1]] = io_safe_input($row[$attr[0]]); $data[] = io_safe_input($row[$attr[0]]);
} }
else { else {
// Just a string of alphanumerical data... just do print // Just a string of alphanumerical data... just do print
//Fixed the data from Selenium Plugin //Fixed the data from Selenium Plugin
if ($row[$attr[0]] != strip_tags($row[$attr[0]])) 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 else
$data[$attr[1]] = $row[$attr[0]]; $data[] = $row[$attr[0]];
} }
} }