tweaks.naml

<override_macro name="unauthorized" requires="servlet">
    <n.node_page.>
        <n.html>
            <head>
                <META NAME="robots" CONTENT="noindex,nofollow"/>
                <n.title.><t>Unauthorized</t></n.title.>
            </head>
            <body>
                <div style="font-size:140%;margin:.5em 0 1em">
                    Read-Only Archive
                </div>
                <p>You cannot post here. This is a read-only archive. This is a read-only archive. Please send your messages directly to the mailing list.</p>
            </body>
        </n.html>
    </n.node_page.>
</override_macro>

<override_macro name="new_topic_forbidden_page">
    <n.set_var name="has_descendants_where_can_reply" value="[n.false/]" />
    <n.page_node.descendant_apps_list.loop.>
        <n.if.visitor.can_create_topic_in.current_node>
            <then>
                <n.set_var name="has_descendants_where_can_reply" value="[n.true/]" />
                <n.break/>
            </then>
        </n.if.visitor.can_create_topic_in.current_node>
    </n.page_node.descendant_apps_list.loop.>
    <n.html>
        <head>
            <META NAME="robots" CONTENT="noindex,nofollow"/>
            <n.title.>
                <n.if.var name="has_descendants_where_can_reply">
                    <then><t>Choose a Subcategory</t></then>
                    <else><t>Authorized Users Only</t></else>
                </n.if.var>
            </n.title.>
        </head>
        <body>
            <div style="font-size:140%;margin:.5em 0 1em">
                <n.if.var name="has_descendants_where_can_reply">
                    <then><t>Choose a subcategory to post your message</t></then>
                    <else><t>You Cannot Post Here</t></else>
                </n.if.var>
            </div>
            <n.if.var name="has_descendants_where_can_reply">
                <then>
                    <n.page_node.descendant_apps_list.loop.>
                        <n.if.visitor.can_create_topic_in.current_node>
                            <then>
                                <div style="margin:.3em"><n.current_node.new_topic_link text="[n.subject/]" /></div>
                            </then>
                        </n.if.visitor.can_create_topic_in.current_node>
                    </n.page_node.descendant_apps_list.loop.>
                </then>
                <else>
                    <p>This is a read-only archive. Please send your messages directly to the mailing list.</p>
                </else>
            </n.if.var>
        </body>
    </n.html>
    <n.exit/>
</override_macro>