Attachment 'action_init_.diff'
Download 1 --- __init__old.py 2006-12-09 13:32:00.000000000 +0100
2 +++ __init__.py 2006-12-10 21:41:18.000000000 +0100
3 @@ -276,9 +276,17 @@
4
5 def do_userform(pagename, request):
6 """ save data posted from UserPreferences """
7 + _ = request.getText
8 from MoinMoin import userform
9 savemsg = userform.savedata(request)
10 - Page(request, pagename).send_page(request, msg=savemsg)
11 + if (savemsg == _("User account created! You can use this account to login now...")) and (request.cfg.show_welcome == True):
12 + welcomeuserpage = wikiutil.getSysPage(request, "WelcomeUser")
13 + request.http_redirect(welcomeuserpage.url(request, escape=0, relative=False))
14 + elif savemsg == _("User account created! You can use this account to login now..."):
15 + userprefspage = wikiutil.getSysPage(request, "UserPreferences")
16 + request.http_redirect(userprefspage.url(request, escape=0, relative=False))
17 + else:
18 + Page(request, pagename).send_page(request, msg=savemsg)
19
20 # Dispatching ----------------------------------------------------------------
21 def getNames(cfg):
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.