From 2cc4bd24903546528200e069c01c6a06e186842f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 20 May 2021 08:37:45 -0400 Subject: [PATCH] Add RTL support to many input fields - Compose page - Post jot - Comment form - Event form --- view/templates/comment_item.tpl | 2 +- view/templates/field_input.tpl | 2 +- view/templates/field_select.tpl | 8 ++++---- view/templates/field_textarea.tpl | 2 +- view/templates/field_themeselect.tpl | 2 +- view/templates/item/compose.tpl | 6 +++--- view/templates/jot.tpl | 6 +++--- view/theme/duepuntozero/templates/comment_item.tpl | 2 +- view/theme/frio/templates/comment_item.tpl | 2 +- view/theme/frio/templates/event_form.tpl | 4 ++-- view/theme/frio/templates/jot.tpl | 6 +++--- view/theme/frio/templates/prv_message.tpl | 2 +- view/theme/quattro/templates/comment_item.tpl | 3 ++- view/theme/quattro/templates/jot.tpl | 6 +++--- view/theme/smoothly/templates/jot.tpl | 6 +++--- view/theme/vier/templates/comment_item.tpl | 2 +- view/theme/vier/templates/event_form.tpl | 4 ++-- 17 files changed, 33 insertions(+), 32 deletions(-) diff --git a/view/templates/comment_item.tpl b/view/templates/comment_item.tpl index 02d34c47e..fe8d28a2f 100644 --- a/view/templates/comment_item.tpl +++ b/view/templates/comment_item.tpl @@ -15,7 +15,7 @@ {{$mytitle}}
- + {{if $qcomment}} + {{if $field.3}} {{$field.3 nofilter}} {{/if}} diff --git a/view/templates/field_select.tpl b/view/templates/field_select.tpl index c174078e2..16a796a44 100644 --- a/view/templates/field_select.tpl +++ b/view/templates/field_select.tpl @@ -1,9 +1,9 @@ -
- - {{foreach $field.4 as $opt=>$val}} - + {{/foreach}} {{if $field.3}} diff --git a/view/templates/field_textarea.tpl b/view/templates/field_textarea.tpl index 5f93ca911..edd48d1d0 100644 --- a/view/templates/field_textarea.tpl +++ b/view/templates/field_textarea.tpl @@ -1,7 +1,7 @@
- + {{if $field.3}} {{$field.3 nofilter}} {{/if}} diff --git a/view/templates/field_themeselect.tpl b/view/templates/field_themeselect.tpl index 922797eb2..60676e5d1 100644 --- a/view/templates/field_themeselect.tpl +++ b/view/templates/field_themeselect.tpl @@ -6,7 +6,7 @@ {{if $field.3}} diff --git a/view/templates/item/compose.tpl b/view/templates/item/compose.tpl index 8b7414fd6..df48a1323 100644 --- a/view/templates/item/compose.tpl +++ b/view/templates/item/compose.tpl @@ -8,11 +8,11 @@
- +
{{if $placeholdercategory}}
- +
{{/if}} @@ -44,7 +44,7 @@

- +

diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl index 167e47da5..73d341aae 100644 --- a/view/templates/jot.tpl +++ b/view/templates/jot.tpl @@ -18,13 +18,13 @@ {{if $notes_cid}} {{/if}} -

+
{{if $placeholdercategory}} -
+
{{/if}}
- +
diff --git a/view/theme/duepuntozero/templates/comment_item.tpl b/view/theme/duepuntozero/templates/comment_item.tpl index 1d416fdf1..3afbac126 100644 --- a/view/theme/duepuntozero/templates/comment_item.tpl +++ b/view/theme/duepuntozero/templates/comment_item.tpl @@ -42,7 +42,7 @@ data-role="insert-formatting" data-bbcode="video" data-id="{{$id}}">
- + {{if $qcomment}} +

{{if $qcomment}}

diff --git a/view/theme/frio/templates/event_form.tpl b/view/theme/frio/templates/event_form.tpl index 54dad0047..e1befe6a4 100644 --- a/view/theme/frio/templates/event_form.tpl +++ b/view/theme/frio/templates/event_form.tpl @@ -75,7 +75,7 @@ {{* The textarea for the event description *}}

{{$d_text}}
- +