display_user_subscriptions.naml

<macro name="display_user_subscriptions_path">
    <n.encode_url.>
        /template/NamlServlet.jtp?macro=display_user_subscriptions
    </n.encode_url.>
</macro>

<macro name="display_user_subscriptions" requires="servlet">
    <n.visitor.as_user_page.>
        <n.if.not.page_user.is_registered>
            <then>
                <n.login.><t>You must login to view this page.</t></n.login.>
            </then>
        </n.if.not.page_user.is_registered>
        <n.html>
            <head>
                <n.title.><t>Subscriptions</t></n.title.>
                <style type="text/css">  
                    table.subscriptions {  
                    border-collapse:collapse;  
                    margin-top:1em;  
                    clear:both;  
                    width:100%  
                    }
                    table.subscriptions th {  
                    padding: .3em .6em;  
                    text-align:left;  
                    border-bottom-style:solid;  
                    border-bottom-width:2px;  
                    }  
                    table.subscriptions td {  
                    padding: .1em .6em;
                    }  
                </style> 
            </head>
            <body>
                <n.page_user.profile_header/>
                
  
                
                <n.horizontal_tab_control.>
                    <n.add_horizontal_tab url="[n.page_user.path/]" text="[t]Your Posts in [t.location.root_node.subject/][/t]" selected="false" details=""/>
                    <n.add_horizontal_tab url="" text="[t]Your Subscriptions[/t]" selected="true" details=""/>
                </n.horizontal_tab_control.>
                
                <n.display_subscriptions/>
                
            </body>
        </n.html>
    </n.visitor.as_user_page.>
</macro>