Move links submenu and add image and style. tiquet: #2960
This commit is contained in:
parent
4761d4ad8e
commit
25a3e09895
|
@ -384,6 +384,23 @@ if (check_acl ($config['id_user'], 0, "PM")) {
|
|||
}
|
||||
}
|
||||
|
||||
$menu_godmode["links"]["text"] = __('Links');
|
||||
$menu_godmode["links"]["sec2"] = "";
|
||||
$menu_godmode["links"]["id"] = "god-links";
|
||||
|
||||
$sub = array ();
|
||||
$rows = db_get_all_rows_in_table('tlink', 'name');
|
||||
foreach ($rows as $row) {
|
||||
// Audit //meter en extensiones
|
||||
|
||||
$sub[$row['link']]["text"] = $row['name'];
|
||||
$sub[$row['link']]["id"] = $row['name'];
|
||||
$sub[$row['link']]["type"] = 'direct';
|
||||
$sub[$row['link']]["subtype"] = 'new_blank';
|
||||
}
|
||||
|
||||
$menu_godmode["links"]["sub"] = $sub;
|
||||
|
||||
if (!$config['pure']) {
|
||||
menu_print_menu ($menu_godmode);
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
|
@ -190,7 +190,11 @@ li:hover ul { display: block; }
|
|||
}
|
||||
#icon_god-extensions {
|
||||
background: url(../../images/builder.menu.png) no-repeat 50% 50%;
|
||||
|
||||
}
|
||||
#icon_god-links {
|
||||
border-top: 4px solid !important;
|
||||
border-color: #777;
|
||||
background: #333 url(../../images/links.menu.png) no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
#subicon_god-setup {
|
||||
|
@ -207,6 +211,10 @@ li:hover ul { display: block; }
|
|||
top: -72px;
|
||||
}
|
||||
|
||||
#subicon_god-links {
|
||||
top: -130px;
|
||||
}
|
||||
|
||||
#menu_container {
|
||||
z-index: 3;
|
||||
position: absolute;
|
||||
|
|
|
@ -410,18 +410,6 @@ if (check_acl ($config['id_user'], 0, "AR")) {
|
|||
$sub["operation/servers/recon_view"]["refr"] = 0;
|
||||
}
|
||||
|
||||
$sub['link']["text"] = __("Links");
|
||||
$sub['link']["id"] = "Links";
|
||||
$rows = db_get_all_rows_in_table('tlink', 'name');
|
||||
foreach ($rows as $row) {
|
||||
// Audit //meter en extensiones
|
||||
|
||||
$sub2[$row['link']]["text"] = $row['name'];
|
||||
$sub2[$row['link']]["type"] = 'direct';
|
||||
$sub2[$row['link']]["subtype"] = 'new_blank';
|
||||
}
|
||||
$sub["link"]["sub2"] = $sub2;
|
||||
|
||||
foreach ($config["extensions"] as $extension) {
|
||||
//If no operation_menu is a godmode extension
|
||||
if ($extension["operation_menu"] == '') {
|
||||
|
@ -488,7 +476,6 @@ if (check_acl ($config['id_user'], 0, "AR")) {
|
|||
$operation_menu_array = $menu_operation;
|
||||
|
||||
|
||||
|
||||
if(!$config['pure']) {
|
||||
menu_print_menu ($menu_operation, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue