Fix post location escaping
This commit is contained in:
parent
6b481aaac6
commit
2776b1443b
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
@ -112,7 +112,7 @@
|
|||
<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}} — ({{$item.location}}){{/if}}</small>
|
||||
<span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location}} — ({{$item.location nofilter}}){{/if}}</small>
|
||||
</p>
|
||||
</h5>
|
||||
</div>
|
||||
|
|
|
@ -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}} — ({{$item.location}}){{/if}}</small>
|
||||
<small><a class="time" href="{{$item.plink.orig}}"><span class="wall-item-ago">{{$item.ago}}</span></a> {{if $item.location}} — ({{$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}} — ({{$item.location}}){{/if}}</small>
|
||||
<small><a class="time" href="{{$item.plink.orig}}" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</a> {{if $item.location}} — ({{$item.location nofilter}}){{/if}}</small>
|
||||
</span>
|
||||
</h5>
|
||||
</div>
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
<div class="wall-item-actions">
|
||||
|
||||
<div class="wall-item-location">{{$item.location}} </div>
|
||||
<div class="wall-item-location">{{$item.location nofilter}} </div>
|
||||
|
||||
<div class="wall-item-actions-social">
|
||||
{{if $item.star}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
{{/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>
|
||||
|
|
Loading…
Reference in a new issue