added ip in modules list
This commit is contained in:
parent
b596b895d1
commit
df87c122af
|
@ -1177,7 +1177,11 @@ foreach ($modules as $module) {
|
|||
$data[6] = ui_print_status_image(
|
||||
$status,
|
||||
htmlspecialchars($title),
|
||||
true
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
($module['ip_target']) ? 'IP: '.$module['ip_target'] : false
|
||||
);
|
||||
|
||||
// MAX / MIN values.
|
||||
|
|
|
@ -1176,10 +1176,10 @@ if (check_login()) {
|
|||
$status,
|
||||
$title
|
||||
);
|
||||
|
||||
$last_status_change_text = 'Time elapsed since last status change: ';
|
||||
$last_status_change_text = ($module['ip_target']) ? 'IP: '.$module['ip_target'].'<br />' : '';
|
||||
$last_status_change_text .= 'Time elapsed since last status change: ';
|
||||
$last_status_change_text .= !empty($module['last_status_change']) ? human_time_comparation($module['last_status_change']) : __('N/A');
|
||||
|
||||
hd($module, true);
|
||||
$data[5] = ui_print_status_image($status, htmlspecialchars($title), true, false, false, false, $last_status_change_text);
|
||||
if (!$show_context_help_first_time) {
|
||||
$show_context_help_first_time = true;
|
||||
|
|
Loading…
Reference in New Issue