X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=c149b58a515edabedab9fc051469d09eb653614d;hb=4facd1dfdba93ede48ca40b5e146424e6701118b;hp=94ff531294b2fc245f354655759d19da2a3062ee;hpb=d39b0584f0bebe3f5e8b9f84593985074d69e04d;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 94ff531294..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}} @@ -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}} +
    @@ -248,38 +268,39 @@ as the value of $top_child_total (this is done at the end of this file)
    {{* 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}}
    @@ -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}}