X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=c149b58a515edabedab9fc051469d09eb653614d;hb=4facd1dfdba93ede48ca40b5e146424e6701118b;hp=dc339c83d053b060ebe5ee4c60f59b29ae5e2195;hpb=7360945d8aa2f73b0221a77bd4f0e7723454bf33;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index dc339c83d0..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 *}} @@ -141,7 +140,7 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.drop.dropping}}
  • - +
  • {{/if}} @@ -154,16 +153,16 @@ as the value of $top_child_total (this is done at the end of this file) @@ -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}} +
    @@ -245,41 +265,42 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level==1}}
    {{/if}} {{* item content *}} -
    +
    {{* insert some space if it's an top-level post *}} {{if $item.thread_level==1}} -
     
    +
     
    {{/if}} {{if $item.title}}

    {{$item.title}}


    {{/if}} -
    {{$item.body}}
    +
    {{$item.body nofilter}}
    - +
    - {{foreach $item.hashtags as $tag}} - {{$tag}} - {{/foreach}} + {{if !$item.suppress_tags}} + {{foreach $item.hashtags as $tag}} + {{$tag nofilter}} + {{/foreach}} + + {{foreach $item.mentions as $tag}} + {{$tag nofilter}} + {{/foreach}} + {{/if}} - {{foreach $item.mentions as $tag}} - {{$tag}} - {{/foreach}} + {{foreach $item.folders as $cat}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{/foreach}} - {{foreach $item.folders as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} - {{/foreach}} - - {{foreach $item.categories as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} - {{/foreach}} + {{foreach $item.categories as $cat}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{/foreach}}
    - {{if $item.edited}}
    {{$item.edited['label']}} ({{$item.edited['relative']}})
    {{/if}} + {{if $item.edited}}
    {{$item.edited['label']}} ({{$item.edited['relative']}})
    {{/if}}
    @@ -323,7 +344,7 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.vote.like OR $item.vote.dislike OR $item.comment}} • {{/if}} - {{/if}} {{/if}} @@ -355,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}} @@ -369,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}} @@ -390,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}}