... | in dropdown.naml |
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
|
<macro name="menu_manage_users_and_groups" requires="node">
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('manageGroups', '<n.javascript_string_encode.manage_users_and_groups_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if.both condition1="[n.local_node.is_root/]" condition2="[n.visitor.can_manage_users_and_groups/]">
<then>
NabbleDropdown.show('manageGroups');
</then>
</n.if.both>
</else>
</n.if.is_in_command>
</macro>
|
Free forum by Nabble | Edit this page |