Go to the documentation of this file.00001
00002
00003 import nstart
00004 import config
00005 import os, sys, string, time
00006
00007 from pyclearsilver.log import *
00008
00009 from pyclearsilver.CSPage import Context
00010 import neo_cgi, neo_cs, neo_util
00011 from MBPage import MBPage
00012 import webutil
00013
00014 class ActivePage(MBPage):
00015 def setup(self, hdf):
00016 self.requestURI = hdf.getValue("Query.request", "")
00017 if not self.requestURI:
00018 self.requestURI = self.default_app_path()
00019
00020 def display(self, hdf):
00021 webutil.grabTopics(hdf, [])
00022 pass
00023
00024 def __del__(self):
00025 if self.authdb:
00026 self.authdb.close()
00027 self.authdb = None
00028
00029 def run(context):
00030 page = ActivePage(context, pagename="active_warning", nologin=False)
00031 return page
00032
00033 def main(context):
00034 page = run(context)
00035 page.start()
00036
00037
00038 if __name__ == "__main__":
00039 main(Context())