New function pandora ux, let open pics from base64 image modules #90 - 2
This commit is contained in:
parent
8263823e45
commit
88453e2075
|
@ -249,7 +249,7 @@ if ($get_module_detail) {
|
|||
|
||||
foreach ($columns as $col => $attr) {
|
||||
if ($attr[1] != "modules_format_data") {
|
||||
$data[] = $attr[1] ($row[$attr[0]]);
|
||||
$data[] = date('d F Y - h:i:s A', $row['utimestamp']);
|
||||
|
||||
}
|
||||
elseif (($config['command_snapshot']) && (preg_match ("/[\n]+/i", $row[$attr[0]]))) {
|
||||
|
|
|
@ -547,14 +547,20 @@ class Modules {
|
|||
$output = $sub_string;
|
||||
}
|
||||
}
|
||||
|
||||
if (is_snapshot($module['datos'])){
|
||||
'<span style="white-space: nowrap;">' .
|
||||
'<span style="display: none;" class="show_collapside">' . $row[__('Status')] . ' </span>' .
|
||||
'<a target='_blank' href='".io_safe_input($row[$attr[0]])."'><img style="width:300px" src='".io_safe_input($row[$attr[0]])."'>' .
|
||||
$output . '</a>' . '</span>';
|
||||
}
|
||||
else{
|
||||
$row[7] = $row[__('Data')] =
|
||||
'<span style="white-space: nowrap;">' .
|
||||
'<span style="display: none;" class="show_collapside">' . $row[__('Status')] . ' </span>' .
|
||||
'<a data-ajax="false" class="ui-link" ' .
|
||||
'href="index.php?page=module_graph&id=' . $module['id_agente_modulo'] . '&id_agent=' . $this->id_agent . '">' .
|
||||
$output . '</a>' . '</span>';
|
||||
|
||||
}
|
||||
if (!$ajax) {
|
||||
if ($this->columns['agent']) {
|
||||
unset($row[0]);
|
||||
|
|
Loading…
Reference in New Issue