mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#11140 fix style message warning
This commit is contained in:
parent
b76635a54a
commit
5fe0f7fb08
@ -167,19 +167,22 @@ foreach ($servers as $server) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[6] = $server['threads'].' : '.$server['queued_modules'];
|
$data[6] = '';
|
||||||
if ($server['queued_modules'] > 500) {
|
if ($server['queued_modules'] > 500) {
|
||||||
$data[6] .= ' <div class="inline"><a onclick="show_dialog();" >'.html_print_image(
|
$data[6] .= '<div class="inline"><a onclick="show_dialog();" >'.html_print_image(
|
||||||
'images/info-warning.svg',
|
'images/info-warning.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'width' => 16,
|
'width' => 16,
|
||||||
'heght' => 16,
|
'heght' => 16,
|
||||||
'class' => 'pulsate clickable',
|
'class' => 'pulsate clickable',
|
||||||
|
'style' => 'margin-left: -25px;',
|
||||||
]
|
]
|
||||||
).'</a></div>';
|
).'</a></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$data[6] .= $server['threads'].' : '.$server['queued_modules'];
|
||||||
|
|
||||||
$data[7] = ui_print_timestamp($server['keepalive'], true);
|
$data[7] = ui_print_timestamp($server['keepalive'], true);
|
||||||
|
|
||||||
|
|
||||||
|
@ -1155,7 +1155,6 @@ if (check_login()) {
|
|||||||
$last_status_change_text = __('Time elapsed since last status change: ');
|
$last_status_change_text = __('Time elapsed since last status change: ');
|
||||||
$last_status_change_text .= (empty($module['last_status_change']) === false) ? human_time_comparation($module['last_status_change']) : __('N/A');
|
$last_status_change_text .= (empty($module['last_status_change']) === false) ? human_time_comparation($module['last_status_change']) : __('N/A');
|
||||||
|
|
||||||
$data[4] .= ui_print_status_image($status, htmlspecialchars($title), true, false, false, true, $last_status_change_text);
|
|
||||||
if ($show_context_help_first_time === false) {
|
if ($show_context_help_first_time === false) {
|
||||||
$show_context_help_first_time = true;
|
$show_context_help_first_time = true;
|
||||||
|
|
||||||
@ -1164,6 +1163,8 @@ if (check_login()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$data[4] .= ui_print_status_image($status, htmlspecialchars($title), true, false, false, true, $last_status_change_text);
|
||||||
|
|
||||||
// Module thresholds.
|
// Module thresholds.
|
||||||
$data[5] = '';
|
$data[5] = '';
|
||||||
if ((int) $module['id_tipo_modulo'] !== 25) {
|
if ((int) $module['id_tipo_modulo'] !== 25) {
|
||||||
|
@ -297,8 +297,12 @@ function clippy_context_help($help=null)
|
|||||||
$code = str_replace('{clippy_obj}', 'intro_'.$id, $code);
|
$code = str_replace('{clippy_obj}', 'intro_'.$id, $code);
|
||||||
|
|
||||||
$return = $code.'<div id="'.$id.'" class="inline"><a onclick="show_'.$id.'();" href="javascript: void(0);" >'.html_print_image(
|
$return = $code.'<div id="'.$id.'" class="inline"><a onclick="show_'.$id.'();" href="javascript: void(0);" >'.html_print_image(
|
||||||
'images/clippy_icon.png',
|
'images/info-warning.svg',
|
||||||
true
|
true,
|
||||||
|
[
|
||||||
|
'class' => 'main_menu_icon invert_filter',
|
||||||
|
'style' => 'margin-left: -25px;',
|
||||||
|
]
|
||||||
).'</a></div>
|
).'</a></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user