change_appearance.naml

<override_macro name="change_appearance" requires="servlet">
    <n.if.not.visitor.can_edit.root_node>
        <then>
            <n.login.><t>Only authorized users can proceed in this area.</t></n.login.>
        </then>
    </n.if.not.visitor.can_edit.root_node>

    <n.nabble_html>
        <do>
            <n.embedding_redirection_js/>
            <n.change_appearance_body/>
        </do>
        <output>
            <![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]>
            <html>
                <head>
                    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
                    <title>Change appearance of <n.root_node.subject/></title>
                    <link rel="shortcut icon" href="/file/n4012848/greghelpicon.ico" type="image/x-icon"/>
                    <link rel="stylesheet" href="/nabble.css?v=[n.css_version/]" type="text/css" />
                    <n.change_appearance_stylesheet/>
                    <n.nabble_javascript_libraries/>
                    <script type="text/javascript" src="/util/jscolor/jscolor.js"></script>
                    <script type="text/javascript">
                        jscolor.dir = '/images/jscolor/';
                    </script>
                    <n.change_appearance_js/>
                    <n.html_head_content/>
                </head>
                <body>
                    <n.html_body_content/>
                </body>
            </html>
        </output>
    </n.nabble_html>
</override_macro>