... | in people.naml |
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
|
<macro name="user_state_column" parameters="title,width" requires="user_list">
<n.table_column Macro Parameters:
head, body
♦ ♦
<head>
<td></td>
</head>
<body>
<td class="weak-color">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: UserList
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then><t>Anonymous</t></then>
<else>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: UserList
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then><t>Registered</t></then>
<else>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: UserList
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then><t>Unregistered / Deactivated</t></then>
<else><t>Unregistered</t></else>
</n.if.current_user.is_deactivated>
</else>
</n.if.current_user.is_registered>
</else>
</n.if.current_user.is_anonymous>
</td>
</body>
</n.table_column>
</macro>
|
Free forum by Nabble | Edit this page |