S3ResourceHeader = s3base.S3ResourceHeader from s3.s3navigation import s3_rheader_tabs from s3.s3validators import * from s3.s3widgets import * # GIS Module gis = s3base.GIS() current.gis = gis # S3RequestManager s3mgr = s3base.S3RequestManager() current.manager = s3mgr s3_request = s3base.s3_request # S3XML s3xml = s3base.S3XML() current.xml = s3xml # Messaging msg = s3base.S3Msg() current.msg = msg # Sync sync = s3base.S3Sync() current.sync = sync # ----------------------------------------------------------------------------- def s3_clear_session(): # S3ResourceManager last seen records (rcvars)
# models/controllers with that of Template controllers.py & customise() functions #s3_has_role = auth.s3_has_role #s3_has_permission = auth.s3_has_permission #s3_logged_in_person = auth.s3_logged_in_person # Calendar current.calendar = s3base.S3Calendar() # CRUD s3.crud = Storage() # GIS Module current.gis = gis = s3base.S3GIS() # S3XML current.xml = s3xml = s3base.S3XML() # Messaging current.msg = msg = s3base.S3Msg() # Sync current.sync = sync = s3base.S3Sync() # Frequently used S3 utilities imported into the global namespace for use by controllers from s3 import FS, s3_action_buttons, s3_redirect_default, s3_str # ----------------------------------------------------------------------------- def s3_clear_session(): # CRUD last opened records (rcvars)