menu_open_advanced_editor

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer.naml
787
788
789
790
791
792
793
794
795
796
797
798
799
800
<macro name="menu_open_advanced_editor">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
        <then>
            dropdown.add('openAdvEditor', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.advanced_editor_link
Macro
Parameters: text, title, class
/>', 'display:none');
        </then>
        <else>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_site_admin
Macro
Requires: user
>
                <then>
                    NabbleDropdown.show('openAdvEditor');
                </then>
            </n.if.visitor.is_site_admin>
        </else>
    </n.if.is_in_command>
</macro>