... | in dropdown.naml |
380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
|
<macro name="menu_manage_pinned_topics" requires="node">
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('managePinnedTopics', '<n.javascript_string_encode.manage_pinned_topics_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if>
<condition>
<n.both>
<condition1.not.regex_matches text="[n.local_node.type/]" pattern="board|category" />
<condition2.visitor.can_manage_pinned_topics_in.local_node/>
</n.both>
</condition>
<then>
NabbleDropdown.show('managePinnedTopics');
</then>
</n.if>
</else>
</n.if.is_in_command>
</macro>
|
Free forum by Nabble | Edit this page |