0
|
1 <macro name="delete_app" requires="servlet">
|
|
2 <n.node_page.>
|
|
3 <n.if.not.visitor.can_delete_recursively.page_node>
|
|
4 <then>
|
|
5 <n.login.><t>Only authorized users can proceed in this area.</t></n.login.>
|
|
6 </then>
|
|
7 </n.if.not.visitor.can_delete_recursively.page_node>
|
|
8 <n.if.is_submitted_form>
|
|
9 <then>
|
|
10 <n.page_node.delete_node_recursively_and_redirect/>
|
|
11 </then>
|
|
12 </n.if.is_submitted_form>
|
|
13 <n.html>
|
|
14 <head>
|
|
15 <META NAME="robots" CONTENT="noindex,nofollow"/>
|
|
16 <n.title.><t>Delete Application</t> - <n.page_node.subject/></n.title.>
|
|
17 </head>
|
|
18 <body>
|
|
19 <n.edit_header first_text="[t]Delete Application[/t]" second_text="[n.page_node.subject/]"/>
|
|
20
|
|
21 <n.form.>
|
|
22 <n.if.page_node.is_a_mailing_list_archive>
|
|
23 <then><n.mailing_list_unsubscription_notice/></then>
|
|
24 </n.if.page_node.is_a_mailing_list_archive>
|
|
25
|
|
26 <div class="second-font field-title" style="margin-bottom:.6em">
|
|
27 <t>Do you really want to permanently <n.important.>delete</n.important.> <t.location><i><n.page_node.subject/></i></t.location>?</t>
|
|
28 </div>
|
|
29 <div class="weak-color" style="margin-bottom:1em">
|
|
30 <t><n.important.>CAUTION</n.important.>: Everything under <t.location.page_node.subject/> will be deleted forever!</t>
|
|
31 <ul>
|
|
32 <li><t>This includes subcategories, posts, images, files and everything else.</t></li>
|
|
33 <li><t>It will NOT be possible to restore deleted items later.</t></li>
|
|
34 </ul>
|
|
35 </div>
|
|
36
|
|
37 <div style="margin-top:1.4em">
|
|
38 <input type="submit" class="toolbar action-button" value="[t]Yes, delete [t.location.page_node.subject/] forever[/t]"/>
|
|
39 <t>or</t> <a href="[n.page_node.path/]"><t>Cancel</t></a>
|
|
40 </div>
|
|
41 </n.form.>
|
|
42 </body>
|
|
43 </n.html>
|
|
44 </n.node_page.>
|
|
45 </macro>
|
|
46
|
|
47 <macro name="mailing_list_unsubscription_notice" requires="node_page">
|
|
48 <table style="margin:1em 0 .3em">
|
|
49 <tr>
|
|
50 <td><img src="/images/icon_alert_sm.png" align="absmiddle" height="16" width="16" alt="Important note"/></td>
|
|
51 <td class="second-font" style="font-weight:bold;font-size:110%;"><t>Before deleting this archive...</t></td>
|
|
52 </tr>
|
|
53 </table>
|
|
54 <div class="weak-color" style="margin-bottom:1em">
|
|
55 <t>Since this application is a mailing list archive, please unsubscribe the email address below before clicking on the delete button.</t>
|
|
56 <div style="padding:1em">
|
|
57 <span class="info-message rounded bold" style="padding:.4em .3em">
|
|
58 <n.page_node.get_this_mailing_list_archive.subscriber_address/>
|
|
59 </span>
|
|
60 </div>
|
|
61 <t>We have prepared a page with <n.unsubscription_instructions_link.>some instructions on how to unsubscribe this archive</n.unsubscription_instructions_link.>.</t><br/>
|
|
62 <t>If you have already removed the subscription, then you can proceed with the deletion.</t>
|
|
63 </div>
|
|
64 </macro>
|
|
65
|
|
66 <macro name="unsubscription_instructions_link" dot_parameter="text" requires="node_page">
|
|
67 <a href="[n.page_node.unsubscription_instructions_path/]"><n.text/></a>
|
|
68 </macro> |