... | in unauthorized.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 46 47 48 49
|
<macro name="unauthorized" requires="servlet">
<n.node_page Macro Requires: servlet
Parameters:
do
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<n.users_in_group Binary Namespace: NabbleNamespace
Parameters:
do, group
♦ ♦ Binary Namespace: NabbleNamespace
♦ ♦
<n.loop Macro Requires: sequence
Parameters:
by, do
♦ ♦
<n.current_user Binary Namespace: UserList
Parameters:
do
♦ ♦ Macro Requires: user, node_page
Parameters:
explanation
♦ ♦
/>
</n.loop.>
</n.users_in_group.>
</then>
</n.if.is_submitted_form>
<n.html Macro Parameters:
head, body
♦ ♦
<head>
<META NAME="robots" CONTENT="noindex,nofollow"/>
<n.title Macro Parameters:
text
♦ ♦
</head>
<body>
<div style="font-size:140%;margin:.5em 0 1em">
<t>Authorized Users Only</t>
</div>
<t>Only authorized users can proceed in this area.</t>
<t>You can use the form below to send a request to the administrators.</t>
<div class="second-font big-title" style="margin:1.5em 0 .5em">
<t>Access Request</t>
</div>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<div class="weak-color" style="margin:.3em 0">
<t>Explain to the administrator(s) why you want to access this restricted area.</t>
</div>
<n.form Macro Requires: servlet
Parameters:
macro, method, onsubmit, content
♦ ♦
<n.message_field Macro Parameters:
do
♦ ♦ Macro Requires: field
Parameters:
maxlength, tabindex, style, wrap
♦ ♦
<br/>
<input type="submit" id="send-request" value="[t]Send Request[/t]"/>
<t>or</t> <a href="[n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
</n.form.>
</then>
<else>
<img src="/images/success.png" class="image16"/>
<t>Your request has been successfully sent.</t>
</else>
</n.if.not.is_submitted_form>
</body>
</n.html>
</n.node_page.>
</macro>
|
Free forum by Nabble | Edit this page |