... | in unsubscribe.naml |
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
<macro name="unsubscribe_by_code" requires="servlet">
<n.node_page Macro Requires: servlet
Parameters:
do
♦ ♦
<n.catch_exception Binary Namespace: BasicNamespace
Parameters:
id, do
♦ ♦
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
code, do
♦ ♦ Macro ♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: SubscriptionNamespace
♦ ♦
<then.throw_template_exception Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
</n.if.not.is_subscribed>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<n.remove Binary Namespace: SubscriptionNamespace
♦ ♦
<n.send_unsubscription_reminder Macro Requires: subscription, node_page, servlet
♦ ♦
</then>
</n.if.is_submitted_form>
</n.page_node.get_subscription_by_code.>
</n.catch_exception.>
<n.html Macro Parameters:
head, body
♦ ♦
<head>
<meta name="robots" content="noindex,nofollow"/>
<n.title Macro Parameters:
text
♦ ♦
</head>
<body>
<n.edit_header Macro Parameters:
first_text, second_text
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
for
♦ ♦
<then.handle_unsubscription_by_code_errors Macro ♦ ♦
<else>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<h2><t>Subscription Removed</t></h2>
<t>Your subscription to <t.location.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
</then>
<else>
<h2><t>Do you really want to unsubscribe from <t.location><a href="[n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.form Macro Requires: servlet
Parameters:
macro, method, onsubmit, content
♦ ♦
<input type="hidden" name="code" value="[n.code_parameter Macro ♦ ♦
<input type="hidden" name="action" value="remove-subscription"/>
<input type="submit" class="toolbar action-button" value="[t]Yes, unsubscribe now[/t]"/>
<t>or</t> <a href="[n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
</n.form.>
</else>
</n.if.is_submitted_form>
</else>
</n.if.has_exception>
</body>
</n.html>
</n.node_page.>
</macro>
|
Free forum by Nabble | Edit this page |