2006-07-12 15:43:41 +02:00
|
|
|
|
<?php
|
|
|
|
|
|
2006-06-29 21:31:53 +02:00
|
|
|
|
// Pandora - the Free monitoring system
|
|
|
|
|
// ====================================
|
|
|
|
|
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com
|
2007-05-18 11:29:54 +02:00
|
|
|
|
// Copyright (c) 2005-2006 Artica Soluciones Tecnol<6F>gicas S.L, info@artica.es
|
2006-06-29 21:31:53 +02:00
|
|
|
|
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
|
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
|
// as published by the Free Software Foundation; either version 2
|
|
|
|
|
// of the License, or (at your option) any later version.
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-03-27 05:37:27 +02:00
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<?php
|
2006-12-15 18:39:11 +01:00
|
|
|
|
if (! isset($_SESSION["id_usuario"])) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
|
?>
|
2007-05-07 17:32:03 +02:00
|
|
|
|
<div class="tit bg">:: <?php echo $lang_label["operation_header"] ?> ::</div>
|
2007-05-18 11:29:54 +02:00
|
|
|
|
<div class="menuop" id="op">
|
2006-03-27 05:37:27 +02:00
|
|
|
|
<?php
|
2006-12-15 18:39:11 +01:00
|
|
|
|
|
|
|
|
|
// Agent read, Server read
|
|
|
|
|
if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) {
|
2007-06-08 17:55:53 +02:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/tactical") {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op1s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op1">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2007-06-08 17:55:53 +02:00
|
|
|
|
echo '<ul class="mn"><li><a href="index.php?sec=estado&sec2=operation/agentes/tactical&refr=60" class="mn">'.$lang_label["view_agents"].'</a></li></ul></div>';
|
2006-12-15 18:39:11 +01:00
|
|
|
|
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "estado"){
|
2007-06-08 17:55:53 +02:00
|
|
|
|
|
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/tactical"){
|
|
|
|
|
echo "<div class='arrows'>";
|
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
|
|
|
|
}
|
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=estado&sec2=operation/agentes/tactical&refr=60' class='mn'>".$lang_label["tactical_view"]."</a></li></ul></div>";
|
|
|
|
|
|
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/estado_grupo"){
|
|
|
|
|
echo "<div class='arrows'>";
|
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
|
|
|
|
}
|
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=estado&sec2=operation/agentes/estado_grupo&refr=60' class='mn'>".$lang_label["group_view_menu"]."</a></li></ul></div>";
|
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if (isset($_GET["sec2"]) && ($_GET["sec2"] == "operation/agentes/estado_agente" || $_GET["sec2"] == "operation/agentes/ver_agente" || $_GET["sec2"] == "operation/agentes/datos_agente")) {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60' class='mn'>".$lang_label["agent_detail"]."</a></li></ul></div>";
|
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/estado_alertas"){
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=estado&sec2=operation/agentes/estado_alertas&refr=60' class='mn'>".$lang_label["alert_detail"]."</a></li></ul></div>";
|
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/status_monitor") {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=estado&sec2=operation/agentes/status_monitor&refr=60' class='mn'>".$lang_label["detailed_monitoragent_state"]."</a></li></ul></div>";
|
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/exportdata") {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=estado&sec2=operation/agentes/exportdata' class='mn'>".$lang_label["export_data"]."</a></li></ul></div>";
|
2006-03-27 05:37:27 +02:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
|
2007-05-20 19:12:31 +02:00
|
|
|
|
// Visual console
|
|
|
|
|
if ( isset($_GET["sec2"]) && $_GET["sec2"] == "operation/visual_console/index") {
|
|
|
|
|
echo '<div id="op9s">';
|
|
|
|
|
} else {
|
|
|
|
|
echo '<div id="op9">';
|
|
|
|
|
}
|
2007-01-05 19:11:33 +01:00
|
|
|
|
echo '<ul class="mn"><li>';
|
2007-05-20 19:12:31 +02:00
|
|
|
|
echo '<a href="index.php?sec=visualc&sec2=operation/visual_console/index" class="mn">'.$lang_label["visual_console"].'</a></li></ul></div>';
|
|
|
|
|
|
|
|
|
|
if ( isset($_GET["sec"]) && $_GET["sec"] == "visualc") {
|
|
|
|
|
$sql="SELECT * FROM tlayout";
|
2007-05-21 15:24:17 +02:00
|
|
|
|
if($res=mysql_query($sql))
|
2007-05-20 19:12:31 +02:00
|
|
|
|
while ($row = mysql_fetch_array($res)){
|
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/visual_console/render_view") {
|
|
|
|
|
if (isset($_GET["id"]) && $_GET["id"] == $row["id"])
|
|
|
|
|
echo "<div class='arrows'>";
|
|
|
|
|
else
|
|
|
|
|
echo "<div class='arrow'>";
|
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
|
|
|
|
}
|
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=visualc&sec2=operation/visual_console/render_view&id=".$row["id"]."' class='mn'>". substr($row["name"],0,15). "</a></li></ul></div>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2007-06-29 23:25:37 +02:00
|
|
|
|
// Server view
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if ( isset($_GET["sec2"]) && $_GET["sec2"] == "operation/servers/view_server") {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op2s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op2">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<ul class="mn"><li>';
|
|
|
|
|
echo '<a href="index.php?sec=estado_server&sec2=operation/servers/view_server&refr=60" class="mn">'.$lang_label["view_servers"].'</a></li></ul></div>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Check access for incident
|
|
|
|
|
if (give_acl($_SESSION["id_usuario"], 0, "IR")==1) {
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && ($_GET["sec2"] == "operation/incidents/incident" || $_GET["sec2"] == "operation/incidents/incident_detail"|| $_GET["sec2"] == "operation/incidents/incident_note")) {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op3s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op3">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<ul class="mn"><li><a href="index.php?sec=incidencias&sec2=operation/incidents/incident" class="mn">'.$lang_label["manage_incidents"].'</a></li></ul></div>';
|
|
|
|
|
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "incidencias"){
|
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/incidents/incident_search") {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
2006-04-25 11:41:44 +02:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_search' class='mn'>".$lang_label["search_incident"]."</a></li></ul></div>";
|
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/incidents/incident_statistics") {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
2006-03-27 05:37:27 +02:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_statistics' class='mn'>".$lang_label["statistics"]."</a></li></ul></div>";
|
2006-03-27 05:37:27 +02:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Rest of options, all with AR privilege
|
|
|
|
|
if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) {
|
|
|
|
|
|
|
|
|
|
// Events
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/events/events") {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op4s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op4">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<ul class="mn"><li><a href="index.php?sec=eventos&sec2=operation/events/events" class="mn">'.$lang_label["view_events"].'</a></li></ul></div>';
|
|
|
|
|
// Event statistics submenu
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "eventos"){
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/events/event_statistics") {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=eventos&sec2=operation/events/event_statistics' class='mn'>".$lang_label["statistics"]."</a></li></ul></div>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Users
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && ($_GET["sec2"] == "operation/users/user" || $_GET["sec2"] == "operation/users/user_edit" )) {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op5s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op5">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<ul class="mn"><li><a href="index.php?sec=usuarios&sec2=operation/users/user" class="mn">'.$lang_label["view_users"].'</a></li></ul></div>';
|
|
|
|
|
|
|
|
|
|
// User edit (submenu)
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "usuarios"){
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["ver"]) && $_GET["ver"] == $_SESSION["id_usuario"]) {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$_SESSION["id_usuario"]."' class='mn'>".$lang_label["index_myuser"]."</a></li></ul></div>";
|
|
|
|
|
|
|
|
|
|
// User statistic
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/users/user_statistics") {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=usuarios&sec2=operation/users/user_statistics' class='mn'>".$lang_label["statistics"]."</a></li></ul></div>";
|
2006-03-27 05:37:27 +02:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
|
|
|
|
|
// SNMP console
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/snmpconsole/snmp_view") {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op6s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op6">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<ul class="mn"><li><a href="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&refr=30" class="mn">'.$lang_label["SNMP_console"].'</a></li></ul></div>';
|
|
|
|
|
|
2007-06-21 20:58:35 +02:00
|
|
|
|
if ((give_acl($_SESSION["id_usuario"], 0, "AW")==1)){
|
|
|
|
|
// SNMP Console alert (submenu)
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "snmpconsole"){
|
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/snmpconsole/snmp_alert") {
|
|
|
|
|
echo "<div class='arrows'>";
|
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
|
|
|
|
}
|
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_alert' class='mn'>".$lang_label["snmp_console_alert"]."</a></li></ul></div>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
}
|
2007-06-21 20:58:35 +02:00
|
|
|
|
|
2006-12-15 18:39:11 +01:00
|
|
|
|
// Messages
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/messages/message" && !isset($_GET["nuevo_g"])) {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op7s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op7">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<ul class="mn"><li><a href="index.php?sec=messages&sec2=operation/messages/message" class="mn">'. $lang_label["messages"].'</a></li></ul></div>';
|
|
|
|
|
|
|
|
|
|
// New message (submenu)
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "messages"){
|
2007-01-09 12:18:41 +01:00
|
|
|
|
if(isset($_GET["sec2"]) && isset($_GET["nuevo_g"])) {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=messages&sec2=operation/messages/message&nuevo_g' class='mn'>".$lang_label["messages_g"]."</a></li></ul></div>";
|
|
|
|
|
}
|
|
|
|
|
|
2007-01-09 12:18:41 +01:00
|
|
|
|
// Reporting
|
2007-03-28 18:07:29 +02:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/reporting/reporting"){
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op8s">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
} else {
|
2006-12-15 18:39:11 +01:00
|
|
|
|
echo '<div id="op8">';
|
2007-01-09 12:18:41 +01:00
|
|
|
|
}
|
2007-06-13 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css,
include/god.css: Updated with styles to avoid top and bottom border.
* godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php,
godmode/servers/*.php, operation/snmpconsole/snmp_alert.php,
godmode/reporting/map_builder.php, operation/messages/message.php:
Removed old raya style and changed to new style.
* include/languages/language_en.php: Changed some typing error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-13 21:14:05 +02:00
|
|
|
|
echo '<ul class="mn">';
|
|
|
|
|
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "reporting" &&
|
|
|
|
|
isset($_GET["sec2"]) && $_GET["sec2"] != "operation/reporting/reporting"){
|
|
|
|
|
echo '<li>';
|
|
|
|
|
} else {
|
|
|
|
|
echo '<li class="bb0">';
|
|
|
|
|
}
|
2007-06-29 23:25:37 +02:00
|
|
|
|
echo '<a href="index.php?sec=reporting&sec2=operation/reporting/reporting" class="mn">'. $lang_label["reporting"].'</a></li></ul></div>';
|
2006-12-15 18:39:11 +01:00
|
|
|
|
|
2007-04-19 20:50:07 +02:00
|
|
|
|
// Custom reporting
|
2006-12-15 18:39:11 +01:00
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "reporting"){
|
2007-06-22 10:10:56 +02:00
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] ==
|
|
|
|
|
"operation/reporting/custom_reporting" || $_GET["sec2"] ==
|
|
|
|
|
"operation/reporting/reporting_viewer"){
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrows'>";
|
2007-01-10 11:48:29 +01:00
|
|
|
|
} else {
|
2006-12-15 22:57:08 +01:00
|
|
|
|
echo "<div class='arrow'>";
|
2007-01-10 11:48:29 +01:00
|
|
|
|
}
|
2007-04-19 20:50:07 +02:00
|
|
|
|
echo "<ul class='mn'><li><a href='index.php?sec=reporting&sec2=operation/reporting/custom_reporting' class='mn'>".$lang_label["custom_reporting"]."</a></li></ul></div>";
|
2007-03-28 18:07:29 +02:00
|
|
|
|
}
|
2007-04-19 20:50:07 +02:00
|
|
|
|
|
|
|
|
|
// Custom graph viewer
|
|
|
|
|
if (isset($_GET["sec"]) && $_GET["sec"] == "reporting"){
|
|
|
|
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "operation/reporting/graph_viewer"){
|
|
|
|
|
echo "<div class='arrows'>";
|
|
|
|
|
} else {
|
|
|
|
|
echo "<div class='arrow'>";
|
|
|
|
|
}
|
2007-06-13 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css,
include/god.css: Updated with styles to avoid top and bottom border.
* godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php,
godmode/servers/*.php, operation/snmpconsole/snmp_alert.php,
godmode/reporting/map_builder.php, operation/messages/message.php:
Removed old raya style and changed to new style.
* include/languages/language_en.php: Changed some typing error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-13 21:14:05 +02:00
|
|
|
|
echo "<ul class='mn'><li class='bb0'><a href='index.php?sec=reporting&sec2=operation/reporting/graph_viewer' class='mn'>".$lang_label["custom_graphs"]."</a></li></ul></div>";
|
2007-04-19 20:50:07 +02:00
|
|
|
|
}
|
2007-06-07 19:46:38 +02:00
|
|
|
|
|
2006-12-15 18:39:11 +01:00
|
|
|
|
}
|
2006-06-29 21:31:53 +02:00
|
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
|
?>
|
2006-12-15 18:39:11 +01:00
|
|
|
|
</div>
|