diff --git a/pandora_console/extensions/agents_alerts.php b/pandora_console/extensions/agents_alerts.php
index 557bacb31a..e93b97cddf 100755
--- a/pandora_console/extensions/agents_alerts.php
+++ b/pandora_console/extensions/agents_alerts.php
@@ -105,10 +105,18 @@ function mainAgentsAlerts() {
}
// Header
- ui_print_page_header (__("Agents/Alerts"), "images/op_alerts.png", false, "", false, $onheader);
+ ui_print_page_header (__("Agents/Alerts"), "images/op_alerts.png", false, "", false, $updated_time);
// Old style table, we need a lot of special formatting,don't use table function
// Prepare old-style table
+ echo '
';
+ echo "";
+ echo "" . $filter_groups . " | ";
+ if ($config['pure'] == 1)
+ echo "" . $comborefr . " | ";
+ echo " " . __("Full screen") . "" . $fullscreen['text'] . " | ";
+ echo "
";
+ echo "
";
$filter = array ('offset' => (int) $offset,
'limit' => (int) $config['block_size']);
@@ -144,7 +152,7 @@ function mainAgentsAlerts() {
$nagents = count(agents_get_agents ($filter_count));
if ($agents == false) {
- echo "" . __('There are no agents with alerts')."
";
+ ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no agents with alerts') ) );
return;
}
@@ -164,12 +172,15 @@ function mainAgentsAlerts() {
// Prepare pagination
ui_pagination ($nagents);
- echo '';
- echo "".__("Agents")." / ".__("Alert templates")." | ";
+ echo '';
+ echo "".__("Agents")." / ".__("Alert templates")." | ";
if ($hor_offset > 0) {
$new_hor_offset = $hor_offset-$block;
- echo "".html_print_image("images/darrowleft.png",true, array('title' => __('Previous templates')))." | ";
+ echo "
+ ".
+ html_print_image("images/darrowleft.png",true, array('title' => __('Previous templates')))." | ";
}
$templates_raw = array();
@@ -200,12 +211,14 @@ function mainAgentsAlerts() {
if ($tname == '') {
continue;
}
- echo ''. html_print_image('images/information.png', true, array('title' => io_safe_output($tname))) ." | ";
+ echo ''. io_safe_output($tname) . html_print_image('images/information.png', true, array('title' => io_safe_output($tname))) ." | ";
}
if (($hor_offset + $block) < $ntemplates) {
$new_hor_offset = $hor_offset+$block;
- echo "".html_print_image("images/darrowright.png",true, array('title' => __('More templates')))." | ";
+ echo "
+ ".html_print_image("images/darrowright.png",true, array('title' => __('More templates')))." | ";
}
foreach ($agents as $agent) {
@@ -231,7 +244,7 @@ function mainAgentsAlerts() {
$cellstyle = 'background:'.COL_ALERTFIRED.';';
}
- echo ' ';
+ echo ' | ';
$uniqid = uniqid();
echo " ";
|