Fix icon bug and async string data without data:image string, Pandora UX #90
This commit is contained in:
parent
e7021d8a0f
commit
367c88fc9e
|
@ -251,7 +251,7 @@ if ($get_module_detail) {
|
|||
|
||||
foreach ($columns as $col => $attr) {
|
||||
if ($attr[1] != "modules_format_data") {
|
||||
$data[] = date('d F Y - h:i:s A', $row['utimestamp']);
|
||||
$data[] = date('d F Y h:i:s A', $row['utimestamp']);
|
||||
|
||||
}
|
||||
elseif (($config['command_snapshot']) && (preg_match ("/[\n]+/i", $row[$attr[0]]))) {
|
||||
|
@ -294,7 +294,17 @@ if ($get_module_detail) {
|
|||
$data[] = 'No data';
|
||||
}
|
||||
else {
|
||||
|
||||
if(is_snapshot_data($row[$attr[0]])){
|
||||
$data[] = "<a target='_blank' href='".io_safe_input($row[$attr[0]])."'><img style='width:300px' src='".io_safe_input($row[$attr[0]])."'></a>";
|
||||
}
|
||||
else{
|
||||
$data[] = $row[$attr[0]];
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3652,7 +3652,7 @@ function ui_print_module_string_value($value, $id_agente_module,
|
|||
"&label=" . rawurlencode(urlencode(io_safe_output($module_name))) . "','" . $win_handle . "', 700,480)";
|
||||
|
||||
$salida = '<a href="javascript:' . $link . '">' .
|
||||
html_print_image("images/default_list.png", true,
|
||||
html_print_image("images/photo.png", true,
|
||||
array("border" => '0',
|
||||
"alt" => "",
|
||||
"title" => __("Snapshot view"))) . '</a> ';
|
||||
|
|
Loading…
Reference in New Issue