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 7c68a7306..7df6965a0 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 96b26d2d0..fb908b705 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 3afeb5355..a77084d19 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 b2e6357a9..a218a38f5 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 1ca0708bf..f0b696fae 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 34b1e3b1b..dd40654b5 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 75244924b..b5260f361 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 f06b0f973..88feb6136 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 3d1d7573d..72aedd8b7 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 c7e10482e..f1cca4546 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 9261ff8d3..6aa51d470 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 63ec5d728..6ad01b991 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 a36567818..496724e3d 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 590af0205..19a1c7350 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 6845c6256..06918533c 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 d85fcfb5a..c8c81dbb5 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 72528bd26..0eab89110 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 144277310..dc5e43096 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 0cb6e7e3e..b2a78fe09 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 d49b5bbf2..accfd4f83 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 8e686c33d..ca35ae674 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 46f17de40..8c05b30c6 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 de8de44e8..3676ba458 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 af9a55494..15975c5d5 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 08278954c..2fcb1908d 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 876e607cd..9edc4aeff 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 850656bb8..f3f32d806 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 0dd8c4e99..902f74232 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 8fa3de61d..885e92901 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 91444e2d5..e178e977a 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 18191de03..56fbde644 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 2363bd3f0..1e1771ef4 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 1695d01e2..d0ae4f87d 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 14e1a0373..b56dd607c 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 654671af0..d419d4d9b 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 2e5588ae7..30b242983 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 f5f43360a..354c8e46a 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 4acfb9ff1..4148f94e5 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 a97574b7b..fbcf770f1 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 a23791768..9dd5d0b1a 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 e1a012380..951609e1b 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 eb3f67f81..2793e477b 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 164930ecb..edb0ff63e 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 901998154..eed9f6ea3 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 d017367fe..2fa22973e 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 edc0dbdba..44fe86510 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 0aca00a05..05c79ab75 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 eed94193f..47b64b68d 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 1e2b99c22..37e5a8a4c 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 6f54d024d..73aad3d9a 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 e6a6be908..579ee0a31 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 da30967cd..32da71f81 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 31afc71fe..186b7e449 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 9ccd5326c..4e9eabd3b 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 38efb62bd..220abdc2c 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 3ac9a2517..4b3a2ae4b 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 3ebe89052..dde386399 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 77ae1d532..7228b9022 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 564a66079..388c281f5 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 031ffd0a4..92ef9be6f 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 f4a60b7d0..0b58d520d 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 804d07ac0..4ef5f2caa 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 b5260f361..d4e1bcb48 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 1efd6fdcb..55303b3d7 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 f1cca4546..ffc7b19d0 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 d2cfbe82a..e3cf0fc32 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 bc346ddb0..a121b81f8 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 6d0603167..2016a0bb7 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 147c028ef..1f4630e99 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 60594a266..7c8485176 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 936f25382..6242cc671 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 2a028d10c..d26870900 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 1ba459bd3..a55c90bc9 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 fc9d0b3b3..ece13ccb6 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 0c450598a..31b985e23 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 e28586082..3c4f42219 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 aeb6e5957..a594660fd 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 56fbde644..91aadcdd8 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 e61c4dd96..ff106fa29 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 942c2e3e8..bfc13e85e 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 559caed34..c91601bce 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 19d4490ea..f3411b0f1 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 1e1771ef4..08e833f10 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 b56dd607c..f10a21ca6 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 d419d4d9b..f3500e889 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 945914fce..1b9ab6165 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 a4645841f..b7d867e82 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 235b9c46d..a34e8ea86 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 7dc2db901..1d39b16ee 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 f02246c5c..ae596d8bd 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 f68b053b5..b015c4447 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 256a4138a..2e3590c41 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 63b1c9016..946443cf1 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 9e19fdfe1..ce89d579e 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 0b6540ffa..ff36282f2 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 ec8aa586c..bfe446f9f 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 0495b983c..0428ff8d9 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 23d001d46..7946e8f83 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 a257a2904..0d90db186 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 efcb52888..d9dbd1ae2 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 1d110da8a..4d5248530 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 702fba8f2..6787ffb40 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 fbd08e4be..066b2566f 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 dfa341b26..2acca2fd0 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 c1383ba43..3cc945b3f 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 3553a5dcb..885a508fa 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 be6b143b9..463d5e6e9 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 bcef48c62..fe95bf9be 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 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}}