... | in ban_user.naml |
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
<macro name="ban_user_control">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: UserPageNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then>
<table style="margin-bottom:1em">
<tr valign="top">
<n.ban_user_field Macro Parameters:
do
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<td><n.checkbox Macro Requires: field
Parameters:
style
♦ ♦
<td>
<label for="[n.name Binary Namespace: FieldNamespace
♦ ♦
<div class="weak-color" style="margin-top:.3em">
<t>If you ban this user, he/she won't be able to do anything in <t.location.root_node Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<t>Remember that the banning action isn't efficient because the user can always come back with a different account.</t>
</div>
</td>
</then>
<else>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: field
♦ ♦
<then>
<td><img src="/images/success.png" class="image16"/></td>
<td><t><t.author><b><n.page_user Binary Namespace: UserPageNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
</then>
</n.if.is_checked>
</else>
</n.if.not.is_submitted_form>
</n.ban_user_field.>
</tr>
</table>
</then>
</n.if.page_user.is_authenticated>
</macro>
|