<s> from gluon import * <EOL> from s3 import * <EOL> from s3layouts import * <EOL> try : <EOL> from . layouts import * <EOL> except ImportError : <EOL> pass <EOL> import s3menus as default <EOL> class S3MainMenu ( default . S3MainMenu ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> def menu_modules ( cls ) : <EOL> """<STR_LIT>""" <EOL> logged_in = current . auth . is_logged_in ( ) <EOL> return [ <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT:default>" , f = "<STR_LIT:index>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" , args = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT:index>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT:index>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" , m = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , link = False , check = logged_in ) ( <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" , ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" , m = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT:body>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT:index>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" , m = "<STR_LIT>" , <EOL> check = logged_in ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT:index>" ) , <EOL> MM ( "<STR_LIT>" , c = "<STR_LIT>" , f = "<STR_LIT>" ) , <EOL> ) , <EOL> ] <EOL> class S3OptionsMenu ( default . S3OptionsMenu ) : <EOL> """<STR_LIT>""" <EOL> @ staticmethod <EOL> def dvi ( ) : <EOL> """<STR_LIT>""" <EOL> return M ( c = "<STR_LIT>" ) ( <EOL> M ( "<STR_LIT>" , f = "<STR_LIT>" ) ( <EOL> M ( "<STR_LIT>" , m = "<STR_LIT>" ) , <EOL> M ( "<STR_LIT>" , <EOL> vars = { "<STR_LIT>" : "<STR_LIT>" } ) , <EOL> ) , <EOL> M ( "<STR_LIT>" , f = "<STR_LIT:body>" ) ( <EOL> M ( "<STR_LIT>" , m = "<STR_LIT>" ) , <EOL> M ( "<STR_LIT>" , <EOL> vars = { "<STR_LIT>" : "<STR_LIT:None>" } ) , <EOL> M ( "<STR_LIT>" , m = "<STR_LIT>" , <EOL> vars = dict ( rows = "<STR_LIT>" , <EOL> cols = "<STR_LIT>" , <EOL> fact = "<STR_LIT>" , <EOL> ) , <EOL> ) , <EOL> ) , <EOL> M ( "<STR_LIT>" , f = "<STR_LIT>" ) ( <EOL> M ( "<STR_LIT>" , m = "<STR_LIT>" ) , <EOL> ) , <EOL> M ( "<STR_LIT>" , f = "<STR_LIT:index>" ) , <EOL> ) </s>
