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

« back to all changes in this revision

Viewing changes to www/dispatch/html.py

  • Committer: mattgiuca
  • Date: 2008-02-19 06:51:25 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:505
dispatch.html, consoleservice, userservice, interpret:
    Replaced use of session with use of "req.user" object.
    Most of these no longer need to use session at all anymore.
    Those that do do so correctly ("user" field).
This unbreaks the build.

cgirequest: Sets "user" in CGIRequest object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
            '    <a href="%s">Help</a> |\n'
95
95
            '    <a href="%s">Logout</a>\n'
96
96
            '  </p>\n' %
97
 
            (cgi.escape(nickname), cgi.escape(req.username),
 
97
            (cgi.escape(nickname), cgi.escape(req.user.login),
98
98
             cgi.escape(get_help_url(req)),
99
99
             cgi.escape(util.make_path('logout'))))
100
100
    else: