menu_change_appearance

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "menu_change_appearance".
... in dropdown.naml
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<macro name="menu_change_appearance" requires="node">
    <n.if.is_in_command name="dropdown">
        <then>
            dropdown.add('changeAppearance', '<n.javascript_string_encode.change_appearance_link/>', 'display:none');
        </then>
        <else>
            <n.set_local_node.this_node/>
            <n.if.both condition1="[n.local_node.is_root/]" condition2="[n.visitor.can_edit.local_node/]">
                <then>
                    function hasChangeAppearanceToolbar() {
                        try {
                            if (parent.isChangeAppearance)
                                return true
                        } catch (err) {}
                        return false;
                    };
                    /* Avoid duplicate toolbars */
                    if (!hasChangeAppearanceToolbar())
                        NabbleDropdown.show('changeAppearance');
                </then>
            </n.if.both>
        </else>
    </n.if.is_in_command>
</macro>