~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/dispatch/request.py

  • Committer: mattgiuca
  • Date: 2008-07-07 12:01:03 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:820
lib: Added new package pulldown_subj, a collection of modules designed to
    pull student subject enrolments from the server.
    Note that the actual code to do this is not included (since that is
    specific to the organisation running IVLE) - just a pluggable interface
    and an example plugin module.
configure.py: Added new config option: subject_pulldown_modules, which allows
    you to specify which modules are plugged in here.
    (Actually that was added accidentally in a previous commit; but this
    revision fixes some comments).

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            in the head, if write_html_head_foot is True.
81
81
            URLs should be relative to the IVLE root; they will be fixed up
82
82
            to be site-relative.
83
 
        scripts_init (write)
84
 
            List of strings. Write a list of JS function names, and they
85
 
            will be added as window.addListener('load', ..., false); calls
86
 
            in the head, if write_html_head_foot is True.
87
 
            This is the propper way to specify functions that need to run at 
88
 
            page load time.
89
83
        write_html_head_foot (write)
90
84
            Boolean. If True, dispatch assumes that this is an XHTML page, and
91
85
            will immediately write a full HTML head, open the body element,
201
195
        self.title = None     # Will be set by dispatch before passing to app
202
196
        self.styles = []
203
197
        self.scripts = []
204
 
        self.scripts_init = []
205
198
        self.write_html_head_foot = False
206
199
        self.got_common_vars = False
207
200