Display a menubar. parts : 0 url 1 text 2 color 3 icon 4 alt langs (:en=example^de=beispiel^fr=exemple^...:)
-A automatically select the first item in the menubar
-b ignore base url
-B no border
-c center
-C custom main var
-e editor
-f filter mode
-F display flags (uses $vars{'menubar_flags'} + $vars{'menubar_flags_selected'})
-G signup (on the right, requires $setup{'login_page'}, see also -L)
-H hover mode
-i icon view
-I icon view: only icons, omit text
-l list view
-L login (on the right, requires $setup{'signup_page'}, see also -G)
-m modern style (additionally use -O switch for 2017 style)
-M modern style sub (additionally use -O switch for 2017 style)
-N narrow (useful to make modern style sub fit well under a modern menu)
-o bookmark
-O ONO style (in conjunction with -m and -M)
-p phone mode active (automatically switch to phone view if required)
-P phone mode displays current page title
-Q phone mode: inject code below selected item
-r use responsive mode -> NOW ALWAYS ACTIVE, UNLESS -v !!!
-s selected
-S submenu
-w wide
-W white selected tab
-t tab mode (not implemented yet)
-T tab mode (alternative)
-v vertical mode (warning: not all features may be supported in this mode)
-V white triangle indicates selected tab
special links:
* centered title
ONO::Lib::UI::MenuBar->bar( $LINK, $switches, $tabs_ref, $BLK_ref, $vars_ref, $setup_ref, $short_urls_ref );
returns: $MENU
Phone / mobile device menubar alternative.
ONO::Lib::UI::MenuBar->phone( $NAV, $DISPLAY, $FLAGS, $lang_local, $flag_style, $CSS, $BASE, $setup_ref, $counter );