subscription_saved_user.naml

<macro name="subscription_saved_user_url">
   <n.set_local_user.get_user_from_id user_id="[n.get_parameter name='user'/]"/>
   <n.remove_spaces.>
        <n.page_node.base_url/>
        /template/NamlServlet.jtp?macro=subscription_saved_user&node=<n.page_node.id/>&user=<n.local_user.id/>
    </n.remove_spaces.>
</macro>

<macro name="subscription_saved_user_url2">
   <n.set_local_user.get_user_from_id user_id="[n.get_parameter name='user'/]"/>
   <n.remove_spaces.>
        <n.page_node.base_url/>
        /template/NamlServlet.jtp?macro=subscription_saved_user2&node=<n.page_node.id/>&user=<n.local_user.id/>
    </n.remove_spaces.>
</macro>

<macro name="subscription_saved_user" requires="servlet">
    <n.node_page.>
        <n.subscription_msg_user
            header="[t]Subscription Confirmed[/t]"
            message="[t]User subscription has been successfully saved.[/t]"
        />
    </n.node_page.>
</macro>

<macro name="subscription_saved_user2" requires="servlet">
    <n.node_page.>
        <n.subscription_msg_user2
            header="[t]Subscription Confirmed[/t]"
            message="[t]User subscription has been successfully saved.[/t]"
        />
    </n.node_page.>
</macro>

<macro name="subscription_msg_user" parameters="header,message">
    <n.html>
        <head>
            <n.title.><n.header/></n.title.>
            <n.main_title_css/>
        </head>
        <body>
            <n.set_local_user.get_user_from_id user_id="[n.get_parameter name='user'/]" />
            <n.local_user.profile_header/>
            <div class="shaded-bg-color rounded second-font main-title">
                <n.header/>
            </div>
            
            <table style="margin-bottom:1em">
                <tr valign="top">
                    <td><img src="/images/success.png" class="image16"/></td>
                    <td>
                        <b><n.message/></b>  
                        <p><a href="javascript:window.history.go(-2)"><t>Return back 2 to User Subscriptions Page (then refresh to see changes)</t></a></p>
                    </td>
                </tr>
            </table>
        </body>
    </n.html>
</macro> 

<macro name="subscription_msg_user2" parameters="header,message">
    <n.html>
        <head>
            <n.title.><n.header/></n.title.>
            <n.main_title_css/>
        </head>
        <body>
            <n.set_local_user.get_user_from_id user_id="[n.get_parameter name='user'/]" />
            <n.local_user.profile_header/>
            <div class="shaded-bg-color rounded second-font main-title">
                <n.header/>
            </div>
            
            <table style="margin-bottom:1em">
                <tr valign="top">
                    <td><img src="/images/success.png" class="image16"/></td>
                    <td>
                        <b><n.message/></b>  
                        <p><a href="javascript:window.history.go(-3)"><t>Return back 3 to User Subscriptions Page (then refresh to see changes)</t></a></p>
                    </td>
                </tr>
            </table>
        </body>
    </n.html>
</macro>