]> git.mxchange.org Git - friendica.git/commitdiff
Fix post location escaping
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 21 Dec 2018 05:06:37 +0000 (00:06 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 21 Dec 2018 05:06:37 +0000 (00:06 -0500)
12 files changed:
view/templates/search_item.tpl
view/templates/wall_thread.tpl
view/theme/frio/templates/search_item.tpl
view/theme/frio/templates/wall_thread.tpl
view/theme/quattro/templates/search_item.tpl
view/theme/quattro/templates/wall_item_tag.tpl
view/theme/quattro/templates/wall_thread.tpl
view/theme/smoothly/templates/search_item.tpl
view/theme/smoothly/templates/wall_thread.tpl
view/theme/vier/templates/search_item.tpl
view/theme/vier/templates/wall_item_tag.tpl
view/theme/vier/templates/wall_thread.tpl

index 8560757efdb482facad1a68421d7dbbd0169b435..38aa947498cb974c237474ffcdc05c86ae34259c 100644 (file)
@@ -19,7 +19,7 @@
                        <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
                                {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
                                {{else}}<div class="wall-item-lock"></div>{{/if}}       
-                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
+                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location nofilter}}</div>
                        </div>
                </div>
                <div class="wall-item-author">
index 38c0f4359b744daefcfa551765c46a6e36d15882..6ca333c3d9f077e89dac0f3cdef3e6c61276ad90 100644 (file)
@@ -40,7 +40,7 @@
                        <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
                                {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
                                {{else}}<div class="wall-item-lock"></div>{{/if}}
-                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
+                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location nofilter}}</div>
                        </div>
                </div>
                <div class="wall-item-author">
index 454f4e8873b48f2f6722a9752b52453c58ba05b2..b668229e8af5ebb2b71017475cafabd905c8ab12 100644 (file)
@@ -99,7 +99,7 @@
 
                                                {{if $item.location}}
                                                <div id="wall-item-location-{{$item.id}}" class="wall-item-location">
-                                                       <small><span class="location">({{$item.location}})</span></small>
+                                                       <small><span class="location">({{$item.location nofilter}})</span></small>
                                                </div>
                                                {{/if}}
                                        </div>
                                <h5 class="media-heading">
                                        <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo"><span>{{$item.name}}</span></a>
                                        <p class="text-muted"><small>
-                                               <span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location}}&nbsp;&mdash;&nbsp;({{$item.location}}){{/if}}</small>
+                                               <span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location}}&nbsp;&mdash;&nbsp;({{$item.location nofilter}}){{/if}}</small>
                                        </p>
                                </h5>
                        </div>
index 8a3816f8c6666d20536c74ebff0e5c0d29b3abb0..af3e27228b3e9f4d563dcc285c58fdddc5b24da8 100644 (file)
@@ -208,7 +208,7 @@ as the value of $top_child_total (this is done at the end of this file)
 
                                {{if $item.location}}
                                <div id="wall-item-location-{{$item.id}}" class="wall-item-location">
-                                       <small><span class="location">({{$item.location}})</span></small>
+                                       <small><span class="location">({{$item.location nofilter}})</span></small>
                                </div>
                                {{/if}}
                        </div>
@@ -220,7 +220,7 @@ as the value of $top_child_total (this is done at the end of this file)
                        <h5 class="media-heading">
                                <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo"><span>{{$item.name}}</span></a>
                                <p class="text-muted">
-                                       <small><a class="time" href="{{$item.plink.orig}}"><span class="wall-item-ago">{{$item.ago}}</span></a> {{if $item.location}}&nbsp;&mdash;&nbsp;({{$item.location}}){{/if}}</small>
+                                       <small><a class="time" href="{{$item.plink.orig}}"><span class="wall-item-ago">{{$item.ago}}</span></a> {{if $item.location}}&nbsp;&mdash;&nbsp;({{$item.location nofilter}}){{/if}}</small>
                                </p>
                        </h5>
                </div>
@@ -233,7 +233,7 @@ as the value of $top_child_total (this is done at the end of this file)
                        <h5 class="media-heading">
                                <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo"><span class="fakelink">{{$item.name}}</span></a>
                                <span class="text-muted">
