From 6d0f6d94cbad9149bd5ca8c887b4222216f8cc43 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 19 May 2021 18:05:56 -0400 Subject: [PATCH] Add RTL support for post titles and photo captions --- view/templates/photo_album.tpl | 2 +- view/templates/search_item.tpl | 6 +++--- view/templates/wall_thread.tpl | 2 +- view/theme/frio/templates/search_item.tpl | 4 ++-- view/theme/frio/templates/wall_thread.tpl | 2 +- view/theme/quattro/templates/photo_item.tpl | 4 ++-- view/theme/quattro/templates/search_item.tpl | 6 +++--- view/theme/quattro/templates/wall_thread.tpl | 2 +- view/theme/smoothly/templates/search_item.tpl | 4 ++-- view/theme/smoothly/templates/wall_thread.tpl | 2 +- view/theme/vier/templates/photo_item.tpl | 5 ++--- view/theme/vier/templates/search_item.tpl | 7 +++---- view/theme/vier/templates/wall_thread.tpl | 2 +- 13 files changed, 23 insertions(+), 25 deletions(-) diff --git a/view/templates/photo_album.tpl b/view/templates/photo_album.tpl index 653284701d..58c7f30ed1 100644 --- a/view/templates/photo_album.tpl +++ b/view/templates/photo_album.tpl @@ -15,7 +15,7 @@
{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}} -

{{$photo.desc}}

+

{{$photo.desc}}

diff --git a/view/templates/search_item.tpl b/view/templates/search_item.tpl index 43333c7bd4..c6938e29e2 100644 --- a/view/templates/search_item.tpl +++ b/view/templates/search_item.tpl @@ -32,7 +32,7 @@
-
{{$item.title}}
+
{{$item.title}}
{{$item.body_html nofilter}}
{{if $item.has_cats}} @@ -56,9 +56,9 @@
-
+
{{if $item.conv}} - {{$item.conv.title}} + {{$item.conv.title}} {{/if}}
diff --git a/view/templates/wall_thread.tpl b/view/templates/wall_thread.tpl index f468bae5b6..c7da59a0de 100644 --- a/view/templates/wall_thread.tpl +++ b/view/templates/wall_thread.tpl @@ -56,7 +56,7 @@
{{$item.pinned}}
-
{{$item.title}}
+
{{$item.title}}
{{$item.body_html nofilter}} diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index 7dfdc11cf8..344e73f1d9 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -97,7 +97,7 @@ {{* item content *}}
{{if $item.title}} -

{{$item.title}}


+

{{$item.title}}


{{/if}}
{{$item.body_html nofilter}}
@@ -278,7 +278,7 @@
{{/if}} -
+
{{if $item.conv}} {{$item.conv.title}} {{/if}} diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index de46a12ac7..e91b1b99f8 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -243,7 +243,7 @@ as the value of $top_child_total (this is done at the end of this file) {{* item content *}}
{{if $item.title}} -

{{$item.title}}


+

{{$item.title}}


{{/if}}
{{$item.body_html nofilter}}
diff --git a/view/theme/quattro/templates/photo_item.tpl b/view/theme/quattro/templates/photo_item.tpl index ee64f5eda5..97cffbb12c 100644 --- a/view/theme/quattro/templates/photo_item.tpl +++ b/view/theme/quattro/templates/photo_item.tpl @@ -68,8 +68,8 @@
{{$dislike nofilter}}
{{if $conv}} - diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl index 928c36e145..903138874a 100644 --- a/view/theme/quattro/templates/search_item.tpl +++ b/view/theme/quattro/templates/search_item.tpl @@ -26,7 +26,7 @@
{{$item.location_html nofilter}}
- {{if $item.title}}

{{$item.title}}

{{/if}} + {{if $item.title}}

{{$item.title}}

{{/if}}
{{$item.body_html nofilter}}
@@ -89,8 +89,8 @@
{{$item.dislike_html nofilter}}
{{if $item.conv}} - diff --git a/view/theme/quattro/templates/wall_thread.tpl b/view/theme/quattro/templates/wall_thread.tpl index 8d3faf431f..3eab3f5690 100644 --- a/view/theme/quattro/templates/wall_thread.tpl +++ b/view/theme/quattro/templates/wall_thread.tpl @@ -53,7 +53,7 @@
{{$item.location_html nofilter}}
- {{if $item.title}}

{{$item.title}}

{{/if}} + {{if $item.title}}

{{$item.title}}

{{/if}}
{{$item.body_html nofilter}}
diff --git a/view/theme/smoothly/templates/search_item.tpl b/view/theme/smoothly/templates/search_item.tpl index be174b9695..7675c2db17 100644 --- a/view/theme/smoothly/templates/search_item.tpl +++ b/view/theme/smoothly/templates/search_item.tpl @@ -46,9 +46,9 @@
-
+
{{if $item.conv}} - {{$item.conv.title}} + {{$item.conv.title}} {{/if}}
diff --git a/view/theme/smoothly/templates/wall_thread.tpl b/view/theme/smoothly/templates/wall_thread.tpl index 595e065ed5..37bff21544 100644 --- a/view/theme/smoothly/templates/wall_thread.tpl +++ b/view/theme/smoothly/templates/wall_thread.tpl @@ -60,7 +60,7 @@

-
{{$item.title}}
+
{{$item.title}}
{{$item.body_html nofilter}} diff --git a/view/theme/vier/templates/photo_item.tpl b/view/theme/vier/templates/photo_item.tpl index 069bd22296..307ef138f7 100644 --- a/view/theme/vier/templates/photo_item.tpl +++ b/view/theme/vier/templates/photo_item.tpl @@ -30,9 +30,8 @@
-
- - {{if $conv}}{{/if}} +
+ {{if $conv}}{{/if}}
diff --git a/view/theme/vier/templates/search_item.tpl b/view/theme/vier/templates/search_item.tpl index 60e26c729e..44fb6804d3 100644 --- a/view/theme/vier/templates/search_item.tpl +++ b/view/theme/vier/templates/search_item.tpl @@ -31,7 +31,7 @@
- {{if $item.title}}

{{$item.title}}

{{/if}} + {{if $item.title}}

{{$item.title}}

{{/if}}
{{$item.body_html nofilter}}
@@ -47,9 +47,8 @@
-
- - {{if $item.conv}}{{/if}} +
+ {{if $item.conv}}{{/if}}
diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index 2d7f856c1c..1d13b9e528 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -73,7 +73,7 @@
- {{if $item.title}}

{{$item.title}}

{{/if}} + {{if $item.title}}

{{$item.title}}

{{/if}}
{{$item.body_html nofilter}}