... | in send_request_email.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 42 43 44 45 46 47 48 49
|
<override_macro name="send_request_email" parameters="explanation" requires="user,node_page" unindent="true">
<n.new_email Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦
<n.send Binary Namespace: EmailNamespace
Parameters:
cc, text_part, bcc, attachments, to_name, subject, from_name, html_part, set_headers_for, aol_part, bounce_to, from, to
♦ ♦
<to><n.user_email Binary Namespace: UserNamespace
♦ ♦
<subject><t>User requested authorization to join <t.location.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<text_part>
<t>Dear <t.name.name Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
<t><t.name.visitor Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
* <t>Explanation from this user:</t>
<n.explanation/>
* <t>User email:</t>
<n.visitor Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<t>To accept this request, you should add this user to at least one group that has access to this area:</t>
<n.base_url Binary Namespace: NabbleNamespace
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Macro Requires: user
♦ ♦
<t>Or you can ignore this email if it is better to keep this user away from that area.</t>
________________________________________
<t>Free Embeddable <t.app.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.nabble_homepage Binary Namespace: NabbleNamespace
♦ ♦
</text_part>
<html_part>
<t>Dear <t.name.name Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
<br/>
<t><t.name.visitor Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<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
Parameters:
template, date, index_record
♦ ♦
<br/>
<b><t>Explanation from this user:</t></b><br/>
<n.explanation/><br/>
<br/>
<b><t>User email:</t></b><br/>
<n.visitor Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<br/>
<t>To accept this request, you should add this user to at least one group that has access to this area:</t>
<div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
<a href="[n.base_url Binary Namespace: NabbleNamespace
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Macro Requires: user
♦ ♦ Binary Namespace: NabbleNamespace
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Macro Requires: user
♦ ♦
</div>
<t>Or you can ignore this email if it is better to keep this user away from that area.</t><br/>
________________________________________<br/>
<t>Free Embeddable <t.app.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.nabble_homepage Binary Namespace: NabbleNamespace
♦ ♦
</html_part>
</n.send>
</n.new_email.>
</override_macro>
|
... | in unauthorized.naml |
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 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
|
<macro name="send_request_email" parameters="explanation" requires="user,node_page" unindent="true">
<n.new_email.>
<n.send>
<to><n.user_email/></to>
<subject><t>User requested authorization to join <t.location.page_node.subject/></t></subject>
<text_part>
<t>Dear <t.name.name/>,</t>
<t><t.name.visitor.name/> requested authorization to join the <t.location.page_node.subject/>:</t>
<n.page_node.url/>
* <t>Explanation from this user:</t>
<n.explanation/>
* <t>User email:</t>
<n.visitor.user_email/>
<t>To accept this request, you should add this user to at least one group that has access to this area:</t>
<n.base_url/><n.visitor.change_user_groups_path/>
<t>Or you can ignore this email if it is better to keep this user away from that area.</t>
________________________________________
<t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble
<n.nabble_homepage/>
</text_part>
<html_part>
<t>Dear <t.name.name/>,</t><br/>
<br/>
<t><t.name.visitor.name/> requested authorization to join the <t.location.page_node.subject/>:</t><br/>
<a href="[n.page_node.url/]"><n.page_node.url/></a><br/>
<br/>
<b><t>Explanation from this user:</t></b><br/>
<n.explanation/><br/>
<br/>
<b><t>User email:</t></b><br/>
<n.visitor.user_email/><br/>
<br/>
<t>To accept this request, you should add this user to at least one group that has access to this area:</t>
<div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
<n.base_url/><n.visitor.change_user_groups_path/>
</div>
<t>Or you can ignore this email if it is better to keep this user away from that area.</t><br/>
________________________________________<br/>
<t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble<br/>
<n.nabble_homepage/><br/><br/>
</html_part>
</n.send>
</n.new_email.>
</macro>
|
Free forum by Nabble | Edit this page |