... | in forgot_password.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
<macro name="forgot_password_page" requires="servlet">
<n.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦ Binary Namespace: BasicNamespace
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: servlet
♦ ♦
<then.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NabbleNamespace
Parameters:
email
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<then>
<n.set_local_user Macro Parameters:
user
♦ ♦ Binary Namespace: NabbleNamespace
Parameters:
do, email
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then>
<n.password_mail_sent_page Macro Requires: servlet
♦ ♦
</then>
<else.unregistered_user_forgot_password_page Macro Requires: servlet
♦ ♦
</n.if.local_user.is_registered>
<n.exit Binary Namespace: BasicNamespace
♦ ♦
</then>
<else.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦ Binary Namespace: BasicNamespace
♦ ♦
</then.if.exists_user_for_email.email_field.value>
</n.if.is_submitted_form>
<n.html Macro Parameters:
head, body
♦ ♦
<head>
<meta name="robots" content="noindex,nofollow"/>
<n.title Macro Parameters:
text
♦ ♦
<style type="text/css">
div.field-title { margin-top: 0; }
</style>
</head>
<body>
<h1><t>Forgot Password?</t></h1>
<p><t>Please enter the email address you used to register and click on "Submit".
We will email you a link to reset your password.</t></p>
<p>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
<then.format_error Macro Parameters:
message, prompt
♦ ♦
</n.if.var>
<n.form Macro Requires: servlet
Parameters:
macro, method, onsubmit, content
♦ ♦
<div class="second-font field-title"><t>Email</t></div>
<n.email_field Macro Parameters:
do
♦ ♦ Macro Requires: field
Parameters:
size, maxlength, tabindex, type
♦ ♦
<input type="submit" value="[t]Submit[/t]" />
</n.form.>
</p>
<n.show_email_warning Macro Requires: servlet
♦ ♦
</body>
</n.html>
</macro>
|
Free forum by Nabble | Edit this page |