GraseHotspot / grase-www-portal

Grase WWW Portal (Main Package)
51 stars 20 forks source link

Menu structure of administration interface #122

Open kralan opened 9 years ago

kralan commented 9 years ago

In my personal logic, the menu item "Groups" would better fit under "Users" rather than "Settings" where it is now. This is mere cosmetics, not a flaw in functionality. I am well aware this is a matter of personal taste.

kralan commented 9 years ago

The patch below restructures the menu as proposed.

/usr/share/grase/www/radmin/includes/page_functions.inc.php

--- page_functions.inc.php      2014-12-15 23:24:00.000000000 +0100
+++ page_functions.inc.php.new 2015-03-26 22:43:57.000000000 +0100
@@ -60,7 +60,8 @@
            "submenu" => array(
                'createuser' => array("href" => "newuser", "label" => T_("New User")),
                'createtickets' => array("href" => "newtickets", "label" => T_("Batch Users")),
-               'createmachine' => array("href" => "newuser?computer", "label" => T_("Computer Account"))
+               'createmachine' => array("href" => "newuser?computer", "label" => T_("Computer Account")),
+               'groups' => array("href" => "groupconfig", "label" => T_("Groups") ),
                )
        );
        $menubar['sessions'] = array("href" => "sessions", "label" => T_("Monitor Sessions"),
@@ -80,7 +81,6 @@
             'chilliconfig' => array("href" => "chilliconfig", "label" => T_("Coova Chilli Settings") ),
             'loginconfig' => array("href" => "loginconfig", "label" => T_("Portal Customisation") ),
             'ticketprintconfig' => array("href" => "ticketprintconfig.php", "label" => T_("Ticket Print Settings") ),
-            'groups' => array("href" => "groupconfig", "label" => T_("Groups") ),
             //'vouchers' => array("href" => "voucherconfig", "label" => T_("Vouchers") ), // DISABLED FOR RELEASE AS NOT YET READY FOR PRODUCTION

         )