... | in login.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
|
<macro name="login_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>
<n.do_login Binary Namespace: ServletNamespace
Parameters:
password, nextUrl, email
♦ ♦
<password><n.password_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
</n.do_login>
<n.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦ Binary Namespace: BasicNamespace
♦ ♦
</then>
</n.if.is_submitted_form>
<n.html Macro Parameters:
head, body
♦ ♦
<head>
<meta name="robots" content="noindex,nofollow"/>
<script type="text/javascript">
var loginNextUrl = '<n.default Binary Namespace: BasicNamespace
Parameters:
to, text
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
</script>
</head>
<body>
<h1 class="weak-color"><t Macro ♦ ♦
<n.login_message Macro ♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
<then.format_error Macro Parameters:
message, prompt
♦ ♦
message="[t]Incorrect Login![/t]"
prompt="[t]Please re-enter your email/password and click Login.[/t]"
/>
</n.if.var>
<n.login_form Macro ♦ ♦
<n.register_now_section Macro ♦ ♦
</body>
</n.html>
</macro>
|
Free forum by Nabble | Edit this page |