... | in send_node_as_email_to_user.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 37 38 39 40 41
|
<override_macro name="send_node_as_email_to_user" dot_parameter="node_attr" requires="subscription" unindent="true">
<n.set_local_subscription Macro Parameters:
subscription
♦ ♦ Binary Namespace: SubscriptionNamespace
Parameters:
do
♦ ♦
<n.set_local_node Macro Parameters:
node
♦ ♦
<n.send_subscription_email Macro Requires: subscription
Parameters:
html_part, text_part, node_attr
♦ ♦
<text_part>
______________________________________
<t>
</t>:
<n.local_node Macro Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
This email was sent by <n.visitor Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: SubscriptionNamespace
♦ ♦
<then>
<n.local_subscription Macro Parameters:
do
♦ ♦ Macro Requires: subscription
Parameters:
subscription_to
♦ ♦
</then>
</n.if.not.local_subscription.is_subscribed>
</text_part>
<html_part>
<br/><br/>
<hr noshade="noshade" size="1" color="#cccccc" />
<div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
<div style="font-weight:bold"><t>
</t>:</div>
<a href="[n.local_node Macro Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦ Macro Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
</div>
<div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
This email was sent by <a href="[n.visitor Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Macro Requires: user
Parameters:
filter, index_record
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: SubscriptionNamespace
♦ ♦
<then>
To receive all replies by email, <a href="[n.local_subscription Macro Parameters:
do
♦ ♦ Macro Requires: subscription
Parameters:
subscription_to
♦ ♦
</then>
</n.if.not.local_subscription.is_subscribed>
</div>
</html_part>
</n.send_subscription_email>
</override_macro>
|
... | in reply.naml |
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
|
<macro name="send_node_as_email_to_user" dot_parameter="node_attr" requires="subscription" unindent="true">
<n.set_local_subscription.this_subscription/>
<n.set_local_node.node_attr/>
<n.send_subscription_email node_attr="[n.node_attr/]">
<text_part>
<n.local_node.text_email_message_with_signature/>
______________________________________
<t>If you reply to this email, your message will be added to the discussion below</t>:
<n.local_node.url/>
This email was sent by <n.visitor.name/> (via Nabble)
<n.if.not.local_subscription.is_subscribed>
<then>
To receive all replies by email, subscribe to this discussion: <n.local_subscription.subscribe_by_code_url/>
</then>
</n.if.not.local_subscription.is_subscribed>
</text_part>
<html_part>
<n.local_node.html_email_message_with_signature/>
<br/><br/>
<hr noshade="noshade" size="1" color="#cccccc" />
<div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
<div style="font-weight:bold"><t>If you reply to this email, your message will be added to the discussion below</t>:</div>
<a href="[n.local_node.url/]"><n.local_node.url/></a>
</div>
<div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
This email was sent by <a href="[n.visitor.url/]"><n.visitor.name/></a> (via Nabble)<br/>
<n.if.not.local_subscription.is_subscribed>
<then>
To receive all replies by email, <a href="[n.local_subscription.subscribe_by_code_url/]">subscribe to this discussion</a><br/>
</then>
</n.if.not.local_subscription.is_subscribed>
</div>
</html_part>
</n.send_subscription_email>
</macro>
|
Powered by Nabble | NAML |