Fixed align in view table data in tree view
(cherry picked from commit 18939f4249
)
This commit is contained in:
parent
50c150d492
commit
38be10c94f
|
@ -164,7 +164,7 @@ if ($get_module_detail) {
|
|||
"Time" => array(
|
||||
"utimestamp",
|
||||
"modules_format_time",
|
||||
"align" => "center")
|
||||
"align" => "left")
|
||||
);
|
||||
|
||||
if ($selection_mode == "fromnow") {
|
||||
|
@ -236,21 +236,21 @@ if ($get_module_detail) {
|
|||
$datos = "<span style='font-family: mono,monospace;'>" . $datos . "</span>";
|
||||
|
||||
// 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]];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue