]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/wall_thread.tpl
Avoid escaping relevant template variables
[friendica.git] / view / theme / frio / templates / wall_thread.tpl
index 7ef875987e796cb708a192931416087c7b99ff7b..0ecceab0f16a98c7d07ff0a4b2a620c4d81bdce2 100644 (file)
@@ -141,7 +141,7 @@ as the value of $top_child_total (this is done at the end of this file)
 
                                        {{if $item.drop.dropping}}
                                        <li role="menuitem">
-                                               <button type="button" class="btn-link navicon delete" onclick="dropItem('item/drop/{{$item.id}}', 'item-{{$item.guid}}');" title="{{$item.drop.delete}}"><i class="fa fa-trash" aria-hidden="true"></i> {{$item.drop.delete}}</button>
+                                               <button type="button" class="btn-link navicon delete" onclick="dropItem('item/drop/{{$item.id}}/{{$item.return}}', 'item-{{$item.guid}}');" title="{{$item.drop.delete}}"><i class="fa fa-trash" aria-hidden="true"></i> {{$item.drop.delete}}</button>
                                        </li>
                                        {{/if}}
                                </ul>
@@ -239,12 +239,10 @@ as the value of $top_child_total (this is done at the end of this file)
                </div>
                {{/if}}
 
-               {{* Insert Line to seperate item header and item content visually *}}
-               {{if $item.thread_level==1}}
-               <hr class="clearfix" />
-               {{else}}
                <div class="clearfix"></div>
-               {{/if}}
+
+               {{* Insert Line to seperate item header and item content visually *}}
+               {{if $item.thread_level==1}}<hr />{{/if}}
 
                {{* item content *}}
                <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
@@ -257,13 +255,12 @@ as the value of $top_child_total (this is done at the end of this file)
                        <span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading"><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h4><br /></span>
                        {{/if}}
 
-                       <div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}">{{$item.body}}</div>
+                       <div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}">{{$item.body nofilter}}</div>
                </div>
 
                <!-- TODO -->
                <div class="wall-item-bottom">
-                       <div class="wall-item-links">
-                       </div>
+                       <div class="wall-item-links"></div>
                        <div class="wall-item-tags">
                {{if !$item.suppress_tags}}
                        {{foreach $item.hashtags as $tag}}
@@ -359,7 +356,7 @@ as the value of $top_child_total (this is done at the end of this file)
                {{if $item.responses}}
                        <div class="wall-item-responses">
                                {{foreach $item.responses as $verb=>$response}}
-                               <div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output}}</div>
+                               <div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output nofilter}}</div>
                                {{/foreach}}
                        </div>
                {{/if}}
@@ -373,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}}
                <div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">
-                       {{$item.comment}}
+                       {{$item.comment nofilter}}
                </div>
                {{/if}}{{/if}}{{/if}}
 
@@ -394,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}}
-                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}">{{$item.comment}}</div>
+                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}">{{$item.comment nofilter}}</div>
                        {{/if}}{{/if}}{{/if}}
 
                        {{if $item.flatten}}
-                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}">{{$item.comment}}</div>
+                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}">{{$item.comment nofilter}}</div>
                        {{/if}}
                {{else}}
                        {{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment}}</div>
+                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment nofilter}}</div>
                        {{/if}}{{/if}}{{/if}}
 
                        {{if $item.flatten}}
-                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment}}</div>
+                               <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment nofilter}}</div>
                        {{/if}}
                {{/if}}
        </div><!-- /media -->