comparison MoinMoin/action/userprefs.py @ 2967:a310264ad186

Added a few add_msg calls (by Federico Lorenzi).
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Mon, 24 Dec 2007 00:16:48 +0100
parents 2142eea37033
children a1322262398a
comparison
equal deleted inserted replaced
2966:ba14d391c2ba 2967:a310264ad186
92 else: 92 else:
93 lnk = html.A(href='xx').append(html.Text(_("Settings", formatted=False))) 93 lnk = html.A(href='xx').append(html.Text(_("Settings", formatted=False)))
94 lnk = unicode(lnk) 94 lnk = unicode(lnk)
95 title = _("Settings") + "/" + title 95 title = _("Settings") + "/" + title
96 request.emit_http_headers() 96 request.emit_http_headers()
97 request.theme.send_title(title, page=request.page, pagename=pagename, msg=msg) 97 request.theme.add_msg(msg, "dialog")
98 request.theme.send_title(title, page=request.page, pagename=pagename)
98 # Start content (important for RTL support) 99 # Start content (important for RTL support)
99 request.write(request.formatter.startContent("content")) 100 request.write(request.formatter.startContent("content"))
100 request.write(text) 101 request.write(text)
101 request.write(request.formatter.endContent()) 102 request.write(request.formatter.endContent())
102 request.theme.send_footer(pagename) 103 request.theme.send_footer(pagename)