X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=0ecceab0f16a98c7d07ff0a4b2a620c4d81bdce2;hb=c407fb7963cd40813531e29bdc8a6b43c16725d8;hp=85091cf1c69aa3858130e66c2802ae636c41b2fd;hpb=187a81f159c26faa0b135a38a655de019f99d337;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 85091cf1c6..0ecceab0f1 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -40,11 +40,11 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level<3}}
{{if $item.plink}} {{*link to the original source of the item *}}-
- {{$item.plink.title}}
+ {{$item.plink.title}}
{{/if}}
{{if $item.edpost}} {{* edit the posting *}}
-
- {{$item.edpost.1}}
+
{{/if}}
{{if $item.tagger}} {{* tag the post *}}
-
- {{$item.tagger.add}}
+
{{/if}}
{{if $item.filer}}
-
- {{$item.filer}}
+
{{/if}}
{{if $item.star}}
-
- {{$item.star.do}}
- {{$item.star.undo}}
+
+
+
+ {{/if}}
+
+ {{if $item.subthread}}
+ -
+
{{/if}}
@@ -120,16 +132,16 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.ignore}}
-
- {{$item.ignore.do}}
+
-
- {{$item.ignore.undo}}
+
{{/if}}
{{if $item.drop.dropping}}
-
- {{$item.drop.delete}}
+
{{/if}}
@@ -142,16 +154,16 @@ as the value of $top_child_total (this is done at the end of this file){{$item.name}} - {{if $item.owner_url}}{{$item.via}} {{$item.owner_name}}{{/if}} - {{if $item.lock}} {{/if}} +
-
{{if $item.location}}
@@ -220,9 +231,9 @@ as the value of $top_child_total (this is done at the end of this file)
{{*this is the media body for comments - this div must be closed at the end of the file *}}
@@ -234,41 +245,42 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.thread_level==1}}
+
{{* insert some space if it's an top-level post *}}
{{if $item.thread_level==1}}
-
+
{{/if}}
{{if $item.title}}
{{$item.body}}
+ {{$item.body nofilter}}
-
-
+
- {{foreach $item.hashtags as $tag}}
- {{$tag}}
- {{/foreach}}
-
- {{foreach $item.mentions as $tag}}
- {{$tag}}
- {{/foreach}}
+ {{if !$item.suppress_tags}}
+ {{foreach $item.hashtags as $tag}}
+ {{$tag}}
+ {{/foreach}}
+
+ {{foreach $item.mentions as $tag}}
+ {{$tag}}
+ {{/foreach}}
+ {{/if}}
- {{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}}
@@ -278,7 +290,7 @@ as the value of $top_child_total (this is done at the end of this file)
@@ -287,45 +299,44 @@ 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}}
+
{{/if}}
-
{{if $item.vote.like AND $item.vote.dislike}}
- â¢
+ â¢
{{/if}}
-
{{if $item.vote.dislike}}
- {{$item.vote.dislike.1}}
+
{{/if}}
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
- â¢
+ â¢
{{/if}}
{{/if}}
- {{* Butten to open the comment text field *}}
+ {{* Button to open the comment text field *}}
{{if $item.comment}}
- {{$item.switchcomment}}
+
{{/if}}
{{* Button for sharing the item *}}
{{if $item.vote}}
- {{if ($item.vote.like OR $item.vote.dislike OR $item.comment) AND $item.vote.share}}
- â¢
- {{/if}}
{{if $item.vote.share}}
- {{$item.vote.share.1}}
+ {{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
+ â¢
+ {{/if}}
+
{{/if}}
{{/if}}
+
{{* Event attendance buttons *}}
{{if $item.isevent}}
- {{$item.attend.0}}
- {{$item.attend.1}}
- {{$item.attend.2}}
+
+
+
{{/if}}
@@ -345,7 +356,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}}
@@ -359,7 +370,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}}
- {{$item.comment}}
+ {{$item.comment nofilter}}
{{/if}}{{/if}}{{/if}}
@@ -380,19 +391,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}}
- {{$item.comment}}
+ {{$item.comment nofilter}}
{{/if}}{{/if}}{{/if}}
{{if $item.flatten}}
- {{$item.comment}}
+ {{$item.comment nofilter}}
{{/if}}
{{/if}}
{{$item.name}} + {{if $item.owner_url}}{{$item.via}} {{$item.owner_name}}{{/if}} + {{if $item.lock}} {{/if}}
- {{$item.name}} + {{$item.name}} - {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} + {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}}
{{/if}} {{* item content *}} -
{{$item.title}}
{{/if}} -