From 2241ba454026968fffacc4b4c684c7a635ff6d38 Mon Sep 17 00:00:00 2001
From: Hypolite Petovan
Date: Thu, 13 Dec 2018 22:28:12 -0500
Subject: [PATCH 1/9] Remove uses of HTML escaping in Smarty templates
---
view/templates/acl_selector.tpl | 2 +-
view/templates/admin/addon_details.tpl | 2 +-
view/templates/admin/contactblock.tpl | 14 ++--
view/templates/admin/logs.tpl | 4 +-
view/templates/admin/settings_features.tpl | 2 +-
view/templates/admin/site.tpl | 30 +++----
view/templates/admin/tos.tpl | 2 +-
view/templates/admin/users.tpl | 22 ++---
view/templates/album_edit.tpl | 6 +-
view/templates/auto_request.tpl | 10 +--
view/templates/birthdays_reminder.tpl | 4 +-
view/templates/comment_item.tpl | 4 +-
view/templates/confirm.tpl | 6 +-
view/templates/contact_edit.tpl | 2 +-
view/templates/contact_template.tpl | 4 +-
view/templates/contacts-template.tpl | 6 +-
view/templates/crepair.tpl | 2 +-
view/templates/cropbody.tpl | 2 +-
view/templates/delegate.tpl | 2 +-
view/templates/dfrn_req_confirm.tpl | 2 +-
view/templates/dfrn_request.tpl | 10 +--
view/templates/directory_header.tpl | 4 +-
view/templates/event_form.tpl | 4 +-
view/templates/event_stream_item.tpl | 6 +-
view/templates/events_reminder.tpl | 4 +-
view/templates/field_combobox.tpl | 4 +-
view/templates/field_input.tpl | 2 +-
view/templates/field_intcheckbox.tpl | 2 +-
view/templates/field_openid.tpl | 2 +-
view/templates/field_password.tpl | 2 +-
view/templates/field_radio.tpl | 2 +-
view/templates/field_select.tpl | 2 +-
view/templates/field_themeselect.tpl | 2 +-
view/templates/field_yesno.tpl | 2 +-
view/templates/filebrowser.tpl | 2 +-
view/templates/filer_dialog.tpl | 2 +-
view/templates/files.tpl | 2 +-
view/templates/follow.tpl | 2 +-
view/templates/group_edit.tpl | 2 +-
view/templates/head.tpl | 2 +-
view/templates/hovercard.tpl | 16 ++--
view/templates/install_checks.tpl | 6 +-
view/templates/install_db.tpl | 4 +-
view/templates/install_settings.tpl | 12 +--
view/templates/intros.tpl | 8 +-
view/templates/invite.tpl | 2 +-
view/templates/jot.tpl | 28 +++----
view/templates/login.tpl | 10 +--
view/templates/logout.tpl | 2 +-
view/templates/lostpass.tpl | 2 +-
view/templates/moderated_comment.tpl | 12 +--
view/templates/oauth_authorize.tpl | 2 +-
view/templates/peoplefind.tpl | 2 +-
view/templates/photo_album.tpl | 4 +-
view/templates/photo_edit.tpl | 4 +-
view/templates/photo_top.tpl | 6 +-
view/templates/photo_view.tpl | 4 +-
.../photos_default_uploader_submit.tpl | 2 +-
view/templates/poke_content.tpl | 4 +-
view/templates/profile_edit.tpl | 54 ++++++------
view/templates/profile_photo.tpl | 2 +-
view/templates/profile_vcard.tpl | 8 +-
view/templates/prv_message.tpl | 8 +-
view/templates/register.tpl | 10 +--
view/templates/remote_friends_common.tpl | 4 +-
view/templates/removeme.tpl | 2 +-
view/templates/search_item.tpl | 10 +--
view/templates/settings/connectors.tpl | 2 +-
view/templates/settings/display.tpl | 4 +-
view/templates/settings/features.tpl | 2 +-
view/templates/settings/oauth.tpl | 4 +-
view/templates/settings/oauth_edit.tpl | 2 +-
view/templates/settings/settings.tpl | 12 +--
view/templates/suggestions.tpl | 8 +-
view/templates/uimport.tpl | 2 +-
view/templates/vcard-widget.tpl | 10 +--
view/templates/wall/content_filter.tpl | 4 +-
view/templates/wall_thread.tpl | 50 +++++------
view/templates/wallmessage.tpl | 6 +-
view/templates/widget_forumlist.tpl | 8 +-
.../duepuntozero/templates/profile_vcard.tpl | 6 +-
view/theme/frio/templates/acl_selector.tpl | 2 +-
view/theme/frio/templates/admin/addons.tpl | 2 +-
.../frio/templates/admin/contactblock.tpl | 14 ++--
view/theme/frio/templates/admin/queue.tpl | 12 +--
view/theme/frio/templates/admin/site.tpl | 30 +++----
view/theme/frio/templates/admin/summary.tpl | 6 +-
view/theme/frio/templates/admin/users.tpl | 24 +++---
view/theme/frio/templates/album_edit.tpl | 6 +-
view/theme/frio/templates/comment_item.tpl | 14 ++--
view/theme/frio/templates/common_tabs.tpl | 6 +-
view/theme/frio/templates/confirm.tpl | 6 +-
view/theme/frio/templates/contact_edit.tpl | 76 ++++++++---------
.../theme/frio/templates/contact_template.tpl | 42 +++++-----
.../frio/templates/contacts-template.tpl | 4 +-
view/theme/frio/templates/credits.tpl | 4 +-
view/theme/frio/templates/crepair.tpl | 4 +-
.../theme/frio/templates/directory_header.tpl | 2 +-
view/theme/frio/templates/event.tpl | 10 +--
view/theme/frio/templates/event_form.tpl | 30 +++----
.../frio/templates/event_stream_item.tpl | 6 +-
view/theme/frio/templates/events_js.tpl | 8 +-
view/theme/frio/templates/field_input.tpl | 2 +-
.../frio/templates/field_intcheckbox.tpl | 2 +-
view/theme/frio/templates/field_openid.tpl | 2 +-
view/theme/frio/templates/field_password.tpl | 2 +-
view/theme/frio/templates/field_select.tpl | 2 +-
view/theme/frio/templates/field_yesno.tpl | 2 +-
view/theme/frio/templates/filebrowser.tpl | 10 +--
view/theme/frio/templates/follow.tpl | 2 +-
view/theme/frio/templates/group_edit.tpl | 4 +-
view/theme/frio/templates/head.tpl | 2 +-
view/theme/frio/templates/intros.tpl | 20 ++---
view/theme/frio/templates/invite.tpl | 2 +-
view/theme/frio/templates/jot.tpl | 2 +-
view/theme/frio/templates/like_noshare.tpl | 2 +-
view/theme/frio/templates/login.tpl | 10 +--
view/theme/frio/templates/mail_conv.tpl | 4 +-
view/theme/frio/templates/mail_list.tpl | 4 +-
view/theme/frio/templates/nav.tpl | 84 +++++++++----------
view/theme/frio/templates/peoplefind.tpl | 4 +-
view/theme/frio/templates/photo_item.tpl | 2 +-
view/theme/frio/templates/photo_top.tpl | 4 +-
view/theme/frio/templates/photo_view.tpl | 12 +--
.../photos_default_uploader_submit.tpl | 2 +-
view/theme/frio/templates/poke_content.tpl | 4 +-
view/theme/frio/templates/profile_edit.tpl | 12 +--
view/theme/frio/templates/profile_entry.tpl | 2 +-
view/theme/frio/templates/profile_vcard.tpl | 46 +++++-----
view/theme/frio/templates/prv_message.tpl | 18 ++--
view/theme/frio/templates/register.tpl | 10 +--
view/theme/frio/templates/removeme.tpl | 2 +-
view/theme/frio/templates/search_item.tpl | 66 +++++++--------
.../frio/templates/settings/connectors.tpl | 8 +-
.../theme/frio/templates/settings/display.tpl | 8 +-
.../frio/templates/settings/features.tpl | 2 +-
view/theme/frio/templates/settings/oauth.tpl | 4 +-
.../frio/templates/settings/oauth_edit.tpl | 2 +-
.../frio/templates/settings/settings.tpl | 12 +--
view/theme/frio/templates/theme_settings.tpl | 2 +-
view/theme/frio/templates/vcard-widget.tpl | 10 +--
view/theme/frio/templates/wall_thread.tpl | 78 ++++++++---------
.../quattro/templates/contact_template.tpl | 8 +-
view/theme/quattro/templates/event_form.tpl | 4 +-
view/theme/quattro/templates/events.tpl | 2 +-
view/theme/quattro/templates/mail_conv.tpl | 18 ++--
view/theme/quattro/templates/photo_item.tpl | 4 +-
view/theme/quattro/templates/photo_view.tpl | 2 +-
.../theme/quattro/templates/profile_vcard.tpl | 10 +--
view/theme/quattro/templates/search_item.tpl | 36 ++++----
.../theme/quattro/templates/wall_item_tag.tpl | 8 +-
view/theme/quattro/templates/wall_thread.tpl | 18 ++--
.../quattro/templates/widget_forumlist.tpl | 4 +-
view/theme/smoothly/templates/search_item.tpl | 10 +--
view/theme/smoothly/templates/wall_thread.tpl | 16 ++--
view/theme/vier/templates/ch_connectors.tpl | 2 +-
.../vier/templates/ch_directory_item.tpl | 2 +-
view/theme/vier/templates/comment_item.tpl | 16 ++--
view/theme/vier/templates/communityhome.tpl | 6 +-
view/theme/vier/templates/contact_edit.tpl | 2 +-
.../theme/vier/templates/contact_template.tpl | 6 +-
view/theme/vier/templates/event_form.tpl | 4 +-
view/theme/vier/templates/nav.tpl | 48 +++++------
view/theme/vier/templates/photo_item.tpl | 30 +++----
view/theme/vier/templates/photo_view.tpl | 4 +-
view/theme/vier/templates/profile_edit.tpl | 14 ++--
view/theme/vier/templates/profile_vcard.tpl | 8 +-
view/theme/vier/templates/search_item.tpl | 36 ++++----
view/theme/vier/templates/wall_item_tag.tpl | 8 +-
view/theme/vier/templates/wall_thread.tpl | 60 ++++++-------
.../vier/templates/widget_forumlist_right.tpl | 12 +--
171 files changed, 855 insertions(+), 855 deletions(-)
diff --git a/view/templates/acl_selector.tpl b/view/templates/acl_selector.tpl
index 7c68a73064..7df6965a04 100644
--- a/view/templates/acl_selector.tpl
+++ b/view/templates/acl_selector.tpl
@@ -17,7 +17,7 @@
{{if $networks}}
-{{$emailcc}}
+{{$emailcc}}
{{if $jotnets}}
{{$jotnets}}
diff --git a/view/templates/admin/addon_details.tpl b/view/templates/admin/addon_details.tpl
index 96b26d2d09..fb908b7058 100644
--- a/view/templates/admin/addon_details.tpl
+++ b/view/templates/admin/addon_details.tpl
@@ -18,7 +18,7 @@
{{if $screenshot}}
-
+
{{/if}}
{{if $admin_form}}
diff --git a/view/templates/admin/contactblock.tpl b/view/templates/admin/contactblock.tpl
index 3afeb5355c..a77084d197 100644
--- a/view/templates/admin/contactblock.tpl
+++ b/view/templates/admin/contactblock.tpl
@@ -32,19 +32,19 @@
{{foreach $contacts as $contact}}
-
- {{$contact.name|escape}}
- {{$contact.addr|escape}}
- {{$contact.url}}
+
+ {{$contact.name}}
+ {{$contact.addr}}
+ {{$contact.url}}
{{/foreach}}
{{$select_all}} | {{$select_none}}
{{$paginate}}
-
+
{{else}}
- {{$no_data|escape:'html'}}
+ {{$no_data}}
{{/if}}
@@ -58,6 +58,6 @@
-
+
diff --git a/view/templates/admin/logs.tpl b/view/templates/admin/logs.tpl
index b2e6357a9a..a218a38f56 100644
--- a/view/templates/admin/logs.tpl
+++ b/view/templates/admin/logs.tpl
@@ -2,13 +2,13 @@
{{$title}} - {{$page}}
diff --git a/view/templates/admin/settings_features.tpl b/view/templates/admin/settings_features.tpl
index 1ca0708bfc..f0b696fae4 100644
--- a/view/templates/admin/settings_features.tpl
+++ b/view/templates/admin/settings_features.tpl
@@ -17,7 +17,7 @@
{{/foreach}}
-
+
{{/foreach}}
diff --git a/view/templates/admin/site.tpl b/view/templates/admin/site.tpl
index 34b1e3b1b2..dd40654b51 100644
--- a/view/templates/admin/site.tpl
+++ b/view/templates/admin/site.tpl
@@ -39,7 +39,7 @@
});
-
{{$title|escape}} - {{$page|escape}}
+
{{$title}} - {{$page}}
@@ -173,8 +173,8 @@
{{$relocate}}
{{$relocate_warning}}
{{include file="field_input.tpl" field=$relocate_url}}
-
-
+
+
diff --git a/view/templates/admin/tos.tpl b/view/templates/admin/tos.tpl
index 75244924bd..b5260f3614 100644
--- a/view/templates/admin/tos.tpl
+++ b/view/templates/admin/tos.tpl
@@ -6,7 +6,7 @@
{{include file="field_checkbox.tpl" field=$displaytos}}
{{include file="field_checkbox.tpl" field=$displayprivstatement}}
{{include file="field_textarea.tpl" field=$tostext}}
-
+
{{$preview}}
{{for $i=1 to 3}}
diff --git a/view/templates/admin/users.tpl b/view/templates/admin/users.tpl
index f06b0f9734..88feb6136a 100644
--- a/view/templates/admin/users.tpl
+++ b/view/templates/admin/users.tpl
@@ -35,8 +35,8 @@
{{$u.email}}
-
-
+
+
@@ -46,7 +46,7 @@
-
+
{{else}}
{{$no_pending}}
{{/if}}
@@ -79,8 +79,8 @@
{{foreach $users as $u}}
-
- {{$u.name}}
+
+ {{$u.name}}
{{$u.email}}
{{$u.register_date}}
{{$u.login_date}}
@@ -94,8 +94,8 @@
{{/if}}
{{if $u.is_deletable}}
-
-
+
+
{{else}}
{{/if}}
@@ -105,7 +105,7 @@
-
+
{{else}}
NO USERS?!?
{{/if}}
@@ -122,8 +122,8 @@
{{foreach $deleted as $u}}
-
- {{$u.name}}
+
+ {{$u.name}}
{{$u.email}}
{{$u.register_date}}
{{$u.login_date}}
@@ -150,6 +150,6 @@
-
+
diff --git a/view/templates/album_edit.tpl b/view/templates/album_edit.tpl
index 3d1d7573d7..72aedd8b70 100644
--- a/view/templates/album_edit.tpl
+++ b/view/templates/album_edit.tpl
@@ -4,12 +4,12 @@
{{$nametext}}
-
+
-
-
+
+
diff --git a/view/templates/auto_request.tpl b/view/templates/auto_request.tpl
index c7e10482ef..f1cca45464 100644
--- a/view/templates/auto_request.tpl
+++ b/view/templates/auto_request.tpl
@@ -36,12 +36,12 @@
{{$your_address}}
{{if $myaddr}}
{{$myaddr}}
-
+
{{else}}
-
+
{{/if}}
{{if $url}}
-
+
{{/if}}
@@ -53,8 +53,8 @@
{{if $submit}}
-
+
{{/if}}
-
+
diff --git a/view/templates/birthdays_reminder.tpl b/view/templates/birthdays_reminder.tpl
index 9261ff8d32..6aa51d4702 100644
--- a/view/templates/birthdays_reminder.tpl
+++ b/view/templates/birthdays_reminder.tpl
@@ -1,10 +1,10 @@
{{if $count}}
{{$event_reminders}} ({{$count}})
-{{$event_title|escape}}
+
{{$event_title}}
{{foreach $events as $event}}
-
+
{{/foreach}}
{{/if}}
diff --git a/view/templates/comment_item.tpl b/view/templates/comment_item.tpl
index 63ec5d728b..6ad01b991b 100644
--- a/view/templates/comment_item.tpl
+++ b/view/templates/comment_item.tpl
@@ -22,14 +22,14 @@
{{/if}}
diff --git a/view/templates/confirm.tpl b/view/templates/confirm.tpl
index a365678184..496724e3d9 100644
--- a/view/templates/confirm.tpl
+++ b/view/templates/confirm.tpl
@@ -4,11 +4,11 @@
{{$message}}
{{foreach $extra_inputs as $input}}
-
+
{{/foreach}}
-
-
+
+
diff --git a/view/templates/contact_edit.tpl b/view/templates/contact_edit.tpl
index 590af0205d..19a1c73504 100644
--- a/view/templates/contact_edit.tpl
+++ b/view/templates/contact_edit.tpl
@@ -100,7 +100,7 @@
{{/if}}
-
+
{{/if}}
diff --git a/view/templates/contact_template.tpl b/view/templates/contact_template.tpl
index 6845c62562..06918533ca 100644
--- a/view/templates/contact_template.tpl
+++ b/view/templates/contact_template.tpl
@@ -5,7 +5,7 @@
onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}}); openMenu('contact-photo-menu-button-{{$contact.id}}')"
onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); closeMenu(\'contact-photo-menu-{{$contact.id}}\');',200)" >
-
+
{{if $multiselect}}
@@ -31,7 +31,7 @@
- {{$contact.name|escape}}
+ {{$contact.name}}
{{if $contact.account_type}} ({{$contact.account_type}}) {{/if}}
{{if $contact.alt_text}}
{{$contact.alt_text}}
{{/if}}
diff --git a/view/templates/contacts-template.tpl b/view/templates/contacts-template.tpl
index d85fcfb5af..c8c81dbb5e 100644
--- a/view/templates/contacts-template.tpl
+++ b/view/templates/contacts-template.tpl
@@ -6,8 +6,8 @@
@@ -21,7 +21,7 @@
{{foreach $batch_actions as $n=>$l}}
-
+
{{/foreach}}
diff --git a/view/templates/crepair.tpl b/view/templates/crepair.tpl
index 72528bd261..0eab89110c 100644
--- a/view/templates/crepair.tpl
+++ b/view/templates/crepair.tpl
@@ -43,6 +43,6 @@
{{include file="field_select.tpl" field=$remote_self}}
{{/if}}
-
+
diff --git a/view/templates/cropbody.tpl b/view/templates/cropbody.tpl
index 144277310e..dc5e43096c 100644
--- a/view/templates/cropbody.tpl
+++ b/view/templates/cropbody.tpl
@@ -48,7 +48,7 @@
-
+
diff --git a/view/templates/delegate.tpl b/view/templates/delegate.tpl
index 0cb6e7e3ec..b2a78fe093 100644
--- a/view/templates/delegate.tpl
+++ b/view/templates/delegate.tpl
@@ -8,7 +8,7 @@
{{include file="field_select.tpl" field=$parent_user}}
{{include file="field_password.tpl" field=$parent_password}}
-
+
{{/if}}
diff --git a/view/templates/dfrn_req_confirm.tpl b/view/templates/dfrn_req_confirm.tpl
index d49b5bbf2d..accfd4f83f 100644
--- a/view/templates/dfrn_req_confirm.tpl
+++ b/view/templates/dfrn_req_confirm.tpl
@@ -17,6 +17,6 @@
-
+
\ No newline at end of file
diff --git a/view/templates/dfrn_request.tpl b/view/templates/dfrn_request.tpl
index 8e686c33dc..ca35ae6747 100644
--- a/view/templates/dfrn_request.tpl
+++ b/view/templates/dfrn_request.tpl
@@ -35,12 +35,12 @@
{{$your_address}}
{{if $myaddr}}
{{$myaddr}}
-
+
{{else}}
-
+
{{/if}}
{{if $url}}
-
+
{{/if}}
@@ -83,8 +83,8 @@
{{if $submit}}
-
+
{{/if}}
-
+
diff --git a/view/templates/directory_header.tpl b/view/templates/directory_header.tpl
index 46f17de40e..8c05b30c60 100644
--- a/view/templates/directory_header.tpl
+++ b/view/templates/directory_header.tpl
@@ -11,8 +11,8 @@
diff --git a/view/templates/event_form.tpl b/view/templates/event_form.tpl
index de8de44e88..3676ba458a 100644
--- a/view/templates/event_form.tpl
+++ b/view/templates/event_form.tpl
@@ -39,7 +39,7 @@
{{$acl}}
-
-
+
+
diff --git a/view/templates/event_stream_item.tpl b/view/templates/event_stream_item.tpl
index af9a554942..15975c5d51 100644
--- a/view/templates/event_stream_item.tpl
+++ b/view/templates/event_stream_item.tpl
@@ -1,16 +1,16 @@
-
{{$title|escape}}
+
{{$title}}
{{$dtstart_label}}
- {{$dtstart_dt}}
+ {{$dtstart_dt}}
{{if $finish}}
{{$dtend_label}}
- {{$dtend_dt}}
+ {{$dtend_dt}}
{{/if}}
diff --git a/view/templates/events_reminder.tpl b/view/templates/events_reminder.tpl
index 08278954c3..2fcb1908d7 100644
--- a/view/templates/events_reminder.tpl
+++ b/view/templates/events_reminder.tpl
@@ -1,10 +1,10 @@
{{if $count}}
{{$event_reminders}} ({{$count}})
-
{{$event_title|escape}}
+
{{$event_title}}
{{foreach $events as $event}}
-
- {{$event.date}}
+
- {{$event.date}}
{{/foreach}}
{{/if}}
diff --git a/view/templates/field_combobox.tpl b/view/templates/field_combobox.tpl
index 876e607cdf..9edc4aeff6 100644
--- a/view/templates/field_combobox.tpl
+++ b/view/templates/field_combobox.tpl
@@ -4,13 +4,13 @@
{{* html5 don't work on Chrome, Safari and IE9
- {{foreach $field.4 as $opt=>$val}}{{/foreach}}
+ {{foreach $field.4 as $opt=>$val}} {{/foreach}}
*}}
{{$field.5}}
- {{foreach $field.4 as $opt=>$val}}{{$val}} {{/foreach}}
+ {{foreach $field.4 as $opt=>$val}}{{$val}} {{/foreach}}
{{if $field.3}}
diff --git a/view/templates/field_input.tpl b/view/templates/field_input.tpl
index 850656bb8c..f3f32d8068 100644
--- a/view/templates/field_input.tpl
+++ b/view/templates/field_input.tpl
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/view/templates/photo_top.tpl b/view/templates/photo_top.tpl
index 0dd8c4e996..902f742327 100644
--- a/view/templates/photo_top.tpl
+++ b/view/templates/photo_top.tpl
@@ -1,7 +1,7 @@
diff --git a/view/templates/photo_view.tpl b/view/templates/photo_view.tpl
index 8fa3de61d2..885e929013 100644
--- a/view/templates/photo_view.tpl
+++ b/view/templates/photo_view.tpl
@@ -12,10 +12,10 @@
{{if $prevlink}}
{{/if}}
-
+
{{if $nextlink}}
{{/if}}
-
{{$desc}}
+
{{$desc nofilter}}
{{if $tags}}
{{$tags.0}}
{{$tags.1}}
diff --git a/view/templates/photos_default_uploader_submit.tpl b/view/templates/photos_default_uploader_submit.tpl
index 91444e2d55..e178e977a7 100644
--- a/view/templates/photos_default_uploader_submit.tpl
+++ b/view/templates/photos_default_uploader_submit.tpl
@@ -1,4 +1,4 @@
-
+
diff --git a/view/templates/poke_content.tpl b/view/templates/poke_content.tpl
index 18191de03f..56fbde6442 100644
--- a/view/templates/poke_content.tpl
+++ b/view/templates/poke_content.tpl
@@ -9,7 +9,7 @@
@@ -28,7 +28,7 @@
-
+
diff --git a/view/templates/profile_edit.tpl b/view/templates/profile_edit.tpl
index 2363bd3f06..1e1771ef43 100644
--- a/view/templates/profile_edit.tpl
+++ b/view/templates/profile_edit.tpl
@@ -5,11 +5,11 @@
@@ -25,19 +25,19 @@
{{include file="field_yesno.tpl" field=$details}}
{{$name.1}}
-
+
{{$pdesc.1}}
-
+
@@ -63,20 +63,20 @@
{{$address.1}}
-
+
{{$locality.1}}
-
+
{{$postal_code.1}}
-
+
@@ -100,7 +100,7 @@
{{$hometown.1}}
-
+
@@ -116,7 +116,7 @@
{{$with.1}}
{{$howlong.1}}
-
+
@@ -130,38 +130,38 @@
{{$homepage.1}}
-
+
{{$xmpp.1}}
-
+
{{$xmpp.3}}
{{$politic.1}}
-
+
{{$religion.1}}
-
+
{{$pub_keywords.1}}
-
+
{{$pub_keywords.3}}
{{$prv_keywords.1}}
-
+
{{$prv_keywords.3}}
@@ -330,13 +330,13 @@
{{/if}}
{{$name.1}}
-
+
@@ -355,13 +355,13 @@
{{$homepage.1}}
-
+
{{$xmpp.1}}
-
+
{{$xmpp.3}}
@@ -370,20 +370,20 @@
{{$address.1}}
-
+
{{$locality.1}}
-
+
{{$postal_code.1}}
-
+
@@ -407,13 +407,13 @@
{{$pub_keywords.1}}
-
+
{{$pub_keywords.3}}
{{$prv_keywords.1}}
-
+
{{$prv_keywords.3}}
diff --git a/view/templates/profile_photo.tpl b/view/templates/profile_photo.tpl
index 1695d01e27..d0ae4f87dc 100644
--- a/view/templates/profile_photo.tpl
+++ b/view/templates/profile_photo.tpl
@@ -17,7 +17,7 @@
-
+
diff --git a/view/templates/profile_vcard.tpl b/view/templates/profile_vcard.tpl
index 14e1a03736..b56dd607ce 100644
--- a/view/templates/profile_vcard.tpl
+++ b/view/templates/profile_vcard.tpl
@@ -1,16 +1,16 @@
-
{{$profile.name|escape}}
+
{{$profile.name}}
- {{if $profile.addr}}
{{$profile.addr|escape}}
{{/if}}
+ {{if $profile.addr}}
{{$profile.addr}}
{{/if}}
{{if $profile.pdesc}}
{{$profile.pdesc}}
{{/if}}
{{if $profile.picdate}}
-
+
{{else}}
-
+
{{/if}}
{{if $account_type}}
{{$account_type}}
{{/if}}
{{if $profile.network_name}}
{{$network}} {{$profile.network_name}} {{/if}}
diff --git a/view/templates/prv_message.tpl b/view/templates/prv_message.tpl
index 654671af0e..d419d4d9b3 100644
--- a/view/templates/prv_message.tpl
+++ b/view/templates/prv_message.tpl
@@ -18,15 +18,15 @@
diff --git a/view/templates/register.tpl b/view/templates/register.tpl
index 2e5588ae71..30b2429836 100644
--- a/view/templates/register.tpl
+++ b/view/templates/register.tpl
@@ -16,7 +16,7 @@
{{if $oidlabel}}
- {{$oidlabel}}
+ {{$oidlabel}}
{{/if}}
@@ -35,14 +35,14 @@
{{$namelabel}}
-
+
{{$addrlabel}}
-
+
@@ -55,7 +55,7 @@
@@ -76,7 +76,7 @@
{{/if}}
-
+
diff --git a/view/templates/remote_friends_common.tpl b/view/templates/remote_friends_common.tpl
index f5f43360a7..354c8e46a2 100644
--- a/view/templates/remote_friends_common.tpl
+++ b/view/templates/remote_friends_common.tpl
@@ -6,12 +6,12 @@
diff --git a/view/templates/removeme.tpl b/view/templates/removeme.tpl
index 4acfb9ff1a..4148f94e5f 100644
--- a/view/templates/removeme.tpl
+++ b/view/templates/removeme.tpl
@@ -14,7 +14,7 @@
-
+
diff --git a/view/templates/search_item.tpl b/view/templates/search_item.tpl
index a97574b7b4..fbcf770f1b 100644
--- a/view/templates/search_item.tpl
+++ b/view/templates/search_item.tpl
@@ -6,8 +6,8 @@
-
{{$item.title|escape}}
+
{{$item.title}}
{{$item.body}}
{{if $item.has_cats}}
@@ -54,7 +54,7 @@
diff --git a/view/templates/settings/connectors.tpl b/view/templates/settings/connectors.tpl
index a237917682..9dd5d0b1ab 100644
--- a/view/templates/settings/connectors.tpl
+++ b/view/templates/settings/connectors.tpl
@@ -48,7 +48,7 @@
{{include file="field_input.tpl" field=$mail_movetofolder}}
-
+
{{/if}}
diff --git a/view/templates/settings/display.tpl b/view/templates/settings/display.tpl
index e1a0123804..951609e1bf 100644
--- a/view/templates/settings/display.tpl
+++ b/view/templates/settings/display.tpl
@@ -21,12 +21,12 @@
{{include file="field_checkbox.tpl" field=$infinite_scroll}}
{{include file="field_checkbox.tpl" field=$bandwidth_saver}}
{{include file="field_checkbox.tpl" field=$smart_threading}}
-{{$calendar_title|escape}}
+{{$calendar_title}}
{{include file="field_select.tpl" field=$first_day_of_week}}
-
+
{{if $theme_config}}
diff --git a/view/templates/settings/features.tpl b/view/templates/settings/features.tpl
index eb3f67f813..2793e477b1 100644
--- a/view/templates/settings/features.tpl
+++ b/view/templates/settings/features.tpl
@@ -13,7 +13,7 @@
{{include file="field_yesno.tpl" field=$fcat}}
{{/foreach}}
-
+
{{/foreach}}
diff --git a/view/templates/settings/oauth.tpl b/view/templates/settings/oauth.tpl
index 164930ecba..edb0ff63ec 100644
--- a/view/templates/settings/oauth.tpl
+++ b/view/templates/settings/oauth.tpl
@@ -23,8 +23,8 @@
{{/if}}
{{/if}}
{{if $app.my}}
-
-
+
+
{{/if}}
{{/foreach}}
diff --git a/view/templates/settings/oauth_edit.tpl b/view/templates/settings/oauth_edit.tpl
index 9019981542..eed9f6ea33 100644
--- a/view/templates/settings/oauth_edit.tpl
+++ b/view/templates/settings/oauth_edit.tpl
@@ -11,7 +11,7 @@
{{include file="field_input.tpl" field=$icon}}
-
+
diff --git a/view/templates/settings/settings.tpl b/view/templates/settings/settings.tpl
index d017367fef..2fa22973e0 100644
--- a/view/templates/settings/settings.tpl
+++ b/view/templates/settings/settings.tpl
@@ -16,7 +16,7 @@
{{/if}}
-
+
@@ -33,7 +33,7 @@
-
+
@@ -103,7 +103,7 @@
-
+
@@ -187,7 +187,7 @@
-
+
@@ -199,7 +199,7 @@
{{$pagetype}}
-
+
@@ -208,7 +208,7 @@
{{$relocate_text}}
-
+
diff --git a/view/templates/suggestions.tpl b/view/templates/suggestions.tpl
index edc0dbdba3..44fe865104 100644
--- a/view/templates/suggestions.tpl
+++ b/view/templates/suggestions.tpl
@@ -5,18 +5,18 @@
{{$str_notifytype}} {{$notify_type}}
{{if $madeby}}{{$lbl_madeby}} {{$madeby}}
{{/if}}
{{$fullname}}
-
+
{{$note}}
diff --git a/view/templates/uimport.tpl b/view/templates/uimport.tpl
index 0aca00a05f..05c79ab757 100644
--- a/view/templates/uimport.tpl
+++ b/view/templates/uimport.tpl
@@ -8,7 +8,7 @@
-
+
diff --git a/view/templates/vcard-widget.tpl b/view/templates/vcard-widget.tpl
index eed94193f5..47b64b68da 100644
--- a/view/templates/vcard-widget.tpl
+++ b/view/templates/vcard-widget.tpl
@@ -1,14 +1,14 @@
-
{{$name|escape}}
- {{if $addr}}
{{$addr|escape}}
{{/if}}
+
{{$name}}
+ {{if $addr}}
{{$addr}}
{{/if}}
{{if $pdesc}}
{{$pdesc}}
{{/if}}
{{if $url}}
-
+
{{else}}
-
+
{{/if}}
- {{if $account_type}}
{{$account_type|escape}}
{{/if}}
+ {{if $account_type}}
{{$account_type}}
{{/if}}
{{if $network_name}}
{{$network}} {{$network_name}} {{/if}}
diff --git a/view/templates/wall/content_filter.tpl b/view/templates/wall/content_filter.tpl
index 1e2b99c226..37e5a8a4c8 100644
--- a/view/templates/wall/content_filter.tpl
+++ b/view/templates/wall/content_filter.tpl
@@ -1,7 +1,7 @@
{{if count($reasons) > 1}}
{{foreach $reasons as $reason}}
- {{$reason|escape:html}}
+ {{$reason}}
{{/foreach}}
@@ -11,7 +11,7 @@
{{else}}
- {{$reasons.0|escape:html}}
+ {{$reasons.0}}
{{$openclose}}
diff --git a/view/templates/wall_thread.tpl b/view/templates/wall_thread.tpl
index 6f54d024da..73aad3d9aa 100644
--- a/view/templates/wall_thread.tpl
+++ b/view/templates/wall_thread.tpl
@@ -18,16 +18,16 @@
{{if $item.owner_url}}
-
+
{{/if}}
-
-
+
+
- {{if $item.lock}}
+ {{if $item.lock}}
{{else}}
{{/if}}
{{$item.location}}
-
{{$item.title|escape}}
+
{{$item.title}}
{{$item.body}}
@@ -59,12 +59,12 @@
{{/if}}
{{if $item.has_cats}}
-
diff --git a/view/templates/wallmessage.tpl b/view/templates/wallmessage.tpl
index e6a6be908f..579ee0a31e 100644
--- a/view/templates/wallmessage.tpl
+++ b/view/templates/wallmessage.tpl
@@ -13,7 +13,7 @@
{{$recipname}}
{{$subject}}
-
+
{{$yourmessage}}
@@ -22,10 +22,10 @@
diff --git a/view/templates/widget_forumlist.tpl b/view/templates/widget_forumlist.tpl
index da30967cd6..32da71f816 100644
--- a/view/templates/widget_forumlist.tpl
+++ b/view/templates/widget_forumlist.tpl
@@ -21,8 +21,8 @@ function showHideForumlist() {
{{if $forum.id <= $visible_forums}}
-
-
+
+
{{$forum.name}}
@@ -31,8 +31,8 @@ function showHideForumlist() {
{{if $forum.id > $visible_forums}}
-
-
+
+
{{$forum.name}}
diff --git a/view/theme/duepuntozero/templates/profile_vcard.tpl b/view/theme/duepuntozero/templates/profile_vcard.tpl
index 31afc71fea..186b7e4490 100644
--- a/view/theme/duepuntozero/templates/profile_vcard.tpl
+++ b/view/theme/duepuntozero/templates/profile_vcard.tpl
@@ -1,12 +1,12 @@
-
{{$profile.name|escape}}
+
{{$profile.name}}
- {{if $profile.addr}}
{{$profile.addr|escape}}
{{/if}}
+ {{if $profile.addr}}
{{$profile.addr}}
{{/if}}
{{if $profile.pdesc}}
{{$profile.pdesc}}
{{/if}}
-
+
{{if $account_type}}
{{$account_type}}
{{/if}}
diff --git a/view/theme/frio/templates/acl_selector.tpl b/view/theme/frio/templates/acl_selector.tpl
index 9ccd5326c1..4e9eabd3b5 100644
--- a/view/theme/frio/templates/acl_selector.tpl
+++ b/view/theme/frio/templates/acl_selector.tpl
@@ -20,7 +20,7 @@
{{$emailcc}}
-
+
diff --git a/view/theme/frio/templates/admin/addons.tpl b/view/theme/frio/templates/admin/addons.tpl
index 38efb62bd4..220abdc2c4 100644
--- a/view/theme/frio/templates/admin/addons.tpl
+++ b/view/theme/frio/templates/admin/addons.tpl
@@ -12,7 +12,7 @@
- {{$p.2.name|escape}} - {{$p.2.version}}
+ {{$p.2.name}} - {{$p.2.version}}
{{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}}
{{$p.2.description}}
diff --git a/view/theme/frio/templates/admin/contactblock.tpl b/view/theme/frio/templates/admin/contactblock.tpl
index 3ac9a25173..4b3a2ae4bb 100644
--- a/view/theme/frio/templates/admin/contactblock.tpl
+++ b/view/theme/frio/templates/admin/contactblock.tpl
@@ -24,7 +24,7 @@
{{include file="field_input.tpl" field=$contacturl}}
- {{$submit|escape:'html'}}
+ {{$submit}}
@@ -67,9 +67,9 @@
-
-
{{$contact.name|escape}}
-
{{$contact.url|escape}}
+
+
{{$contact.name}}
+
{{$contact.url}}
{{/foreach}}
@@ -78,14 +78,14 @@
{{* Checkbox to select all blocked contacts *}}
-
+
{{$total_contacts}}
- {{$unblock|escape:'html'}}
+ {{$unblock}}
@@ -96,7 +96,7 @@
{{$paginate}}
{{else}}
-
{{$no_data|escape:'html'}}
+
{{$no_data}}
{{/if}}
diff --git a/view/theme/frio/templates/admin/queue.tpl b/view/theme/frio/templates/admin/queue.tpl
index 3ebe89052e..dde3863999 100644
--- a/view/theme/frio/templates/admin/queue.tpl
+++ b/view/theme/frio/templates/admin/queue.tpl
@@ -13,12 +13,12 @@
{{foreach $entries as $e}}
- {{$e.id|escape}}
- {{$e.name|escape}}
- {{$e.nurl|escape}}
- {{$e.network|escape}}
- {{$e.created|escape}}
- {{$e.last|escape}}
+ {{$e.id}}
+ {{$e.name}}
+ {{$e.nurl}}
+ {{$e.network}}
+ {{$e.created}}
+ {{$e.last}}
{{/foreach}}
diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl
index 77ae1d532b..7228b9022b 100644
--- a/view/theme/frio/templates/admin/site.tpl
+++ b/view/theme/frio/templates/admin/site.tpl
@@ -54,7 +54,7 @@
-
{{$title|escape}} - {{$page}}
+ {{$title}} - {{$page}}
@@ -114,7 +114,7 @@
{{include file="field_checkbox.tpl" field=$no_openid}}
{{include file="field_checkbox.tpl" field=$no_regfullname}}
@@ -139,7 +139,7 @@
{{include file="field_input.tpl" field=$maximagelength}}
{{include file="field_input.tpl" field=$jpegimagequality}}
@@ -182,7 +182,7 @@
{{include file="field_checkbox.tpl" field=$dfrn_only}}
{{include file="field_input.tpl" field=$global_directory}}
{{include file="field_checkbox.tpl" field=$newuser_private}}
{{include file="field_checkbox.tpl" field=$enotify_no_content}}
@@ -192,7 +192,7 @@
{{include file="field_checkbox.tpl" field=$explicit_content}}
@@ -226,7 +226,7 @@
{{include file="field_checkbox.tpl" field=$nodeinfo}}
{{include file="field_select.tpl" field=$check_new_version_url}}
@@ -251,7 +251,7 @@
{{include file="field_select.tpl" field=$poco_discovery_since}}
{{include file="field_checkbox.tpl" field=$poco_local_search}}
@@ -280,7 +280,7 @@
{{include file="field_input.tpl" field=$dbclean_unclaimed}}
{{include file="field_input.tpl" field=$dbclean_expire_conv}}
@@ -293,7 +293,7 @@
@@ -306,7 +306,7 @@
{{include file="field_checkbox.tpl" field=$worker_fastlane}}
{{include file="field_checkbox.tpl" field=$worker_frontend}}
@@ -319,7 +319,7 @@
@@ -332,7 +332,7 @@
{{include file="field_input.tpl" field=$relay_server_tags}}
{{include file="field_checkbox.tpl" field=$relay_user_tags}}
@@ -359,10 +359,10 @@
diff --git a/view/theme/frio/templates/admin/summary.tpl b/view/theme/frio/templates/admin/summary.tpl
index 564a660791..388c281f58 100644
--- a/view/theme/frio/templates/admin/summary.tpl
+++ b/view/theme/frio/templates/admin/summary.tpl
@@ -54,14 +54,14 @@
{{* The Friendica version. *}}
-
{{$version.0|escape}}
-
{{$platform}} '{{$codename|escape}}' {{$version.1|escape}} - {{$build|escape}}
+
{{$version.0}}
+
{{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}
{{* Server Settings. *}}
-
{{$serversettings.label|escape}}
+
{{$serversettings.label}}
diff --git a/view/theme/frio/templates/admin/users.tpl b/view/theme/frio/templates/admin/users.tpl
index 031ffd0a47..92ef9be6fa 100644
--- a/view/theme/frio/templates/admin/users.tpl
+++ b/view/theme/frio/templates/admin/users.tpl
@@ -46,11 +46,11 @@
{{$u.created}}
- {{$u.name|escape}}
+ {{$u.name}}
{{$u.email}}
-
-
+
+
{{if $u.note}}
@@ -145,8 +145,8 @@
{{/if}}
-
- {{$u.name|escape}}
+
+ {{$u.name}}
{{$u.email}}
{{if $order_users == $th_users.2.1}}
{{$u.register_date}}
@@ -169,18 +169,18 @@
{{if $u.page_flags_raw==3}}fa-heart{{/if}} {{* PAGE_FREELOVE *}}
{{if $u.page_flags_raw==4}}fa-rss{{/if}} {{* PAGE_BLOG *}}
{{if $u.page_flags_raw==5}}fa-user-secret{{/if}} {{* PAGE_PRVGROUP *}}
- " title="{{$u.page_flags|escape}}">
+ " title="{{$u.page_flags}}">
{{if $u.page_flags_raw==0 && $u.account_type_raw > 0}}
{{/if}}
- {{if $u.is_admin}} {{/if}}
- {{if $u.account_expired}} {{/if}}
+ {{if $u.is_admin}} {{/if}}
+ {{if $u.account_expired}} {{/if}}
{{/if}}
@@ -229,7 +229,7 @@
{{/if}}
-
+
{{else}}
@@ -297,8 +297,8 @@
{{foreach $deleted as $u}}
-
- {{$u.name|escape}}
+
+ {{$u.name}}
{{$u.email}}
{{$u.deleted}}
diff --git a/view/theme/frio/templates/album_edit.tpl b/view/theme/frio/templates/album_edit.tpl
index f4a60b7d03..0b58d520d8 100644
--- a/view/theme/frio/templates/album_edit.tpl
+++ b/view/theme/frio/templates/album_edit.tpl
@@ -2,12 +2,12 @@
diff --git a/view/theme/frio/templates/comment_item.tpl b/view/theme/frio/templates/comment_item.tpl
index 804d07ac01..4ef5f2caa1 100644
--- a/view/theme/frio/templates/comment_item.tpl
+++ b/view/theme/frio/templates/comment_item.tpl
@@ -33,37 +33,37 @@
{{/if}}
{{$select_all}} | {{$select_none}}
- {{$paginate}}
+ {{$paginate nofilter}}
{{else}}
{{$no_data}}
diff --git a/view/templates/admin/tos.tpl b/view/templates/admin/tos.tpl
index b5260f3614..d4e1bcb48e 100644
--- a/view/templates/admin/tos.tpl
+++ b/view/templates/admin/tos.tpl
@@ -10,7 +10,7 @@
{{$preview}}
{{for $i=1 to 3}}
-
{{$privtext[$i]}}
+
{{$privtext[$i] nofilter}}
{{/for}}
diff --git a/view/templates/apps.tpl b/view/templates/apps.tpl
index 1efd6fdcba..55303b3d74 100644
--- a/view/templates/apps.tpl
+++ b/view/templates/apps.tpl
@@ -3,6 +3,6 @@
{{foreach $apps as $ap}}
- {{$ap}}
+ {{$ap nofilter}}
{{/foreach}}
diff --git a/view/templates/auto_request.tpl b/view/templates/auto_request.tpl
index f1cca45464..ffc7b19d09 100644
--- a/view/templates/auto_request.tpl
+++ b/view/templates/auto_request.tpl
@@ -13,7 +13,7 @@
{{$invite_desc}}
-{{$desc}}
+{{$desc nofilter}}
{{/if}}
@@ -30,7 +30,7 @@
{{if $url}}
{{$url_label}} {{$url}} {{/if}}
{{if $location}}
{{$location_label}} {{$location}} {{/if}}
{{if $keywords}}
{{$keywords_label}} {{$keywords}} {{/if}}
-{{if $about}}
{{$about_label}} {{$about}} {{/if}}
+{{if $about}}
{{$about_label}} {{$about nofilter}} {{/if}}
{{$your_address}}
diff --git a/view/templates/categories_widget.tpl b/view/templates/categories_widget.tpl
index d2cfbe82a9..e3cf0fc32c 100644
--- a/view/templates/categories_widget.tpl
+++ b/view/templates/categories_widget.tpl
@@ -1,7 +1,7 @@
diff --git a/view/templates/field_richtext.tpl b/view/templates/field_richtext.tpl
index bc346ddb0b..a121b81f87 100644
--- a/view/templates/field_richtext.tpl
+++ b/view/templates/field_richtext.tpl
@@ -4,6 +4,6 @@
{{$field.1}}
{{if $field.3}}
- {{$field.3}}
+ {{$field.3 nofilter}}
{{/if}}
diff --git a/view/templates/field_select.tpl b/view/templates/field_select.tpl
index 6d0603167c..2016a0bb7e 100644
--- a/view/templates/field_select.tpl
+++ b/view/templates/field_select.tpl
@@ -6,6 +6,6 @@
{{foreach $field.4 as $opt=>$val}}
{{$val}} {{/foreach}}
{{if $field.3}}
-
{{$field.3}}
+
{{$field.3 nofilter}}
{{/if}}
diff --git a/view/templates/field_select_raw.tpl b/view/templates/field_select_raw.tpl
index 147c028eff..1f4630e995 100644
--- a/view/templates/field_select_raw.tpl
+++ b/view/templates/field_select_raw.tpl
@@ -3,9 +3,9 @@
{{$field.1}}
- {{$field.4}}
+ {{$field.4 nofilter}}
{{if $field.3}}
- {{$field.3}}
+ {{$field.3 nofilter}}
{{/if}}
diff --git a/view/templates/field_textarea.tpl b/view/templates/field_textarea.tpl
index 60594a2666..7c84851764 100644
--- a/view/templates/field_textarea.tpl
+++ b/view/templates/field_textarea.tpl
@@ -4,6 +4,6 @@
{{$field.1}}
{{if $field.3}}
- {{$field.3}}
+ {{$field.3 nofilter}}
{{/if}}
diff --git a/view/templates/field_themeselect.tpl b/view/templates/field_themeselect.tpl
index 936f25382d..6242cc6711 100644
--- a/view/templates/field_themeselect.tpl
+++ b/view/templates/field_themeselect.tpl
@@ -6,7 +6,7 @@
{{foreach $field.4 as $opt=>$val}}{{$val}} {{/foreach}}
{{if $field.3}}
- {{$field.3}}
+ {{$field.3 nofilter}}
{{/if}}
{{if $field.5}}
{{/if}}
diff --git a/view/templates/field_yesno.tpl b/view/templates/field_yesno.tpl
index 2a028d10c8..d268709000 100644
--- a/view/templates/field_yesno.tpl
+++ b/view/templates/field_yesno.tpl
@@ -11,6 +11,6 @@
{{if $field.3}}
- {{$field.3}}
+ {{$field.3 nofilter}}
{{/if}}
diff --git a/view/templates/fileas_widget.tpl b/view/templates/fileas_widget.tpl
index 1ba459bd3a..a55c90bc93 100644
--- a/view/templates/fileas_widget.tpl
+++ b/view/templates/fileas_widget.tpl
@@ -1,7 +1,7 @@
diff --git a/view/templates/intros.tpl b/view/templates/intros.tpl
index fc9d0b3b30..ece13ccb64 100644
--- a/view/templates/intros.tpl
+++ b/view/templates/intros.tpl
@@ -8,7 +8,7 @@
{{if $location}}
{{$lbl_location}} {{$location}} {{/if}}
{{if $gender}}
{{$lbl_gender}} {{$gender}} {{/if}}
{{if $keywords}}
{{$lbl_keywords}} {{$keywords}} {{/if}}
-{{if $about}}
{{$lbl_about}} {{$about}} {{/if}}
+{{if $about}}
{{$lbl_about}} {{$about nofilter}} {{/if}}
{{$lbl_knowyou}} {{$knowyou}}
{{$note}}
diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl
index 0c450598a4..31b985e232 100644
--- a/view/templates/jot.tpl
+++ b/view/templates/jot.tpl
@@ -24,7 +24,7 @@
{{/if}}
-
+
diff --git a/view/templates/lostpass.tpl b/view/templates/lostpass.tpl
index e285860820..3c4f422197 100644
--- a/view/templates/lostpass.tpl
+++ b/view/templates/lostpass.tpl
@@ -2,7 +2,7 @@
{{$title}}
-{{$desc}}
+{{$desc nofilter}}
-{{$paginate}}
+{{$paginate nofilter}}
diff --git a/view/templates/photos_upload.tpl b/view/templates/photos_upload.tpl
index aeb6e5957b..a594660fdc 100644
--- a/view/templates/photos_upload.tpl
+++ b/view/templates/photos_upload.tpl
@@ -34,7 +34,7 @@
- {{$aclselect}}
+ {{$aclselect nofilter}}
diff --git a/view/templates/poke_content.tpl b/view/templates/poke_content.tpl
index 56fbde6442..91aadcdd8c 100644
--- a/view/templates/poke_content.tpl
+++ b/view/templates/poke_content.tpl
@@ -1,7 +1,7 @@
{{$title}}
-
{{$desc}}
+
{{$desc nofilter}}
diff --git a/view/templates/profile-hide-wall.tpl b/view/templates/profile-hide-wall.tpl
index e61c4dd963..ff106fa29f 100644
--- a/view/templates/profile-hide-wall.tpl
+++ b/view/templates/profile-hide-wall.tpl
@@ -1,6 +1,6 @@
-{{$desc}}
+{{$desc nofilter}}
diff --git a/view/templates/profile-in-directory.tpl b/view/templates/profile-in-directory.tpl
index 942c2e3e89..bfc13e85eb 100644
--- a/view/templates/profile-in-directory.tpl
+++ b/view/templates/profile-in-directory.tpl
@@ -1,6 +1,6 @@
-{{$desc}}
+{{$desc nofilter}}
diff --git a/view/templates/profile-in-netdir.tpl b/view/templates/profile-in-netdir.tpl
index 559caed342..c91601bce8 100644
--- a/view/templates/profile-in-netdir.tpl
+++ b/view/templates/profile-in-netdir.tpl
@@ -1,6 +1,6 @@
-{{$desc}}
+{{$desc nofilter}}
diff --git a/view/templates/profile_advanced.tpl b/view/templates/profile_advanced.tpl
index 19d4490eaf..f3411b0f18 100644
--- a/view/templates/profile_advanced.tpl
+++ b/view/templates/profile_advanced.tpl
@@ -58,7 +58,7 @@
{{if $profile.homepage}}
{{$profile.homepage.0}}
- {{$profile.homepage.1}}
+ {{$profile.homepage.1 nofilter}}
{{/if}}
diff --git a/view/templates/profile_edit.tpl b/view/templates/profile_edit.tpl
index 1e1771ef43..08e833f10a 100644
--- a/view/templates/profile_edit.tpl
+++ b/view/templates/profile_edit.tpl
@@ -1,5 +1,5 @@
-{{$default}}
+{{$default nofilter}}
{{$banner}}
@@ -44,16 +44,16 @@
{{$lbl_gender}}
-{{$gender}}
+{{$gender nofilter}}
-{{$dob}}
+{{$dob nofilter}}
-{{$hide_friends}}
+{{$hide_friends nofilter}}
@@ -110,8 +110,8 @@
-{{$lbl_marital}}
-{{$marital}}
+{{$lbl_marital nofilter}}
+{{$marital nofilter}}
{{$with.1}}
@@ -122,7 +122,7 @@
{{$lbl_sexual}}
-{{$sexual}}
+{{$sexual nofilter}}
@@ -343,12 +343,12 @@
{{if $personal_account}}
{{$lbl_gender}}
-{{$gender}}
+{{$gender nofilter}}
-{{$dob}}
+{{$dob nofilter}}
{{/if}}
@@ -366,7 +366,7 @@
-{{$hide_friends}}
+{{$hide_friends nofilter}}
{{$address.1}}
diff --git a/view/templates/profile_vcard.tpl b/view/templates/profile_vcard.tpl
index b56dd607ce..f10a21ca6c 100644
--- a/view/templates/profile_vcard.tpl
+++ b/view/templates/profile_vcard.tpl
@@ -13,7 +13,7 @@
{{/if}}
{{if $account_type}}
{{$account_type}}
{{/if}}
- {{if $profile.network_name}}
{{$network}} {{$profile.network_name}} {{/if}}
+ {{if $profile.network_name}}
{{$network}} {{$profile.network_name nofilter}} {{/if}}
{{if $location}}
{{$location}}
@@ -47,7 +47,7 @@
{{if $homepage}}{{$homepage}} {{$profile.homepage}} {{/if}}
- {{if $about}}{{$about}} {{$profile.about}} {{/if}}
+ {{if $about}}{{$about}} {{$profile.about nofilter}} {{/if}}
{{include file="diaspora_vcard.tpl"}}
@@ -70,6 +70,6 @@
-{{$contact_block}}
+{{$contact_block nofilter}}
diff --git a/view/templates/prv_message.tpl b/view/templates/prv_message.tpl
index d419d4d9b3..f3500e8896 100644
--- a/view/templates/prv_message.tpl
+++ b/view/templates/prv_message.tpl
@@ -5,7 +5,7 @@
diff --git a/view/theme/frio/templates/field_yesno.tpl b/view/theme/frio/templates/field_yesno.tpl
index 945914fcef..1b9ab61655 100644
--- a/view/theme/frio/templates/field_yesno.tpl
+++ b/view/theme/frio/templates/field_yesno.tpl
@@ -15,7 +15,7 @@
{{if $field.3}}
-
{{$field.3}}
+
{{$field.3 nofilter}}
{{/if}}
diff --git a/view/theme/frio/templates/fileas_widget.tpl b/view/theme/frio/templates/fileas_widget.tpl
index a4645841f1..b7d867e82a 100644
--- a/view/theme/frio/templates/fileas_widget.tpl
+++ b/view/theme/frio/templates/fileas_widget.tpl
@@ -1,7 +1,7 @@
diff --git a/view/theme/frio/templates/photo_album.tpl b/view/theme/frio/templates/photo_album.tpl
index 235b9c46db..a34e8ea861 100644
--- a/view/theme/frio/templates/photo_album.tpl
+++ b/view/theme/frio/templates/photo_album.tpl
@@ -37,7 +37,7 @@
- {{$paginate}}
+ {{$paginate nofilter}}
diff --git a/view/theme/frio/templates/photo_view.tpl b/view/theme/frio/templates/photo_view.tpl
index 7dc2db901e..1d39b16eef 100644
--- a/view/theme/frio/templates/photo_view.tpl
+++ b/view/theme/frio/templates/photo_view.tpl
@@ -47,7 +47,7 @@
{{* The photo description *}}
- {{$desc}}
+ {{$desc nofilter}}
{{* Tags and mentions *}}
{{if $tags}}
@@ -85,5 +85,5 @@
{{$comments}}
- {{$paginate}}
+ {{$paginate nofilter}}
diff --git a/view/theme/frio/templates/photos_upload.tpl b/view/theme/frio/templates/photos_upload.tpl
index f02246c5c7..ae596d8bd3 100644
--- a/view/theme/frio/templates/photos_upload.tpl
+++ b/view/theme/frio/templates/photos_upload.tpl
@@ -63,7 +63,7 @@
{{$permissions}}
- {{$aclselect}}
+ {{$aclselect nofilter}}
diff --git a/view/theme/frio/templates/poke_content.tpl b/view/theme/frio/templates/poke_content.tpl
index f68b053b5a..b015c4447f 100644
--- a/view/theme/frio/templates/poke_content.tpl
+++ b/view/theme/frio/templates/poke_content.tpl
@@ -2,7 +2,7 @@
{{$title}}
-
{{$desc}}
+
{{$desc nofilter}}
diff --git a/view/theme/frio/templates/profile_advanced.tpl b/view/theme/frio/templates/profile_advanced.tpl
index 256a4138a4..2e3590c416 100644
--- a/view/theme/frio/templates/profile_advanced.tpl
+++ b/view/theme/frio/templates/profile_advanced.tpl
@@ -82,7 +82,7 @@
{{$profile.homepage.0}}
-
{{$profile.homepage.1}}
+
{{$profile.homepage.1 nofilter}}
{{/if}}
diff --git a/view/theme/frio/templates/profile_edit.tpl b/view/theme/frio/templates/profile_edit.tpl
index 63b1c90164..946443cf11 100644
--- a/view/theme/frio/templates/profile_edit.tpl
+++ b/view/theme/frio/templates/profile_edit.tpl
@@ -65,7 +65,7 @@
{{* Some hints to characteristics of the current profile (if available) *}}
{{if $is_default}}
- {{$default}}
+ {{$default nofilter}}
{{/if}}
{{* friendica differs in $detailled_profile (all fields available and a short Version if this is variable false *}}
@@ -91,16 +91,15 @@
{{include file="field_input.tpl" field=$pdesc}}
-
{{$lbl_gender}}
- {{$gender}}
+ {{$gender nofilter}}
- {{$dob}}
+ {{$dob nofilter}}
- {{$hide_friends}}
+ {{$hide_friends nofilter}}
diff --git a/view/theme/quattro/templates/conversation.tpl b/view/theme/quattro/templates/conversation.tpl
index 9e19fdfe13..ce89d579ea 100644
--- a/view/theme/quattro/templates/conversation.tpl
+++ b/view/theme/quattro/templates/conversation.tpl
@@ -1,4 +1,4 @@
-{{$live_update}}
+{{$live_update nofilter}}
{{foreach $threads as $thread}}
diff --git a/view/theme/quattro/templates/event_form.tpl b/view/theme/quattro/templates/event_form.tpl
index 0b6540ffac..ff36282f2e 100644
--- a/view/theme/quattro/templates/event_form.tpl
+++ b/view/theme/quattro/templates/event_form.tpl
@@ -1,7 +1,7 @@
{{$title}}
-
{{$desc}}
+
{{$desc nofilter}}
diff --git a/view/theme/quattro/templates/events-js.tpl b/view/theme/quattro/templates/events-js.tpl
index ec8aa586cc..bfe446f9fd 100644
--- a/view/theme/quattro/templates/events-js.tpl
+++ b/view/theme/quattro/templates/events-js.tpl
@@ -1,5 +1,5 @@
-{{$tabs}}
+{{$tabs nofilter}}
diff --git a/view/theme/quattro/templates/events.tpl b/view/theme/quattro/templates/events.tpl
index 0495b983cf..0428ff8d90 100644
--- a/view/theme/quattro/templates/events.tpl
+++ b/view/theme/quattro/templates/events.tpl
@@ -1,4 +1,4 @@
-{{$tabs}}
+{{$tabs nofilter}}
diff --git a/view/theme/quattro/templates/fileas_widget.tpl b/view/theme/quattro/templates/fileas_widget.tpl
index 23d001d462..7946e8f833 100644
--- a/view/theme/quattro/templates/fileas_widget.tpl
+++ b/view/theme/quattro/templates/fileas_widget.tpl
@@ -1,6 +1,6 @@
@@ -80,8 +80,8 @@
-
{{$item.like}}
-
{{$item.dislike}}
+
{{$item.like nofilter}}
+
{{$item.dislike nofilter}}
{{if $item.conv}}
{{$item.conv.title}}
diff --git a/view/theme/quattro/templates/threaded_conversation.tpl b/view/theme/quattro/templates/threaded_conversation.tpl
index a257a29043..0d90db1860 100644
--- a/view/theme/quattro/templates/threaded_conversation.tpl
+++ b/view/theme/quattro/templates/threaded_conversation.tpl
@@ -1,4 +1,4 @@
-{{$live_update}}
+{{$live_update nofilter}}
{{foreach $threads as $thread}}
diff --git a/view/theme/quattro/templates/wall_item_tag.tpl b/view/theme/quattro/templates/wall_item_tag.tpl
index efcb528881..d9dbd1ae2e 100644
--- a/view/theme/quattro/templates/wall_item_tag.tpl
+++ b/view/theme/quattro/templates/wall_item_tag.tpl
@@ -37,7 +37,7 @@
{{$item.location}}
- {{$item.ago}} {{$item.body}}
+ {{$item.ago}} {{$item.body nofilter}}
-
{{$item.body}}
{{if $item.title}}
{{/if}}
+
{{$item.body nofilter}}
@@ -162,7 +162,7 @@
{{/if}}{{/if}}{{/if}}
@@ -187,10 +187,10 @@
{{* top thread comment box *}}
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-
+
{{/if}}{{/if}}{{/if}}
{{if $item.flatten}}
-
+
{{/if}}
diff --git a/view/theme/smoothly/templates/follow.tpl b/view/theme/smoothly/templates/follow.tpl
index 1d110da8ab..4d5248530e 100644
--- a/view/theme/smoothly/templates/follow.tpl
+++ b/view/theme/smoothly/templates/follow.tpl
@@ -1,7 +1,7 @@
-{{$paginate}}
+{{$paginate nofilter}}
diff --git a/view/theme/vier/templates/profile_advanced.tpl b/view/theme/vier/templates/profile_advanced.tpl
index 702fba8f26..6787ffb406 100644
--- a/view/theme/vier/templates/profile_advanced.tpl
+++ b/view/theme/vier/templates/profile_advanced.tpl
@@ -63,7 +63,7 @@
{{if $profile.homepage}}
{{$profile.homepage.0}}
- {{$profile.homepage.1}}
+ {{$profile.homepage.1 nofilter}}
{{/if}}
diff --git a/view/theme/vier/templates/profile_edit.tpl b/view/theme/vier/templates/profile_edit.tpl
index fbd08e4be0..066b2566f6 100644
--- a/view/theme/vier/templates/profile_edit.tpl
+++ b/view/theme/vier/templates/profile_edit.tpl
@@ -23,7 +23,7 @@
-{{$default}}
+{{$default nofilter}}
@@ -83,7 +83,7 @@
{{$lbl_gender}}
- {{$gender}}
+ {{$gender nofilter}}
@@ -107,11 +107,11 @@
- {{$dob}}
+ {{$dob nofilter}}
- {{$hide_friends}}
+ {{$hide_friends nofilter}}
{{$about.1}}
@@ -200,7 +200,7 @@
{{$lbl_sexual}}
- {{$sexual}}
+ {{$sexual nofilter}}
@@ -242,8 +242,8 @@
- {{$lbl_marital}}
- {{$marital}}
+ {{$lbl_marital nofilter}}
+ {{$marital nofilter}}
{{$with.1}}
@@ -339,12 +339,12 @@
{{if $personal_account}}
{{$lbl_gender}}
-{{$gender}}
+{{$gender nofilter}}
-{{$dob}}
+{{$dob nofilter}}
{{/if}}
@@ -362,7 +362,7 @@
-{{$hide_friends}}
+{{$hide_friends nofilter}}
{{$address.1}}
diff --git a/view/theme/vier/templates/profile_vcard.tpl b/view/theme/vier/templates/profile_vcard.tpl
index dfa341b260..2acca2fd09 100644
--- a/view/theme/vier/templates/profile_vcard.tpl
+++ b/view/theme/vier/templates/profile_vcard.tpl
@@ -24,7 +24,7 @@
{{/if}}
{{if $account_type}}
{{$account_type}}
{{/if}}
- {{if $profile.network_name}}
{{$network}} {{$profile.network_name}} {{/if}}
+ {{if $profile.network_name}}
{{$network}} {{$profile.network_name nofilter}} {{/if}}
{{if $location}}
{{$location}}
@@ -58,7 +58,7 @@
{{if $homepage}}{{$homepage}} {{$profile.homepage}} {{/if}}
- {{if $about}}{{$about}} {{$profile.about}} {{/if}}
+ {{if $about}}{{$about}} {{$profile.about nofilter}} {{/if}}
{{include file="diaspora_vcard.tpl"}}
@@ -81,4 +81,4 @@
-{{$contact_block}}
+{{$contact_block nofilter}}
diff --git a/view/theme/vier/templates/search_item.tpl b/view/theme/vier/templates/search_item.tpl
index c1383ba434..3cc945b3f5 100644
--- a/view/theme/vier/templates/search_item.tpl
+++ b/view/theme/vier/templates/search_item.tpl
@@ -30,7 +30,7 @@
{{if $item.title}}
{{/if}}
-
{{$item.body}}
+
{{$item.body nofilter}}
@@ -87,7 +87,7 @@
-
{{$item.like}}
-
{{$item.dislike}}
+
{{$item.like nofilter}}
+
{{$item.dislike nofilter}}
diff --git a/view/theme/vier/templates/threaded_conversation.tpl b/view/theme/vier/templates/threaded_conversation.tpl
index 3553a5dcbc..885a508fa9 100644
--- a/view/theme/vier/templates/threaded_conversation.tpl
+++ b/view/theme/vier/templates/threaded_conversation.tpl
@@ -1,4 +1,4 @@
-{{$live_update}}
+{{$live_update nofilter}}
{{foreach $threads as $thread}}
diff --git a/view/theme/vier/templates/wall_item_tag.tpl b/view/theme/vier/templates/wall_item_tag.tpl
index be6b143b9f..463d5e6e9a 100644
--- a/view/theme/vier/templates/wall_item_tag.tpl
+++ b/view/theme/vier/templates/wall_item_tag.tpl
@@ -37,7 +37,7 @@
{{$item.location}}
- {{$item.ago}} {{$item.body}}
+ {{$item.ago}} {{$item.body nofilter}}
{{if $item.drop.pagedrop}}
@@ -59,9 +59,9 @@
{{* top thread comment box *}}
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-
+
{{/if}}{{/if}}{{/if}}
{{if $item.flatten}}
-
+
{{/if}}
diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl
index bcef48c62e..fe95bf9be0 100644
--- a/view/theme/vier/templates/wall_thread.tpl
+++ b/view/theme/vier/templates/wall_thread.tpl
@@ -65,8 +65,8 @@
-
{{$item.body}}
{{if $item.title}}
{{/if}}
+
{{$item.body nofilter}}
{{/if}}{{/if}}
@@ -195,18 +195,18 @@
{{if $item.total_comments_num}}
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-
+
{{/if}}{{/if}}{{/if}}
{{if $item.flatten}}
-
+
{{/if}}
{{else}}
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-
+
{{/if}}{{/if}}{{/if}}
{{if $item.flatten}}
-
+
{{/if}}
{{/if}}
From 698d12af79dc431184c757bc8654c0d078e416f0 Mon Sep 17 00:00:00 2001
From: Hypolite Petovan
Date: Fri, 14 Dec 2018 01:24:26 -0500
Subject: [PATCH 5/9] 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 efdbd44cd0..f454938627 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 495cf2eb18..f1d2bf102b 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 373b6d3314..3480228c10 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 2469c4c718..cae7b32822 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 55cc133ff0..6b366d6f04 100644
--- a/view/templates/http_status.tpl
+++ b/view/templates/http_status.tpl
@@ -4,6 +4,6 @@
{{$title}}
- {{$description}}
+ {{$description nofilter}}