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

« back to all changes in this revision

Viewing changes to www/apps/forum/__init__.py

  • Committer: William Grant
  • Date: 2009-01-13 01:36:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1123
Merge setup-refactor branch. This completely breaks existing installations;
every path (both filesystem and Python) has changed. Do not upgrade without
knowing what you are doing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# This is an IVLE application.
23
23
# A SMF forum application for IVLE.
24
24
 
25
 
from common import util
26
 
from common import interpret
27
 
from os import path
28
25
import os
29
26
import urlparse
30
27
import re
31
28
 
 
29
from ivle import util
 
30
from ivle import interpret
 
31
 
32
32
def handle(req):
33
33
    """
34
34
    Handler for the Forum application.
68
68
    if board or topic:
69
69
        location = forum_page + framequery
70
70
    
71
 
    frameurl = util.make_path(path.join(forum_base,location))
 
71
    frameurl = util.make_path(os.path.join(forum_base,location))
72
72
    req.content_type = "text/html"
73
73
    req.write_html_head_foot = True
74
74
    req.write('<object class="fullscreen" type="text/html" data="%s">'%