]> git.mxchange.org Git - friendica.git/commitdiff
Fix template escaping in photo gallery view
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 23 Dec 2018 15:51:18 +0000 (10:51 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 23 Dec 2018 15:51:18 +0000 (10:51 -0500)
view/templates/photo_view.tpl
view/theme/frio/templates/photo_view.tpl
view/theme/quattro/templates/photo_view.tpl
view/theme/vier/templates/photo_view.tpl

index d5c3d68269f5ac0f344dfce07e5a90f4688800b4..4f5be40fc500f1e251db1db71941e3b0ff5b4b04 100644 (file)
 {{/if}}
 {{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
 
-{{if $edit}}{{$edit}}{{/if}}
+{{if $edit}}{{$edit nofilter}}{{/if}}
 
 {{if $likebuttons}}
 <div id="photo-like-div">
-       {{$likebuttons}}
-       {{$like}}
-       {{$dislike}}    
+       {{$likebuttons nofilter}}
+       {{$like nofilter}}
+       {{$dislike nofilter}}
 </div>
 {{/if}}
 
-{{$comments}}
+{{$comments nofilter}}
 
 {{$paginate nofilter}}
 
index 1d39b16eefac7bfa03521f076dc393dedc4b600c..359c42669622c9f334451048c163f9c3f8c41717 100644 (file)
                {{/if}}
 
                {{* The part for editing the photo - only available for the edit subpage *}}
-               {{if $edit}}{{$edit}}{{/if}}
+               {{if $edit}}{{$edit nofilter}}{{/if}}
 
                {{if $likebuttons}}
                <div id="photo-like-div">
-                       {{$likebuttons}}
-                       {{$like}}
-                       {{$dislike}}
+                       {{$likebuttons nofilter}}
+                       {{$like nofilter}}
+                       {{$dislike nofilter}}
                </div>
                {{/if}}
                <hr>
@@ -82,7 +82,7 @@
 
        {{* Insert the comments *}}
        <div id="photo-comment-wrapper-{{$id}}" class="photo-comment-wrapper">
-               {{$comments}}
+               {{$comments nofilter}}
        </div>
 
        {{$paginate nofilter}}
index cd1a7ccc99d2b19d92651314bcb1d3267047022e..0b65c2c5352f5d87f03901a05992581f067df1ea 100644 (file)
 {{/if}}
 {{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
 
-{{if $edit}}{{$edit}}{{/if}}
+{{if $edit}}{{$edit nofilter}}{{/if}}
 
 {{if $likebuttons}}
 <div id="photo-like-div">
-       {{$likebuttons}}
-       {{$like}}
-       {{$dislike}}    
+       {{$likebuttons nofilter}}
+       {{$like nofilter}}
+       {{$dislike nofilter}}
 </div>
 {{/if}}
 
 <div class="wall-item-comment-wrapper photo">
-    {{$comments}}
+    {{$comments nofilter}}
 </div>
 
 {{$paginate nofilter}}
index 21eda89b353b25136133aef9ebe11bb3f30134ba..aa3f7aadd5d03f99fdf634a40f77eeb39b27f629 100644 (file)
 {{/if}}
 {{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
 
-{{if $edit}}{{$edit}}{{/if}}
+{{if $edit}}{{$edit nofilter}}{{/if}}
 
 {{if $likebuttons}}
 <div id="photo-like-div">
-       {{$likebuttons}}
-       {{$like}}
-       {{$dislike}}    
+       {{$likebuttons nofilter}}
+       {{$like nofilter}}
+       {{$dislike nofilter}}
 </div>
 {{/if}}
 
 <div class="wall-item-comment-wrapper photo">
-{{$comments}}
+       {{$comments nofilter}}
 </div>
 
 {{$paginate nofilter}}