X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=2e05cf7523c87469a29f4a75cfcc21f1391fa46c;hb=c5260c0f2f4f5246a2b5a01fc7d8e752f4e2effb;hp=b2e10a10a16ba01e514b326adedaffcd01cf9493;hpb=f4c0c18b1652cc7ab48ffb9d57273b57f4a0b6b0;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index b2e10a10a1..2e05cf7523 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -3,7 +3,7 @@ It would be better if it would be done in friendica core but since core lacks this functionality it is done in the theme -In short: the piece of code counts the total number of children of the toplevelpost +In short: the piece of code counts the total number of children of the toplevelpost - this are usaly all posts with thread_level = 2 - and stores it in variable $top_children_total. The first time a children which hits thread_level = 2 and $top_child = 1 opens the div. @@ -41,9 +41,9 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level<3}}
@@ -59,7 +59,6 @@ as the value of $top_child_total (this is done at the end of this file) @@ -67,13 +66,13 @@ as the value of $top_child_total (this is done at the end of this file) {{* Use a different div container in dependence max thread-level = 7 *}} {{if $item.thread_level<7}} -
{{if $item.plink}} {{*link to the original source of the item *}}-
- {{$item.plink.title}}
+ {{$item.plink.title}}
{{/if}}
@@ -140,10 +139,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{* The avatar picture and the photo-menu *}}
{{if $item.thread_level==1}}
-
-
+
+
-
+
@@ -168,10 +167,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{* The avatar picture for comments *}}
{{if $item.thread_level!=1}}
-
-
+
+
-
+
@@ -190,7 +189,8 @@ as the value of $top_child_total (this is done at the end of this file)
- {{$item.ago}}
+
+
{{if $item.location}}
@@ -239,10 +239,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{/if}}
{{if $item.title}}
- {{$item.body}}
+ {{$item.body}}
@@ -259,11 +259,11 @@ as the value of $top_child_total (this is done at the end of this file)
{{/foreach}}
{{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}}
@@ -285,7 +285,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{* Buttons for like and dislike *}}
{{if $item.vote}}
{{if $item.vote.like}}
- {{$item.vote.like.1}}
+ {{$item.vote.like.1}}
{{/if}}
{{if $item.vote.like AND $item.vote.dislike}}
@@ -293,7 +293,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{/if}}
{{if $item.vote.dislike}}
- {{$item.vote.dislike.1}}
+ {{$item.vote.dislike.1}}
{{/if}}
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
@@ -312,7 +312,7 @@ as the value of $top_child_total (this is done at the end of this file)
â¢
{{/if}}
{{if $item.vote.share}}
- {{$item.vote.share.0}}
+ {{$item.vote.share.1}}
{{/if}}
{{/if}}
@@ -321,9 +321,9 @@ as the value of $top_child_total (this is done at the end of this file)
{{* Event attendance buttons *}}
{{if $item.isevent}}
- {{$item.attend.0}}
- {{$item.attend.1}}
- {{$item.attend.2}}
+ {{$item.attend.0}}
+ {{$item.attend.1}}
+ {{$item.attend.2}}
{{/if}}
{{$item.title}}
+
{{$item.title}}
{{/if}} -