... | in dropdown.naml |
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448
|
<macro name="menu_change_permissions" requires="node">
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('changePermissions', '<n.javascript_string_encode.change_permissions_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if.visitor.can_change_permissions_of.local_node>
<then>
NabbleDropdown.show('changePermissions');
</then>
</n.if.visitor.can_change_permissions_of.local_node>
</else>
</n.if.is_in_command>
</macro>
|
Free forum by Nabble | Edit this page |