| ... | in dropdown.naml |
|
590 591 592 593 594 595 596 597 598 599 600 601 602 603 604
|
<macro name="menu_edit_post" requires="node">
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('editPost<n.id/>', '<n.javascript_string_encode.edit_post_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if.visitor.can_edit.local_node>
<then>
NabbleDropdown.show('editPost<n.local_node.id/>');
</then>
</n.if.visitor.can_edit.local_node>
</else>
</n.if.is_in_command>
</macro>
|
| Free forum by Nabble | Edit this page |