diff 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
line wrap: on
line diff
--- a/MoinMoin/action/userprefs.py	Sun Dec 23 23:52:43 2007 +0100
+++ b/MoinMoin/action/userprefs.py	Mon Dec 24 00:16:48 2007 +0100
@@ -94,7 +94,8 @@
         lnk = unicode(lnk)
         title = _("Settings") + "/" + title
     request.emit_http_headers()
-    request.theme.send_title(title, page=request.page, pagename=pagename, msg=msg)
+    request.theme.add_msg(msg, "dialog")
+    request.theme.send_title(title, page=request.page, pagename=pagename)
     # Start content (important for RTL support)
     request.write(request.formatter.startContent("content"))
     request.write(text)