comparison MoinMoin/action/MyPages.py @ 3728:bba0d3392918

fix MyPages action
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sat, 21 Jun 2008 12:59:17 +0200
parents a1322262398a
children 9b64ad3c2aee
comparison
equal deleted inserted replaced
3727:fd63e84632df 3728:bba0d3392918
62 62
63 # This action generate data using the user language 63 # This action generate data using the user language
64 request.setContentLanguage(request.lang) 64 request.setContentLanguage(request.lang)
65 request.theme.send_title(_('MyPages management'), page=homepage) 65 request.theme.send_title(_('MyPages management'), page=homepage)
66 66
67 # Start content - IMPORTANT - without content div, there is no direction support!
68 request.write(request.formatter.startContent("content"))
69
70 parser = WikiParser(pagecontent, request) 67 parser = WikiParser(pagecontent, request)
71 p = Page(request, "$$$") 68 p = Page(request, "$$$")
72 request.formatter.setPage(p) 69 request.formatter.setPage(p)
73 parser.format(request.formatter) 70 parser.format(request.formatter)
74 71
72 # Start content - IMPORTANT - without content div, there is no direction support!
73 request.write(request.formatter.startContent("content"))
74
75 request.write(request.formatter.endContent()) 75 request.write(request.formatter.endContent())
76 request.theme.send_footer(homepage.page_name) 76 request.theme.send_footer(homepage.page_name)
77 request.theme.send_closing_html() 77 request.theme.send_closing_html()
78 78