From 25a3e09895fcfb8a356ca14dba9ad9f8ec819904 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 17 Nov 2015 12:20:34 +0100 Subject: [PATCH] Move links submenu and add image and style. tiquet: #2960 --- pandora_console/godmode/menu.php | 17 +++++++++++++++++ pandora_console/images/links.menu.png | Bin 0 -> 1345 bytes pandora_console/include/styles/menu.css | 10 +++++++++- pandora_console/operation/menu.php | 13 ------------- 4 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 pandora_console/images/links.menu.png diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 3dc3c5efe2..1875e38fe9 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -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); } diff --git a/pandora_console/images/links.menu.png b/pandora_console/images/links.menu.png new file mode 100644 index 0000000000000000000000000000000000000000..465e350ec4e642589f2e9c844c8eec151011bd3d GIT binary patch literal 1345 zcmbVMZA=?w9DiCU17;;*FPY0G=T)b;wf92b?!r-yUJKO~S*fw^(~jN)J)w8U-7#9? zOTk58vdk?eCTiw3NhF5MW$}a256*=TqRCvM#z>4Y{lZu__hHJ2W1G(bMPtZ5c**6S z|Nnl!|NH+L?`UszR`09^061f9LIQnvSZ`$o0Je8Dr-Fn>%t*@YRJ+YVQHOw+)Gmm{ zvSJTRKvBx~&%#Ck$}(~?Wv1f$*|eJVh!)0^%W8-XKw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