2008-08-27 Raul Mateos <raulofpandora@gmail.com>

* Forgot again the files for last commit!

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2008-08-27 11:17:35 +00:00
parent c70cf4673a
commit 1762180295
4 changed files with 33 additions and 34 deletions

View File

@ -231,12 +231,7 @@ if (give_acl ($config['id_user'], 0, "DM")) {
echo '<div id="god8s">';
} else
echo '<div id="god8">';
echo '<ul class="mn">';
if ($sec == "gdbman" && $sec2 != "godmode/db/db_main") {
echo '<li>';
} else {
echo '<li class="bb0">';
}
echo '<ul class="mn"><li>';
echo '<a href="index.php?sec=gdbman&amp;sec2=godmode/db/db_main" class="mn">'.__('DB Maintenance').'</a></li></ul></div>';
if ($sec == "gdbman") {
@ -273,25 +268,26 @@ if (give_acl ($config['id_user'], 0, "DM")) {
} else {
echo "<div id='arrowgl'>";
}
echo "<ul class='mn'><li class='bb0'><a href='index.php?sec=gdbman&amp;sec2=godmode/db/db_event' class='mn'>".__('Database event')."</a></li></ul></div>";
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&amp;sec2=godmode/db/db_event' class='mn'>".__('Database event')."</a></li></ul></div>";
if ($sec2 == "godmode/db/db_sanity") {
echo "<div id='arrowgls'>";
} else {
echo "<div id='arrowgl'>";
}
echo "<ul class='mn'><li class='bb0'><a href='index.php?sec=gdbman&sec2=godmode/db/db_sanity' class='mn'>".__('Database sanity')."</a></li></ul></div>";
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_sanity' class='mn'>".__('Database sanity')."</a></li></ul></div>";
}
}
if (is_array ($config['extensions'])) {
if ($sec == "gextensions") {
$selected = ' menu-selected';
$selected = ' menu-god-selected';
} else {
$selected = '';
}
echo '<div id="op-extensions" class="operation-menu'.$selected.'">';
echo '<ul class="mn"><li><a href="index.php?sec=gextensions&sec2=godmode/extensions" class="mn">';
echo '<div id="god-extensions" class="god-menu'.$selected.'">';
echo '<ul class="mn"><li class="bb0">
<a href="index.php?sec=gextensions&sec2=godmode/extensions" class="mn">';
echo __('Extensions');
echo '</a></li></ul>';
echo "</div>";
@ -303,9 +299,9 @@ if (is_array ($config['extensions'])) {
if (! give_acl ($config['id_user'], 0, $menu['acl']))
continue;
if ($sec2 == $menu['sec2']) {
echo '<div class="operation-submenu submenu-selected">';
echo '<div class="god-submenu submenu-god-selected">';
} else {
echo '<div class="operation-submenu">';
echo '<div class="god-submenu">';
}
echo '<ul class="mn"><li>';
echo '<a href="index.php?sec=gextensions&sec2='.$menu['sec2'].'" class="mn">'.$menu['name'];

View File

@ -15,10 +15,10 @@ div.menug {
width: 155px;
margin-bottom: 5px;
}
#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god51 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god51s li, #god6s li, #god7s li, #god8s li, #god_module li, #god_module_sel li {
#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god51 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god51s li, #god6s li, #god7s li, #god8s li, #god_module li, #god_module_sel li, #god-extensions li {
padding: 0px 0px 0px 30px;
}
div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god51>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god51s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul, div#god_module>ul, div#god_module_sel>ul {
div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god51>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god51s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul, div#god_module>ul, div#god_module_sel>ul , .god-menu ul{
width: 126px;
}
#god1 li, #god1 li:hover, #god1s li {
@ -51,14 +51,22 @@ div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god51>ul, d
#god_module li, #god_module li:hover, #god_module_sel li {
background: url(../../images/brick.png) no-repeat 6px 4px;
}
div.arrowg>ul, div.arrowgs>ul, div#arrowgl>ul, div#arrowgls>ul {
#god-extensions li, #god-extensions li:hover {
background: url(../../images/extensions.png) no-repeat 5px 3px;
}
div.arrowg>ul, div.arrowgs>ul, div#arrowgl>ul, div#arrowgls>ul , .god-submenu>ul {
width: 75%;
}
.arrowg li, .arrowg li:hover, .arrowgs li, #arrowgl li, #arrowgl li:hover, #arrowgls li {
.arrowg li, .arrowg li:hover, .arrowgs li, #arrowgl li, #arrowgl li:hover, #arrowgls li, .god-submenu li {
background: url(../../images/arrow.png) no-repeat 2px 4px;
margin-left: 26px;
padding: 0px 0px 0px 14px;
}
.menu-god-selected, #menug li:hover, .submenu-god-selected li, .god-submenu li:hover {
background-color: #efefbd !important;
}
#god a:hover,
#god1 li:hover, #god1s li, #god2 li:hover, #god2s li, #god3 li:hover, #god3s li,
#god4 li:hover, #god4s li, #god5 li:hover, #god5s li, #god6 li:hover, #god6s li,
@ -68,9 +76,9 @@ div.arrowg>ul, div.arrowgs>ul, div#arrowgl>ul, div#arrowgls>ul {
{
background-color: #efefbd;
}
#arrowgl li.bb0, #arrowgls li.bb0, #god8 li.bb0 {
#arrowgl li.bb0, #arrowgls li.bb0 , #menug li.bb0, #god {
border-bottom: 0px;
}
#god {
#menug li.bb0, #god {
border-top: 0px;
}

