2009-09-26 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes. * operation/agentes/alerts_status.php, operation/agentes/sla_view.php: Unify titles improving integrity of appearance. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f8efe4e917
commit
a77bcf1ac1
|
@ -1,3 +1,10 @@
|
|||
2009-09-26 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* include/config_process.php: Update build after last changes.
|
||||
|
||||
* operation/agentes/alerts_status.php, operation/agentes/sla_view.php:
|
||||
Unify titles improving integrity of appearance.
|
||||
|
||||
2009-09-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/javascript/pandora_modules.js: fix the js and add more entities
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
/**
|
||||
* Pandora build version and version
|
||||
*/
|
||||
$build_version = 'PC090914';
|
||||
$build_version = 'PC090926';
|
||||
$pandora_version = 'v3.0-dev';
|
||||
|
||||
$config['start_time'] = microtime (true);
|
||||
|
|
|
@ -72,6 +72,7 @@ if (isset ($_GET["id_agente"])) {
|
|||
$alerts_simple = get_agent_alerts_simple ($id_agent, $filter);
|
||||
$alerts_combined = get_agent_alerts_compound ($id_agent, $filter);
|
||||
$print_agent = false;
|
||||
$inside_main = 1;
|
||||
} else {
|
||||
if (!give_acl ($config["id_user"], 0, "AR")) {
|
||||
audit_db ($config["id_user"], $config["remote_addr"], "ACL Violation","Trying to access alert view");
|
||||
|
@ -93,16 +94,27 @@ if (isset ($_GET["id_agente"])) {
|
|||
}
|
||||
|
||||
$print_agent = true;
|
||||
$inside_main = 0;
|
||||
}
|
||||
|
||||
|
||||
$tab = get_parameter_get ("tab");
|
||||
if ($tab != '') {
|
||||
$url = $url.'&tab='.$tab;
|
||||
}
|
||||
|
||||
echo "<h2>".__('Pandora agents')." » ".__('Alerts');
|
||||
echo print_help_icon ('alert_validation', true);
|
||||
echo "</h2>";
|
||||
|
||||
if ($inside_main == 1 && $tab != 'alert') {
|
||||
echo "<h3>";
|
||||
echo __('Alerts');
|
||||
echo "</h3>";
|
||||
|
||||
} else {
|
||||
echo "<h2>";
|
||||
echo __('Pandora agents'). " » ".__('Alerts');
|
||||
echo print_help_icon ('alert_validation', true);
|
||||
echo "</h2>";
|
||||
}
|
||||
|
||||
echo '<form method="post" action="'.$url.'">';
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ if (! give_acl ($config['id_user'], 0, "AR") && ! give_acl ($config['id_user'],
|
|||
exit;
|
||||
}
|
||||
|
||||
echo "<h2>".__('SLA view')."</h2>";
|
||||
echo "<h2>".__('Pandora agents'). " » ".__('SLA view')."</h2>";
|
||||
$id_agent = get_parameter ("id_agente", 0);
|
||||
$interval = get_agent_interval ($id_agent);
|
||||
$modules = get_agent_modules ($id_agent, '*',
|
||||
|
|
Loading…
Reference in New Issue