- Update icons' menus order
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
|
@ -36,15 +36,15 @@ if (comprueba_login() == 0){
|
|||
}
|
||||
if ( (give_acl($id_user, 0, "PM")==1)){
|
||||
echo '<div id="god4"><ul class="mn"><li><a href="index.php?sec=gperfiles&sec2=godmode/perfiles/lista_perfiles" class="mn">'.$lang_label["manage_profiles"].'</a></li></ul></div>';
|
||||
echo '<div id="god8"><ul class="mn"><li><a href="index.php?sec=gservers&sec2=godmode/servers/modificar_server" class="mn">'.$lang_label["manage_servers"].'</a></li></ul></div>';
|
||||
echo '<div id="god5"><ul class="mn"><li><a href="index.php?sec=godmode/admin_access_logs" class="mn">'.$lang_label["system_audit"].'</a></li></ul></div>';
|
||||
echo '<div id="god6"><ul class="mn"><li><a href="index.php?sec=gsetup&sec2=godmode/setup/setup" class="mn">'.$lang_label["setup_screen"].'</a></li></ul></div>';
|
||||
echo '<div id="god5"><ul class="mn"><li><a href="index.php?sec=gservers&sec2=godmode/servers/modificar_server" class="mn">'.$lang_label["manage_servers"].'</a></li></ul></div>';
|
||||
echo '<div id="god6"><ul class="mn"><li><a href="index.php?sec=godmode/admin_access_logs" class="mn">'.$lang_label["system_audit"].'</a></li></ul></div>';
|
||||
echo '<div id="god7"><ul class="mn"><li><a href="index.php?sec=gsetup&sec2=godmode/setup/setup" class="mn">'.$lang_label["setup_screen"].'</a></li></ul></div>';
|
||||
if (isset($_GET["sec"]) && $_GET["sec"] == "gsetup"){
|
||||
echo "<div id='arrowg'><ul class='mn'><li><a href='index.php?sec=gsetup&sec2=godmode/setup/links' class='mn'>".$lang_label["setup_links"]."</a></li></ul></div>";
|
||||
}
|
||||
}
|
||||
if ((give_acl($id_user, 0, "DM")==1)){
|
||||
echo '<div id="god7"><ul class="mn"><li><a href="index.php?sec=gdbman&sec2=godmode/db/db_main" class="mn">'.$lang_label["db_maintenance"].'</a></li></ul></div>';
|
||||
echo '<div id="god8"><ul class="mn"><li><a href="index.php?sec=gdbman&sec2=godmode/db/db_main" class="mn">'.$lang_label["db_maintenance"].'</a></li></ul></div>';
|
||||
if (isset($_GET["sec"]) && $_GET["sec"] == "gdbman"){
|
||||
echo "<div id='arrowg'><ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_info' class='mn'>".$lang_label["db_info"]."</a></li>";
|
||||
echo "<li><a href='index.php?sec=gdbman&sec2=godmode/db/db_purge' class='mn'>".$lang_label["db_purge"]."</a></li>";
|
||||
|
|
Before Width: | Height: | Size: 619 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 619 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 680 B |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 592 B After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 1.1 KiB |
|
@ -7,18 +7,18 @@ div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god6>ul, di
|
|||
#god2 li {background: url(../../images/god2.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god3 li {background: url(../../images/god3.gif) no-repeat; background-position: 5px 2px;}
|
||||
#god4 li {background: url(../../images/god4.gif) no-repeat; background-position: 5px 4px;}
|
||||
#god5 li {background: url(../../images/god5.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god5 li {background: url(../../images/god5.gif) no-repeat; background-position: 3px 3px;}
|
||||
#god6 li {background: url(../../images/god6.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god7 li {background: url(../../images/god7.gif) no-repeat; background-position: 5px 3px;}
|
||||
#god8 li {background: url(../../images/god8.gif) no-repeat; background-position: 3px 3px;}
|
||||
#god7 li {background: url(../../images/god7.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god8 li {background: url(../../images/god8.gif) no-repeat; background-position: 5px 3px;}
|
||||
#god1 li:hover {background: #efefbd url(../../images/god1.gif) no-repeat; background-position: 4px 2px;}
|
||||
#god2 li:hover {background: #efefbd url(../../images/god2.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god3 li:hover {background: #efefbd url(../../images/god3.gif) no-repeat; background-position: 5px 2px;}
|
||||
#god4 li:hover {background: #efefbd url(../../images/god4.gif) no-repeat; background-position: 5px 4px;}
|
||||
#god5 li:hover {background: #efefbd url(../../images/god5.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god5 li:hover {background: #efefbd url(../../images/god5.gif) no-repeat; background-position: 3px 3px;}
|
||||
#god6 li:hover {background: #efefbd url(../../images/god6.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god7 li:hover {background: #efefbd url(../../images/god7.gif) no-repeat; background-position: 5px 3px;}
|
||||
#god8 li:hover {background: #efefbd url(../../images/god8.gif) no-repeat; background-position: 3px 3px;}
|
||||
#god7 li:hover {background: #efefbd url(../../images/god7.gif) no-repeat; background-position: 4px 3px;}
|
||||
#god8 li:hover {background: #efefbd url(../../images/god8.gif) no-repeat; background-position: 5px 3px;}
|
||||
#arrowg ul {padding: 0px 0px 0px 0px; list-style: none;}
|
||||
#arrowg li {padding: 0px 0px 0px 15px; background: #f5f5dc url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position:relative; left: 30px; width:80%;}
|
||||
div#arrowg>ul {width: 88%;}
|
||||
|
|
|
@ -4,20 +4,20 @@
|
|||
#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #arrow li {padding-top: 0px; padding-bottom: 0px; padding-right: 1px;}
|
||||
div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul {width:126px;}
|
||||
#op1 li {background: url(../../images/op1.gif) no-repeat; background-position: 4px 3px;}
|
||||
#op2 li {background: url(../../images/op2.gif) no-repeat; background-position: 5px 3px;}
|
||||
#op2 li {background: url(../../images/op2.gif) no-repeat; background-position: 3px 3px;}
|
||||
#op3 li {background: url(../../images/op3.gif) no-repeat; background-position: 5px 3px;}
|
||||
#op4 li {background: url(../../images/op4.gif) no-repeat; background-position: 7px 3px;}
|
||||
#op5 li {background: url(../../images/op5.gif) no-repeat; background-position: 4px 5px;}
|
||||
#op6 li {background: url(../../images/op6.gif) no-repeat; background-position: 1px 0px;}
|
||||
#op7 li {background: url(../../images/op7.gif) no-repeat; background-position: 3px 3px;}
|
||||
#op4 li {background: url(../../images/op4.gif) no-repeat; background-position: 5px 3px;}
|
||||
#op5 li {background: url(../../images/op5.gif) no-repeat; background-position: 7px 3px;}
|
||||
#op6 li {background: url(../../images/op6.gif) no-repeat; background-position: 4px 5px;}
|
||||
#op7 li {background: url(../../images/op7.gif) no-repeat; background-position: 1px 0px;}
|
||||
|
||||
#op1 li:hover {background: #d4ddc6 url(../../images/op1.gif) no-repeat; background-position: 4px 3px;}
|
||||
#op2 li:hover {background: #d4ddc6 url(../../images/op2.gif) no-repeat; background-position: 5px 3px;}
|
||||
#op2 li:hover {background: #d4ddc6 url(../../images/op2.gif) no-repeat; background-position: 3px 3px;}
|
||||
#op3 li:hover {background: #d4ddc6 url(../../images/op3.gif) no-repeat; background-position: 5px 3px;}
|
||||
#op4 li:hover {background: #d4ddc6 url(../../images/op4.gif) no-repeat; background-position: 7px 3px;}
|
||||
#op5 li:hover {background: #d4ddc6 url(../../images/op5.gif) no-repeat; background-position: 4px 5px;}
|
||||
#op6 li:hover {background: #d4ddc6 url(../../images/op6.gif) no-repeat; background-position: 1px 0px;}
|
||||
#op7 li:hover {background: #d4ddc6 url(../../images/op7.gif) no-repeat; background-position: 3px 3px;}
|
||||
#op4 li:hover {background: #d4ddc6 url(../../images/op4.gif) no-repeat; background-position: 5px 3px;}
|
||||
#op5 li:hover {background: #d4ddc6 url(../../images/op5.gif) no-repeat; background-position: 7px 3px;}
|
||||
#op6 li:hover {background: #d4ddc6 url(../../images/op6.gif) no-repeat; background-position: 4px 5px;}
|
||||
#op7 li:hover {background: #d4ddc6 url(../../images/op7.gif) no-repeat; background-position: 1px 0px;}
|
||||
|
||||
#arrow ul {padding: 0px 0px 0px 0px; list-style: none;}
|
||||
#arrow li {padding: 0px 0px 0px 15px; background: #e6e9cd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position: relative; left: 26px; width: 82%;}
|
||||
|
|
|
@ -29,32 +29,32 @@ if (isset($_SESSION["id_usuario"])) {
|
|||
}
|
||||
}
|
||||
if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) {
|
||||
echo '<div id="op7"><ul class="mn"><li><a href="index.php?sec=estado_server&sec2=operation/servers/view_server&refr=60" class="mn">'.$lang_label["view_servers"].'</a></li></ul></div>';
|
||||
echo '<div id="op2"><ul class="mn"><li><a href="index.php?sec=estado_server&sec2=operation/servers/view_server&refr=60" class="mn">'.$lang_label["view_servers"].'</a></li></ul></div>';
|
||||
}
|
||||
if (give_acl($_SESSION["id_usuario"], 0, "IR")==1) {
|
||||
echo '<div id="op2"><ul class="mn"><li><a href="index.php?sec=incidencias&sec2=operation/incidents/incident" class="mn">'.$lang_label["manage_incidents"].'</a></li></ul></div>';
|
||||
echo '<div id="op3"><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"){
|
||||
echo "<div id='arrow'><ul class='mn'><li><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_search' class='mn'>".$lang_label["search_incident"]."</a></li>";
|
||||
echo "<li><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_statistics' class='mn'>".$lang_label["statistics"]."</a></li></ul></div>";
|
||||
}
|
||||
}
|
||||
if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) {
|
||||
echo '<div id="op3"><ul class="mn"><li><a href="index.php?sec=eventos&sec2=operation/events/events" class="mn">'.$lang_label["view_events"].'</a></li></ul></div>';
|
||||
echo '<div id="op4"><ul class="mn"><li><a href="index.php?sec=eventos&sec2=operation/events/events" class="mn">'.$lang_label["view_events"].'</a></li></ul></div>';
|
||||
if (isset($_GET["sec"]) && $_GET["sec"] == "eventos"){
|
||||
echo "<div id='arrow'><ul class='mn'><li><a href='index.php?sec=eventos&sec2=operation/events/event_statistics' class='mn'>".$lang_label["statistics"]."</a></li></ul></div>";
|
||||
}
|
||||
}
|
||||
echo '<div id="op4"><ul class="mn"><li><a href="index.php?sec=usuarios&sec2=operation/users/user" class="mn">'.$lang_label["view_users"].'</a></li></ul></div>';
|
||||
echo '<div id="op5"><ul class="mn"><li><a href="index.php?sec=usuarios&sec2=operation/users/user" class="mn">'.$lang_label["view_users"].'</a></li></ul></div>';
|
||||
if (isset($_GET["sec"]) && $_GET["sec"] == "usuarios"){
|
||||
echo "<div id='arrow'><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>";
|
||||
echo "<li><a href='index.php?sec=usuarios&sec2=operation/users/user_statistics' class='mn'>".$lang_label["statistics"]."</a></li></ul></div>";
|
||||
}
|
||||
echo '<div id="op5"><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>';
|
||||
echo '<div id="op6"><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>';
|
||||
|
||||
if (isset($_GET["sec"]) && $_GET["sec"] == "snmpconsole"){
|
||||
echo "<div id='arrow'><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>";
|
||||
}
|
||||
echo '<div id="op6"><ul class="mn"><li><a href="index.php?sec=messages&sec2=operation/messages/message" class="mn">'. $lang_label["messages"].'</a></li></ul></div> ';
|
||||
echo '<div id="op7"><ul class="mn"><li><a href="index.php?sec=messages&sec2=operation/messages/message" class="mn">'. $lang_label["messages"].'</a></li></ul></div> ';
|
||||
|
||||
if (isset($_GET["sec"]) && $_GET["sec"] == "messages"){
|
||||
echo "<div id='arrow'><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>";
|
||||
|
|