The positioning class

Signed-off-by: emanuele <emanuele45@gmail.com>
Added the possibility to specify a key and a value for each item in the positioning class and added an addBulk method

Signed-off-by: emanuele <emanuele45@gmail.com>
Main menu using the positioning class

Signed-off-by: emanuele <emanuele45@gmail.com>
Removed some unnecessary bits

Signed-off-by: emanuele <emanuele45@gmail.com>
Separate again admin and moderation menus "logic", but keep moderation sub of admin if that is present

Signed-off-by: emanuele <emanuele45@gmail.com>
Maybe using chaining is more readable?

Signed-off-by: emanuele <emanuele45@gmail.com>
Re-fix the wrongly active menus

Signed-off-by: emanuele <emanuele45@gmail.com>
Added support for childOf (needs improvement)

Signed-off-by: emanuele <emanuele45@gmail.com>
Rework of the positioning class to be much more useful: it is now abstract and doesnt't have an add implemented

Signed-off-by: emanuele <emanuele45@gmail.com>
Implementation of a Standard_Menu class (extending Positioning_Items) and its use for main menu and admin menu

Signed-off-by: emanuele <emanuele45@gmail.com>
Move the menu hook somewhere it is more useful

Signed-off-by: emanuele <emanuele45@gmail.com>
Last bit, I don't think is a good idea to have a class that is either singleton and instantiable (?)

Signed-off-by: emanuele <emanuele45@gmail.com>
Docs... suprised Spuds? :P

Signed-off-by: emanuele <emanuele45@gmail.com>
Converted moderation center menu to menu class

Signed-off-by: emanuele <emanuele45@gmail.com>
Added some code to handle "update" of menus (i.e. merge old with new data) and moved things where they belong

Signed-off-by: emanuele <emanuele45@gmail.com>
Converted PM menu

Signed-off-by: emanuele <emanuele45@gmail.com>