... | in register.naml |
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
|
<macro name="save_registration">
<n.catch_exception Binary Namespace: BasicNamespace
Parameters:
id, do
♦ ♦
<n.set_local_user Macro Parameters:
user
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
registration_key, do, email
♦ ♦ Binary Namespace: RequestNamespace
Parameters:
name
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Macro Parameters:
do
♦ ♦
<then>
<h1><t>Registration Failed</t></h1>
<p><t>Please make sure you are using the same browser that you used to fill in the registration request.</t></p>
<p><t>You can try <n.register_link Macro Parameters:
text, title
♦ ♦ Macro ♦ ♦
</then>
<else>
<n.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦
<n.get_next_url_from_registration Binary Namespace: ServletNamespace
Parameters:
registration_key
♦ ♦ Binary Namespace: RequestNamespace
Parameters:
name
♦ ♦
</n.set_var.>
<h1><t>Registration Confirmed</t></h1>
<p><t>You have been registered to <t.subject.root_node Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<p><a href="[n.var Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
</else>
</n.if.is_null.local_user>
</n.catch_exception.>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
for
♦ ♦
<then>
<h1><t>Registration Failed</t></h1>
<br />
<n.handle_exception Binary Namespace: NabbleNamespace
Parameters:
for, do
♦ ♦
<n.comment Macro Parameters:
text
♦ ♦
fill in as needed
</n.comment.>
</n.handle_exception.>
</then>
</n.if.has_exception>
</macro>
|