X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=29e0c64636341aa6fa7e66523cc56178f7b52097;hb=37131a6785c70882c7da83d63de13167ff8e5290;hp=b4cd291b013e5b8cabdae41d3674ce2021ea20a8;hpb=33a7cd107ebc3974d3cc8b7ecd10c1a1662284f3;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index b4cd291b01..29e0c64636 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -4,7 +4,7 @@ It would be better if it would be done in friendica core but since core lacks th it is done in the theme 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. +- this are usually 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. Everytime when a children with top_level = 2 comes up $top_child_nr rises with 1. @@ -22,7 +22,7 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level==2 && $top_child_nr==1}}
{{/if}} -{{* end of hacky part to count childrens *}} +{{* end of hacky part to count children *}} {{if $mode == display}} @@ -46,17 +46,6 @@ 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 *}} {{if $item.thread_level<7}}
@@ -91,7 +80,7 @@ as the value of $top_child_total (this is done at the end of this file)
- {{* The litle overlay avatar picture if someone is posting directly to a wall or a forum *}} + {{* The little overlay avatar picture if someone is posting directly to a wall or a group *}} {{if $item.owner_url}}