From 6075245b840a28e8c2d8976ddd624e59d3d2a81f Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 25 Nov 2018 20:34:02 +0000 Subject: [PATCH] Much more escapes --- view/templates/admin/site.tpl | 6 +++--- view/templates/birthdays_reminder.tpl | 4 ++-- view/templates/event_stream_item.tpl | 6 +++--- view/templates/events_reminder.tpl | 4 ++-- view/templates/files.tpl | 4 ++-- view/templates/photo_album.tpl | 4 ++-- view/templates/photo_top.tpl | 8 +++----- view/templates/photo_view.tpl | 2 +- view/templates/search_item.tpl | 8 ++++---- view/templates/settings/display.tpl | 2 +- view/templates/wall_thread.tpl | 2 +- view/theme/frio/templates/admin/site.tpl | 6 +++--- view/theme/frio/templates/photo_top.tpl | 2 +- view/theme/frio/templates/photo_view.tpl | 10 +++++----- view/theme/frio/templates/search_item.tpl | 4 ++-- view/theme/frio/templates/settings/display.tpl | 2 +- view/theme/frio/templates/theme_settings.tpl | 2 +- view/theme/frio/templates/wall_thread.tpl | 2 +- view/theme/quattro/templates/photo_item.tpl | 4 ++-- view/theme/quattro/templates/photo_view.tpl | 2 +- view/theme/quattro/templates/search_item.tpl | 4 ++-- view/theme/quattro/templates/wall_thread.tpl | 12 ++++++------ view/theme/smoothly/templates/search_item.tpl | 8 ++++---- view/theme/smoothly/templates/wall_thread.tpl | 10 +++++----- view/theme/vier/templates/communityhome.tpl | 6 +++--- view/theme/vier/templates/wall_thread.tpl | 4 ++-- 26 files changed, 63 insertions(+), 65 deletions(-) diff --git a/view/templates/admin/site.tpl b/view/templates/admin/site.tpl index bf1d215ec8..34b1e3b1b2 100644 --- a/view/templates/admin/site.tpl +++ b/view/templates/admin/site.tpl @@ -39,7 +39,7 @@ });
-

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

+

{{$title|escape}} - {{$page|escape}}

@@ -145,7 +145,7 @@ {{include file="field_input.tpl" field=$dbclean_expire_conv}}
-

{{$worker_title}}

+

{{$worker_title|escape}}

{{include file="field_input.tpl" field=$maxloadavg}} {{include file="field_input.tpl" field=$min_memory}} {{include file="field_input.tpl" field=$worker_queues}} @@ -155,7 +155,7 @@
-

{{$relay_title}}

+

{{$relay_title|escape}}

{{include file="field_checkbox.tpl" field=$relay_subscribe}} {{include file="field_input.tpl" field=$relay_server}} {{include file="field_checkbox.tpl" field=$relay_directly}} diff --git a/view/templates/birthdays_reminder.tpl b/view/templates/birthdays_reminder.tpl index 6aa51d4702..9261ff8d32 100644 --- a/view/templates/birthdays_reminder.tpl +++ b/view/templates/birthdays_reminder.tpl @@ -1,10 +1,10 @@ {{if $count}} -