Merge pull request #9197 from MrPetovan/bug/9192-normalize-escaping-item
Remove obsolete uses of Strings::escapeTags in mod/item
This commit is contained in:
commit
de3ed5faf4
16 changed files with 132 additions and 157 deletions
|
@ -16,7 +16,7 @@
|
|||
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||
<!-- <a rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a> -->
|
||||
<ul role="menu" aria-haspopup="true" class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
||||
{{$item.item_photo_menu nofilter}}
|
||||
{{$item.item_photo_menu_html nofilter}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</div>
|
||||
<div class="wall-item-content">
|
||||
{{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
|
||||
<div class="wall-item-body">{{$item.body nofilter}}</div>
|
||||
<div class="wall-item-body">{{$item.body_html nofilter}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-bottom">
|
||||
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
<div class="wall-item-actions">
|
||||
|
||||
<div class="wall-item-location">{{$item.location nofilter}} </div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}} </div>
|
||||
|
||||
<div class="wall-item-actions-social">
|
||||
{{if $item.star}}
|
||||
|
@ -89,7 +89,7 @@
|
|||
</div>
|
||||
<div class="wall-item-bottom">
|
||||
<div class="wall-item-links"></div>
|
||||
<div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like nofilter}}</div>
|
||||
<div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike nofilter}}</div>
|
||||
<div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like_html nofilter}}</div>
|
||||
<div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike_html nofilter}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
<!-- <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}"></a> -->
|
||||
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||
<ul role="menu" aria-haspopup="true" class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
||||
{{$item.item_photo_menu nofilter}}
|
||||
{{$item.item_photo_menu_html nofilter}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="wall-item-location">{{$item.location nofilter}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}}</div>
|
||||
</div>
|
||||
<div class="wall-item-content">
|
||||
{{$item.ago}} {{$item.body nofilter}}
|
||||
{{$item.ago}} {{$item.body_html nofilter}}
|
||||
</div>
|
||||
<div class="wall-item-tools">
|
||||
{{if $item.drop.pagedrop}}
|
||||
|
@ -58,10 +58,10 @@
|
|||
{{/if}}
|
||||
|
||||
{{* top thread comment box *}}
|
||||
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
|
||||
<div class="wall-item-comment-wrapper" >{{$item.comment nofilter}}</div>
|
||||
{{if $item.threaded}}{{if $item.comment_html}}{{if $item.thread_level==1}}
|
||||
<div class="wall-item-comment-wrapper" >{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}{{/if}}{{/if}}
|
||||
|
||||
{{if $item.flatten}}
|
||||
<div class="wall-item-comment-wrapper" >{{$item.comment nofilter}}</div>
|
||||
<div class="wall-item-comment-wrapper" >{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<!-- <a aria-hidden="true" href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link u-url" id="wall-item-photo-link-{{$item.id}}"></a> -->
|
||||
<img src="{{$item.thumb}}" class="contact-photo {{$item.sparkle}} p-name u-photo" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||
<ul role="menu" aria-haspopup="true" class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
||||
{{$item.item_photo_menu nofilter}}
|
||||
{{$item.item_photo_menu_html nofilter}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
@ -74,7 +74,7 @@
|
|||
|
||||
<div itemprop="description" class="wall-item-content">
|
||||
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
|
||||
<span class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}">{{$item.body nofilter}}</span>
|
||||
<span class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}">{{$item.body_html nofilter}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-bottom">
|
||||
|
@ -109,7 +109,7 @@
|
|||
<a role="button" title="{{$item.remote_comment.0}}" href="{{$item.remote_comment.2}}"><i class="icon-commenting"><span class="sr-only">{{$item.remote_comment.1}}</span></i></a>
|
||||
{{/if}}
|
||||
|
||||
{{if $item.comment}}
|
||||
{{if $item.comment_html}}
|
||||
<a role="button" id="comment-{{$item.id}}" class="fakelink togglecomment" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});" title="{{$item.switchcomment}}"><i class="icon-commenting"><span class="sr-only">{{$item.switchcomment}}</span></i></a>
|
||||
{{/if}}
|
||||
|
||||
|
@ -150,7 +150,7 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="wall-item-location">{{$item.location nofilter}} {{$item.postopts}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}} {{$item.postopts}}</div>
|
||||
|
||||
<div class="wall-item-actions-isevent">
|
||||
</div>
|
||||
|
@ -181,12 +181,12 @@
|
|||
|
||||
</div>
|
||||
|
||||
{{if $item.threaded}}{{if $item.comment}}
|
||||
{{if $item.threaded}}{{if $item.comment_html}}
|
||||
<div class="wall-item-bottom">
|
||||
<div class="wall-item-links">
|
||||
</div>
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">
|
||||
{{$item.comment nofilter}}
|
||||
{{$item.comment_html nofilter}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}{{/if}}
|
||||
|
@ -210,19 +210,19 @@
|
|||
{{/if}}
|
||||
|
||||
{{if $item.total_comments_num}}
|
||||
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">{{$item.comment nofilter}}</div>
|
||||
{{if $item.threaded}}{{if $item.comment_html}}{{if $item.thread_level==1}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}{{/if}}{{/if}}
|
||||
|
||||
{{if $item.flatten}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">{{$item.comment nofilter}}</div>
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment nofilter}}</div>
|
||||
{{if $item.threaded}}{{if $item.comment_html}}{{if $item.thread_level==1}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}{{/if}}{{/if}}
|
||||
|
||||
{{if $item.flatten}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment nofilter}}</div>
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue