changeset 1709:2f7793521ccd

userform: SendMyPassword hint added
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 06 Jan 2007 21:51:02 +0100
parents ac830832ca26
children 2077ed6974d7
files MoinMoin/userform.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/userform.py	Sat Jan 06 21:18:05 2007 +0100
+++ b/MoinMoin/userform.py	Sat Jan 06 21:51:02 2007 +0100
@@ -638,8 +638,10 @@
         pi = request.getPathinfo()
         action = u"%s%s" % (sn, pi)
         userprefslink = wikiutil.getSysPage(request, "UserPreferences").link_to(request, rel='nofollow')
-        hint = _("To create an account or recover a lost password, see the %(userprefslink)s page.") % {
-               'userprefslink': userprefslink}
+        sendmypasswordlink = wikiutil.getSysPage(request, "SendMyPassword").link_to(request, rel='nofollow')
+        hint = _("To create an account, see the %(userprefslink)s page. To recover a lost password, go to %(sendmypasswordlink)s.") % {
+                 'userprefslink': userprefslink,
+                 'sendmypasswordlink': sendmypasswordlink}
         self._form = html.FORM(action=action)
         self._table = html.TABLE(border="0")