Inscription avec validation de l'email et email en tant que login opérationnelle.
[Plinn.git] / Products / Plinn / skins / generic / password_reset_mail.py
1 ##parameters=options={}
2 from Products.Plinn.utils import translate as _
3
4
5 print _('Hi %(fullName)s,')
6 print
7 if not options.get('initial') :
8 print _('You recently asked to reset your password.')
9
10 print _("To get back into your account on the %(siteName)s website, you'll need to create a new password.")
11 print _("It's easy:")
12 print '— %s' % _("Click the link below to open a browser window.")
13 print '— %s' % _("Fill the form with your new password.")
14 print
15 else :
16 print _('You just sign up on the %(siteName)s website.')
17 print _('Now you have to create your password to complete your registration.')
18 print _("It's easy:")
19 print '— %s' % _("Click the link below to open a browser window.")
20 print '— %s' % _("Choose a password and enter it in the form.")
21 print '%(resetPasswordUrl)s'
22
23 if options['loginIsNotEmail'] :
24 print
25 print _("Please note:")
26 print _("Your personal login to sign in later is:")
27 print "%(member_id)s"
28
29 return printed % options