-                                       <small><a class="time" href="{{$item.plink.orig}}" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</a> {{if $item.location}}&nbsp;&mdash;&nbsp;({{$item.location}}){{/if}}</small>
+                                       <small><a class="time" href="{{$item.plink.orig}}" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</a> {{if $item.location}}&nbsp;&mdash;&nbsp;({{$item.location nofilter}}){{/if}}</small>
                                </span>
                        </h5>
                </div>
index 2857baf2bf59e9b62d19d99d96adc5cb6d500490..43588fc9fddd78f101019c74abb7607f4383d32a 100644 (file)
@@ -19,7 +19,7 @@
                                </ul>
 
                        </div>
-                       <div class="wall-item-location">{{$item.location}}</div>
+                       <div class="wall-item-location">{{$item.location nofilter}}</div>
                </div>
                <div class="wall-item-content">
                        {{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
index 90ceafce52d6bc1bb26601eea9b3a257127f88a4..cb4b890153df66f963de62c4000af81653be701a 100644 (file)
@@ -34,7 +34,7 @@
                                </ul>
                                
                        </div>
-                       <div class="wall-item-location">{{$item.location}}</div>        
+                       <div class="wall-item-location">{{$item.location nofilter}}</div>
                </div>
                <div class="wall-item-content">
                        {{$item.ago}} {{$item.body nofilter}}
index 565ddb573b476ceaf3b45782fa125074f77fd22e..35363a758f9e1b6f5ebceca2699558a724de9784 100644 (file)
@@ -56,7 +56,7 @@
                                </a>
                        </div>
                        {{/if}}
-                       <div class="wall-item-location">{{$item.location}}</div>
+                       <div class="wall-item-location">{{$item.location nofilter}}</div>
                </div>
                <div class="wall-item-content">
                        {{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
index 1830922fcf0a111099d4bcb9ab78ff46750ff982..23af1b794b18f71acf9b7b63cca542601fb242f1 100644 (file)
@@ -15,7 +15,7 @@
                                </div>
                        </div>
                        <div class="wall-item-photo-end"></div> 
-                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location nofilter}} {{/if}}</div>
                </div>
                <div class="wall-item-lock-wrapper">
                                {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
index 454b2b396116b178a7a2862c5f6b4edca5ce6e44..a7e0f201090ac62858420ffe51029320a6654021 100644 (file)
@@ -33,7 +33,7 @@
 
                        </div>
                        <div class="wall-item-photo-end"></div>
-                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location nofilter}} {{/if}}</div>
                </div>
                <div class="wall-item-lock-wrapper">
                        {{if $item.lock}}
index 4d900649eefaf3a8b1662ea77556998bb11b5c1e..080d7a5282baa56daae65879a8ee55ce30772141 100644 (file)
@@ -51,7 +51,7 @@
                </div>
                <div class="wall-item-actions">
 
-                       <div class="wall-item-location">{{$item.location}}&nbsp;</div>
+                       <div class="wall-item-location">{{$item.location nofilter}}&nbsp;</div>
 
                        <div class="wall-item-actions-social">
                        {{if $item.star}}
index a14f45101a90413dbd8aa2d0f2abe05303be808b..49fb26a83c6e70f2d6e36b0628e8f0cd4d1ea6eb 100644 (file)
@@ -34,7 +34,7 @@
                                </ul>
                                
                        </div>
-                       <div class="wall-item-location">{{$item.location}}</div>        
+                       <div class="wall-item-location">{{$item.location nofilter}}</div>
                </div>
                <div class="wall-item-content">
                        {{$item.ago}} {{$item.body nofilter}}
index 45ec27ba1f8b4d10d0d7cc7eb9855d6f32c647aa..0ab2e478eba7b75edd5ea42bcc89ff0006638c4b 100644 (file)
                        {{/if}}
                        </div>
 
-                       <div class="wall-item-location">{{$item.location}} {{$item.postopts}}</div>
+                       <div class="wall-item-location">{{$item.location nofilter}} {{$item.postopts}}</div>
 
                        <div class="wall-item-actions-isevent">
                        </div>