[comment]
ui_template: Yes
ui_template_name: templates/standard
ui_template_layout: LOGOBAR, MENUBAR, LEFTSIDE, UI_CONTENT, NO_RIGHT, MENUBOTTOM, COPYRIGHT
ui_template_description: Standard page with top and left areas. Menu bar and copyright at bottom.
ui_control_element: page_title :
ui_control_element: members_only : 0=No,1=Yes
ui_control_description: page_title: Page title
ui_control_description: members_only : Members only
[/comment]
[set page_title]Trying to retrieve....[/set]
__LOGOBAR__
__MENUBAR__
__LEFTSIDE__
Trying to retrieve....
[perl]
$CGI->{mv_todo} = 'search';
$Config->{NoSearch} = '';
[/perl]
[update process]
[search-region]
[set get_id_matches][search-list][if-item-data userdb email][item-code][/if-item-data][/search-list][/set]
[no-match]
Sorry, no match for that. Try again?
[include forms/get_id]
[/no-match]
[/search-region]
[perl]
$Config->{NoSearch} = 'userdb';
return;
[/perl]
[if value mv_search_match_count > 1]
That one generated more than one match. [page login]Try again[/page] with more info?
[elsif scratch get_id_matches]
[set name=id_ok][/set]
[set name=id_ok interpolate=1][loop arg="[scratch get_id_matches]"][email
to="[loop-data userdb email]"
subject="Your login information"
from="__COMPANY__ password minder <__ORDERS_TO__>"
reply="__ORDERS_TO__"]
Hello! You requested that your ID and password be sent to your
email address of record. The information is:
Username: [loop-code]
Password: [loop-data userdb password]
You can log in at:
[area login]
Please contact us if we can be of service, and thank you for doing
business with us.
[/email][/loop][/set]
[if !scratch id_ok]
Something went wrong when mailing, perhaps a typo in your email address? Please
either [page new_account]create a new account[/page] or [page feedback]contact us.[/page].
[else]
ID sent by fastest available email method!
[/else]
[/if]
[if session failure]
[data session failure]
[/if]
Create a new account
[/elsif]
[elsif value mv_search_match_count]
We appear to have found you, but you didn't leave an email address!
Please either [page new_account]create a new account[/page] or [page
feedback]contact us.[/page].
[/elsif]
[/if]
__RIGHTSIDE__
__MENUBOTTOM__
__COPYRIGHT__