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

« back to all changes in this revision

Viewing changes to ivle/webapp/forum/__init__.py

  • Committer: Matt Giuca
  • Date: 2009-05-19 02:54:08 UTC
  • mfrom: (1258 trunk)
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: matt.giuca@gmail.com-20090519025408-19c7cjl7w6ot6frm
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
from ivle.webapp.base.xhtml import XHTMLView
28
28
from ivle.webapp.base.plugins import ViewPlugin, CookiePlugin, MediaPlugin
29
 
import ivle.util
30
29
import ivle.config
31
30
 
32
31
class ForumView(XHTMLView):
42
41
        self.plugin_styles[Plugin] = ['forum.css']
43
42
        forum_base = req.config.plugin_configs[Plugin]['base']
44
43
 
45
 
        ctx['url'] = ivle.util.make_path(os.path.join(forum_base, self.path))
 
44
        ctx['url'] = req.make_path(os.path.join(forum_base, self.path))
46
45
 
47
46
class ForumBoardView(ForumView):
48
47
    def __init__(self, req, board):