View File

@ -28,7 +28,7 @@
}
.operation-menu ul {
width: 127px;
width: 128px;
}
#op1 li {
background: url(../../images/bricks.png) no-repeat 4px 3px;
@ -59,7 +59,6 @@
#op9 li {
background: url(../../images/monitor.png) no-repeat 4px 3px;
}
#op-extensions li {
background: url(../../images/extensions.png) no-repeat 4px 3px;
}
@ -71,13 +70,13 @@
.operation-submenu li {
background: url(../../images/arrow.png) no-repeat 2px 4px;
margin-left: 26px;
padding: 0px 0px 0px 14px;
padding: 0px 0px 0px 13px;
}
.menu-selected, #menu-operation li:hover, .submenu-selected li, .operation-submenu li:hover {
background-color: #d4ddc6 !important;
}
#menu-operation li.bb0, #arrowls li.bb0, #op8 li.bb0 {
#menu-operation li.bb0, #arrowls li.bb0, #op-extensions li.bb0 {
border-bottom: 0px;
}

View File

@ -265,14 +265,7 @@ if (give_acl ($config['id_user'], 0, "AR")) {
$selected = '';
}
echo '<div id="op8" class="operation-menu'.$selected.'">';
echo '<ul class="mn">';
if ($sec == "reporting" &&
$sec2 != "operation/reporting/reporting") {
echo '<li>';
} else {
echo '<li class="bb0">';
}
echo '<ul class="mn"><li>';
echo '<a href="index.php?sec=reporting&sec2=operation/reporting/custom_reporting" class="mn">'.
__('Reporting').'</a></li></ul></div>';
@ -284,7 +277,8 @@ if (give_acl ($config['id_user'], 0, "AR")) {
} else {
echo "<div class='operation-submenu'>";
}
echo "<ul class='mn'><li><a href='index.php?sec=reporting&sec2=operation/reporting/custom_reporting' class='mn'>".__('Custom reporting')."</a></li></ul></div>";
echo "<ul class='mn'><li>
<a href='index.php?sec=reporting&sec2=operation/reporting/custom_reporting' class='mn'>".__('Custom reporting')."</a></li></ul></div>";
}
// Custom graph viewer
@ -294,7 +288,8 @@ if (give_acl ($config['id_user'], 0, "AR")) {
} else {
echo "<div class='operation-submenu'>";
}
echo "<ul class='mn'><li class='bb0'><a href='index.php?sec=reporting&sec2=operation/reporting/graph_viewer' class='mn'>".__('Custom graphs')."</a></li></ul></div>";
echo "<ul class='mn'><li>
<a href='index.php?sec=reporting&sec2=operation/reporting/graph_viewer' class='mn'>".__('Custom graphs')."</a></li></ul></div>";
}
// Extensions menu additions
@ -305,7 +300,8 @@ if (give_acl ($config['id_user'], 0, "AR")) {
$selected = '';
}
echo '<div id="op-extensions" class="operation-menu'.$selected.'">';
echo '<ul class="mn"><li><a href="index.php?sec=extensions&sec2=operation/extensions" class="mn">';
echo '<ul class="mn"><li class="bb0">
<a href="index.php?sec=extensions&sec2=operation/extensions" class="mn">';
echo __('Extensions');
echo '</a></li></ul>';
echo "</div>";