OpenDataSicilia
| NAML
alpha
|
view_standard
›
view_standard_page
›
app_html
›
app_body_header
›
node_message_as_html
›
node_message_as_html
›
message_as_html
›
base_regexp
base_regexp
message_as_html
Requires message
♦
♦
js_google_analytics
base_regexp
NAML documentation
Watch a video
Save Changes
Cancel
Edit this macro
Remove macro
Usages of this macro
You must login as an administrator of OpenDataSicilia.
If you are not the administrator, you can
create your own Nabble app
and customize its NAML code!
Email
Example: johnsmith@domain.com
Password
Forgot your password?
<override_macro name="message_as_html" requires="message"> <n.if.either condition1="[n.is_deleted/]" condition2="[n.is_deactivated/]"> <then> <b><t>CONTENTS DELETED</t></b> <div class="weak-color"><t>The author has deleted this message.</t></div> </then> <else> <n.set_var. name="output"> <n.as_html_list.process_message_html /> </n.set_var.> <n.if.is_imported_mail> <then.set_var. name="output"> <n.remove_unsubscription_link.var name="output" /> </then.set_var.> </n.if.is_imported_mail> <n.regex_replace_all text="[n.var name='output'/]" pattern="[n.base_regexp/]" replacement=""/> </else> </n.if.either> </override_macro> <macro name="base_regexp"> <![CDATA[<base\s+target="_self"[^>]+>]]> </macro>
↓
Overrides administrator change
...
in
message_as_html.naml
21
22
23
<macro name="base_regexp">
<![CDATA[<base\s+target="_self"[^>]+>]]>
</macro>
Free forum by Nabble
Edit this page