menu_delete_topic

   Usages of this macro
... in dropdown.naml
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
<macro name="menu_delete_topic" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
        <then>
            dropdown.add('deleteRecursively', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.delete_recursively_link
Macro
Requires: node
Parameters: text, title, class
 text="[t]Delete this topic[/t]"/>', 'display:none');
            dropdown.add('deletePost', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.delete_post_link
Macro
Requires: node
Parameters: text, title, class
 text="[t]Delete this topic[/t]"/>', 'display:none');
        </then>
        <else>
            <n.set_local_node
Macro
Parameters: node
.this_node
Binary
Namespace: NodeNamespace
Parameters: do
/>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_delete_recursively
Macro
Requires: user
Parameters: node
.local_node>
                <then>
                    NabbleDropdown.show('deleteRecursively');
                </then>
                <else.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_delete
Macro
Requires: user
Parameters: node_attr
.local_node
Macro
Parameters: do
>
                    <then>
                        NabbleDropdown.show('deletePost');
                    </then>
                </else.if.visitor.can_delete.local_node>
            </n.if.visitor.can_delete_recursively.local_node>
        </else>
    </n.if.is_in_command>
</macro>