Mercurial Hosting > nabble
comparison src/nabble/modules/naml/animeron.naml @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 <!-- | |
2 http://forums.animeron.info/ | |
3 Disabled "Remove my account" option | |
4 --> | |
5 | |
6 <override_macro name="message_as_html" requires="message"> | |
7 <n.if.is_deleted> | |
8 <then> | |
9 <b><t>CONTENTS DELETED</t></b> | |
10 <div class="weak-color"><t>The author has deleted this message.</t></div> | |
11 </then> | |
12 <else> | |
13 <n.set_var. name="output"> | |
14 <n.as_html_list.process_message_html /> | |
15 </n.set_var.> | |
16 <n.if.is_imported_mail> | |
17 <then.set_var. name="output"> | |
18 <n.remove_unsubscription_link.var name="output" /> | |
19 </then.set_var.> | |
20 </n.if.is_imported_mail> | |
21 <n.var name="output" /> | |
22 </else> | |
23 </n.if.is_deleted> | |
24 </override_macro> | |
25 | |
26 <!-- Remove option to deactivate account --> | |
27 <override_macro name="profile_options"> | |
28 <n.put_in_head.> | |
29 <style type="text/css"> | |
30 table.profile { | |
31 border-collapse:collapse; | |
32 width:100%; | |
33 margin-top:.5em; | |
34 } | |
35 table.profile td { | |
36 padding:.7em .3em; | |
37 } | |
38 table.profile td.title-row { | |
39 background: transparent; | |
40 padding:.2em .4em; | |
41 border-bottom-width:2px; | |
42 border-bottom-style:solid; | |
43 font-weight:bold; | |
44 } | |
45 </style> | |
46 </n.put_in_head.> | |
47 <table class="profile"> | |
48 <n.profile_table_header.> | |
49 My Settings | |
50 </n.profile_table_header.> | |
51 | |
52 <n.profile_option> | |
53 <link><a href="[n.visitor.edit_profile_path/]">Edit Personal Information</a></link> | |
54 <hint>Change your registered email address, password, and your user name.</hint> | |
55 </n.profile_option> | |
56 | |
57 <n.profile_option> | |
58 <link><a href="[n.visitor.edit_signature_path/]">Edit Your Signature</a></link> | |
59 <hint>Change the signature text that is displayed at the bottom of your posts.</hint> | |
60 </n.profile_option> | |
61 | |
62 <n.profile_option> | |
63 <link><a href="[n.visitor.change_avatar_path/]">Change Your Picture</a></link> | |
64 <hint>Change or remove your avatar image.</hint> | |
65 </n.profile_option> | |
66 | |
67 <n.profile_option> | |
68 <link><a href="[n.visitor.advanced_settings_path/]">Advanced Settings</a></link> | |
69 <hint>Change viewing preferences and your alert settings (when posting a message).</hint> | |
70 </n.profile_option> | |
71 </table> | |
72 </override_macro> |