From 698d12af79dc431184c757bc8654c0d078e416f0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 14 Dec 2018 01:24:26 -0500 Subject: [PATCH] Unescape variables in events and descriptions --- view/templates/admin/contactblock.tpl | 2 +- view/templates/event.tpl | 2 +- view/templates/event_stream_item.tpl | 4 ++-- view/templates/events.tpl | 2 +- view/templates/http_status.tpl | 2 +- view/theme/frio/templates/admin/contactblock.tpl | 2 +- view/theme/frio/templates/event.tpl | 2 +- view/theme/frio/templates/event_stream_item.tpl | 4 ++-- view/theme/quattro/templates/events.tpl | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/view/templates/admin/contactblock.tpl b/view/templates/admin/contactblock.tpl index efdbd44cd..f45493862 100644 --- a/view/templates/admin/contactblock.tpl +++ b/view/templates/admin/contactblock.tpl @@ -10,7 +10,7 @@

{{$title}} - {{$page}}

-

{{$description}}

+

{{$description nofilter}}

diff --git a/view/templates/event.tpl b/view/templates/event.tpl index 495cf2eb1..f1d2bf102 100644 --- a/view/templates/event.tpl +++ b/view/templates/event.tpl @@ -3,7 +3,7 @@
{{if $event.item.author_name}}{{$event.item.author_name}}{{/if}} - {{$event.html}} + {{$event.html nofilter}} {{if $event.item.plink}}{{/if}} {{if $event.edit}}{{/if}} {{if $event.copy}}{{/if}} diff --git a/view/templates/event_stream_item.tpl b/view/templates/event_stream_item.tpl index 373b6d331..3480228c1 100644 --- a/view/templates/event_stream_item.tpl +++ b/view/templates/event_stream_item.tpl @@ -15,7 +15,7 @@ {{/if}} {{if $description}} -
{{$description}}
+
{{$description nofilter}}
{{/if}} {{if $location}} @@ -24,7 +24,7 @@ {{if $location.name}} {{$location.name nofilter}} {{/if}} - {{if $location.map}}{{$location.map}}{{/if}} + {{if $location.map}}{{$location.map nofilter}}{{/if}}
{{/if}} diff --git a/view/templates/events.tpl b/view/templates/events.tpl index 2469c4c71..cae7b3282 100644 --- a/view/templates/events.tpl +++ b/view/templates/events.tpl @@ -16,7 +16,7 @@
{{if $event.is_first}}
{{$event.d}}
{{/if}} {{if $event.item.author_name}}{{$event.item.author_name}}{{/if}} - {{$event.html}} + {{$event.html nofilter}} {{if $event.item.plink}}{{/if}} {{if $event.edit}}{{/if}}
diff --git a/view/templates/http_status.tpl b/view/templates/http_status.tpl index 55cc133ff..6b366d6f0 100644 --- a/view/templates/http_status.tpl +++ b/view/templates/http_status.tpl @@ -4,6 +4,6 @@

{{$title}}

-

{{$description}}

+

{{$description nofilter}}

diff --git a/view/theme/frio/templates/admin/contactblock.tpl b/view/theme/frio/templates/admin/contactblock.tpl index e79ba65c5..7d187aac8 100644 --- a/view/theme/frio/templates/admin/contactblock.tpl +++ b/view/theme/frio/templates/admin/contactblock.tpl @@ -3,7 +3,7 @@

{{$title}} - {{$page}}

-

{{$description}}

+

{{$description nofilter}}

{{* We organize the settings in collapsable panel-groups *}}
diff --git a/view/theme/frio/templates/event.tpl b/view/theme/frio/templates/event.tpl index 947d09cb8..39695819a 100644 --- a/view/theme/frio/templates/event.tpl +++ b/view/theme/frio/templates/event.tpl @@ -10,7 +10,7 @@ {{/if}}
- {{$event.html}} + {{$event.html nofilter}}
diff --git a/view/theme/frio/templates/event_stream_item.tpl b/view/theme/frio/templates/event_stream_item.tpl index 2b59e61c0..330f88cbb 100644 --- a/view/theme/frio/templates/event_stream_item.tpl +++ b/view/theme/frio/templates/event_stream_item.tpl @@ -29,7 +29,7 @@ {{$author_name}}
{{if $location.map}} -
{{$location.map}}
+
{{$location.map nofilter}}
{{/if}}
@@ -41,7 +41,7 @@ {{* The content of the event description *}} {{if $description}}
- {{$description}} + {{$description nofilter}}
{{/if}} diff --git a/view/theme/quattro/templates/events.tpl b/view/theme/quattro/templates/events.tpl index 0428ff8d9..32b2725ba 100644 --- a/view/theme/quattro/templates/events.tpl +++ b/view/theme/quattro/templates/events.tpl @@ -12,7 +12,7 @@
{{if $event.is_first}}
{{$event.d}}
{{/if}} {{if $event.item.author_name}}{{$event.item.author_name}}{{/if}} - {{$event.html}} + {{$event.html nofilter}} {{if $event.item.plink}}{{/if}} {{if $event.edit}}{{/if}}