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 "change_appearance".
... in change_appearance.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<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>
Overrides default macro
... in change_appearance.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<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="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>
</macro>