Re: [psa-devel]Password Reset
Brought to you by:
koivi
From: Albert L. <al...@pl...> - 2003-03-25 14:01:00
|
Great. I've made a couple of changes but got real busy recently - need to finish up later. Also I have some questions about how to get the random link into the message body if its configured from another file. I'll follow up. > For sendMailConfirm: > > * don't use global statements. Instead, have an array passed that > contains the required variables. > > * don't hardcode parameters for the mail message. Let the user pass the > subject, message, etc. so that it can be customized. > > * might want to allow the activation link to be sent as a separate array > element so the format can be checked in the function. > > * this array would then go into the config.php file so the users can > easily see what the default values are and can easily edit them. In this > case, I don't think it would be necessary to use gettext on the > variables since the user will set them to what they want anyway. |