Browse Source

Add initial RTL support for post bodies

pull/10192/head
Hypolite Petovan 3 months ago
parent
commit
c76af27533
  1. 2
      view/templates/wall_thread.tpl
  2. 2
      view/theme/frio/templates/wall_thread.tpl
  3. 2
      view/theme/quattro/templates/wall_thread.tpl
  4. 2
      view/theme/smoothly/templates/wall_thread.tpl
  5. 2
      view/theme/vier/templates/wall_thread.tpl

2
view/templates/wall_thread.tpl

@ -59,7 +59,7 @@
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
<div class="wall-item-title-end"></div>
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
<span class="e-content">{{$item.body_html nofilter}}<span>
<span class="e-content" dir="auto">{{$item.body_html nofilter}}<span>
<div class="body-tag">
{{if !$item.suppress_tags}}
{{foreach $item.tags as $tag}}

2
view/theme/frio/templates/wall_thread.tpl

@ -246,7 +246,7 @@ as the value of $top_child_total (this is done at the end of this file)
<span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading"><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h4><br /></span>
{{/if}}
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}">{{$item.body_html nofilter}}</div>
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}" dir="auto">{{$item.body_html nofilter}}</div>
</div>
<!-- TODO -->

2
view/theme/quattro/templates/wall_thread.tpl

@ -54,7 +54,7 @@
</div>
<div class="wall-item-content">
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}">{{$item.body_html nofilter}}</div>
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" dir="auto">{{$item.body_html nofilter}}</div>
</div>
</div>
<div class="wall-item-bottom">

2
view/theme/smoothly/templates/wall_thread.tpl

@ -63,7 +63,7 @@
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
<div class="wall-item-title-end"></div>
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
<span class="e-content">{{$item.body_html nofilter}}</span>
<span class="e-content" dir="auto">{{$item.body_html nofilter}}</span>
<div class="body-tag">
{{if !$item.suppress_tags}}
{{foreach $item.tags as $tag}}

2
view/theme/vier/templates/wall_thread.tpl

@ -74,7 +74,7 @@
<div itemprop="description" class="wall-item-content">
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}">{{$item.body_html nofilter}}</div>
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" dir="auto">{{$item.body_html nofilter}}</div>
</div>
</div>
<div class="wall-item-bottom">

Loading…
Cancel
Save