#NEWLINE# @ classmethod #NEWLINE# def menu_register( cls , **attr ) : #NEWLINE# #INDENT# ' Registration Menu ' #NEWLINE# if current . auth . is_logged_in ( ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# request = current . request #NEWLINE# login_next = URL ( args = request . args , vars = request . vars ) #NEWLINE# if ( ( request . controller == 'default' ) and ( request . function == 'user' ) and ( '_next' in request . get_vars ) ) : #NEWLINE# #INDENT# login_next = request . get_vars [ '_next' ] #NEWLINE# #UNINDENT# menu_auth = MM ( 'Register' , c = 'default' , f = 'user' , m = 'register' , vars = dict ( _next = login_next ) , ** attr ) #NEWLINE# return menu_auth