X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=c149b58a515edabedab9fc051469d09eb653614d;hb=4facd1dfdba93ede48ca40b5e146424e6701118b;hp=c46fc339dd1ff742fb7a6d8658f31c4779e3aae2;hpb=8821d33f73785884cfce83e7b23d3ef19cc1bc11;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index c46fc339dd..c149b58a51 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -12,8 +12,8 @@ The div get's closed if thread_level = 2 and the value of $top_child_nr is the s as the value of $top_child_total (this is done at the end of this file) *}} {{if $item.thread_level==1}} - {{assign var="top_child_total" count($item.children)}} - {{assign var="top_child_nr" 0}} + {{assign var="top_child_total" value=count($item.children)}} + {{assign var="top_child_nr" value=0}} {{/if}} {{if $item.thread_level==2}} {{assign var="top_child_nr" value=$top_child_nr+1 scope=parent}} @@ -55,15 +55,14 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{/if}} - +{{* TODO => Unknown block *}} - - +{{* /TODO => Unknown block *}} {{* Use a different div container in dependence max thread-level = 7 *}} @@ -203,12 +202,21 @@ as the value of $top_child_total (this is done at the end of this file)
- + + + + + + + {{if $item.owner_self}} + {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} + {{/if}} +
{{if $item.location}}
- ({{$item.location}}) + ({{$item.location nofilter}})
{{/if}}
@@ -220,7 +228,13 @@ as the value of $top_child_total (this is done at the end of this file)
{{$item.name}}

- {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} + + {{$item.ago}} + {{if $item.location}} — ({{$item.location nofilter}}){{/if}} + {{if $item.owner_self}} + {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} + {{/if}} +

@@ -233,7 +247,13 @@ as the value of $top_child_total (this is done at the end of this file)
{{$item.name}} - {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} + + {{$item.ago}} + {{if $item.location}} — ({{$item.location nofilter}}){{/if}} + {{if $item.owner_self}} + {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} + {{/if}} +
@@ -255,7 +275,7 @@ as the value of $top_child_total (this is done at the end of this file)

{{$item.title}}


{{/if}} -
{{$item.body}}
+
{{$item.body nofilter}}
@@ -264,20 +284,20 @@ as the value of $top_child_total (this is done at the end of this file)
{{if !$item.suppress_tags}} {{foreach $item.hashtags as $tag}} - {{$tag}} + {{$tag nofilter}} {{/foreach}} {{foreach $item.mentions as $tag}} - {{$tag}} + {{$tag nofilter}} {{/foreach}} {{/if}} {{foreach $item.folders as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}} {{foreach $item.categories as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}}
{{if $item.edited}}
{{$item.edited['label']}} ({{$item.edited['relative']}})
{{/if}} @@ -356,7 +376,7 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.responses}}
{{foreach $item.responses as $verb=>$response}} -
{{$response.output}}
+
{{$response.output nofilter}}
{{/foreach}}
{{/if}} @@ -370,7 +390,7 @@ as the value of $top_child_total (this is done at the end of this file) {{* Insert comment box of threaded children *}} {{if $item.threaded}}{{if $item.comment}}{{if $item.indent==comment}} {{/if}}{{/if}}{{/if}} @@ -391,19 +411,19 @@ as the value of $top_child_total (this is done at the end of this file) case it could be opend with the "comment" button *}} {{if $item.total_comments_num}} {{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}} -
{{$item.comment}}
+
{{$item.comment nofilter}}
{{/if}}{{/if}}{{/if}} {{if $item.flatten}} -
{{$item.comment}}
+
{{$item.comment nofilter}}
{{/if}} {{else}} {{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}} - + {{/if}}{{/if}}{{/if}} {{if $item.flatten}} - + {{/if}} {{/if}}