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
|
@ -66,9 +66,9 @@
|
|||
<small><a href="{{$item.plink.orig}}"><span class="time" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</span></a></small>
|
||||
</div>
|
||||
|
||||
{{if $item.location}}
|
||||
{{if $item.location_html}}
|
||||
<div id="wall-item-location-{{$item.id}}" class="wall-item-location">
|
||||
<small><span class="location">({{$item.location nofilter}})</span></small>
|
||||
<small><span class="location">({{$item.location_html nofilter}})</span></small>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -81,7 +81,7 @@
|
|||
<h5 class="media-heading">
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo hover-card"><span>{{$item.name}}</span></a>
|
||||
<p class="text-muted"><small>
|
||||
<span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location}} — ({{$item.location nofilter}}){{/if}}</small>
|
||||
<span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location_html}} — ({{$item.location_html nofilter}}){{/if}}</small>
|
||||
</p>
|
||||
</h5>
|
||||
</div>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading"><a href="{{$item.plink.href}}" class="{{$item.sparkle}}">{{$item.title}}</a></h4><br /></span>
|
||||
{{/if}}
|
||||
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">{{$item.body nofilter}}</div>
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">{{$item.body_html nofilter}}</div>
|
||||
</div>
|
||||
|
||||
<!-- TODO -->
|
||||
|
@ -128,7 +128,7 @@
|
|||
<p class="wall-item-actions">
|
||||
{{* Action buttons to interact with the item (like: like, dislike, share and so on *}}
|
||||
<span class="wall-item-actions-left">
|
||||
<!--comment this out to try something different {{if $item.threaded}}{{if $item.comment}}
|
||||
<!--comment this out to try something different {{if $item.threaded}}{{if $item.comment_html}}
|
||||
<div id="button-reply" class="pull-left">
|
||||
<button type="button" class="btn-link" id="comment-{{$item.id}}" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});"><i class="fa fa-reply" title="{{$item.switchcomment}}"></i> </span>
|
||||
</div>
|
||||
|
@ -148,20 +148,20 @@
|
|||
{{if $item.vote.dislike}}
|
||||
<button type="button" class="btn btn-defaultbutton-likes{{if $item.responses.like.self}} active" aria-pressed="true{{/if}}" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="doLikeAction({{$item.id}}, 'dislike'{{if $item.responses.dislike.self}}, true{{/if}});">{{$item.vote.dislike.0}}</button>
|
||||
{{/if}}
|
||||
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
|
||||
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment_html}}
|
||||
<span role="presentation" class="separator">•</span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{* Button to open the comment text field *}}
|
||||
{{if $item.comment}}
|
||||
{{if $item.comment_html}}
|
||||
<button type="button" class="btn btn-default" id="comment-{{$item.id}}" title="{{$item.switchcomment}}" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});">{{$item.switchcomment}}</button>
|
||||
{{/if}}
|
||||
|
||||
{{* Button for sharing the item *}}
|
||||
{{if $item.vote}}
|
||||
{{if $item.vote.share}}
|
||||
{{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
|
||||
{{if $item.vote.like OR $item.vote.dislike OR $item.comment_html}}
|
||||
<span role="presentation" class="separator">•</span>
|
||||
{{/if}}
|
||||
<button type="button" class="btn btn-default" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-retweet" aria-hidden="true"></i> {{$item.vote.share.0}}</button>
|
||||
|
|
|
@ -186,9 +186,9 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
</small>
|
||||
</div>
|
||||
|
||||
{{if $item.location}}
|
||||
{{if $item.location_html}}
|
||||
<div id="wall-item-location-{{$item.id}}" class="wall-item-location">
|
||||
<small><span class="location">({{$item.location nofilter}})</span></small>
|
||||
<small><span class="location">({{$item.location_html nofilter}})</span></small>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -202,7 +202,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<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 nofilter}}){{/if}}
|
||||
{{if $item.location_html}} — ({{$item.location_html nofilter}}){{/if}}
|
||||
{{if $item.owner_self}}
|
||||
{{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
|
||||
{{/if}}
|
||||
|
@ -221,7 +221,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<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 nofilter}}){{/if}}
|
||||
{{if $item.location_html}} — ({{$item.location_html nofilter}}){{/if}}
|
||||
{{if $item.owner_self}}
|
||||
{{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
|
||||
{{/if}}
|
||||
|
@ -246,7 +246,7 @@ 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 nofilter}}</div>
|
||||
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}">{{$item.body_html nofilter}}</div>
|
||||
</div>
|
||||
|
||||
<!-- TODO -->
|
||||
|
@ -295,7 +295,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<button type="button" class="btn-link button-likes{{if $item.responses.dislike.self}} active" aria-pressed="true{{/if}}" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="doLikeAction({{$item.id}}, 'dislike'{{if $item.responses.dislike.self}}, true{{/if}});" data-toggle="button"><i class="fa fa-thumbs-down" aria-hidden="true"></i> {{$item.vote.dislike.1}}</button>
|
||||
{{/if}}
|
||||
|
||||
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
|
||||
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment_html}}
|
||||
<span role="presentation" class="separator"></span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
@ -305,14 +305,14 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
{{/if}}
|
||||
|
||||
{{* Button to open the comment text field *}}
|
||||
{{if $item.comment}}
|
||||
{{if $item.comment_html}}
|
||||
<button type="button" class="btn-link button-comments" id="comment-{{$item.id}}" title="{{$item.switchcomment}}" {{if $item.thread_level != 1}}onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});" {{else}} onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});"{{/if}}><i class="fa fa-commenting" aria-hidden="true"></i> {{$item.switchcomment}}</button>
|
||||
{{/if}}
|
||||
|
||||
{{* Button for sharing the item *}}
|
||||
{{if $item.vote}}
|
||||
{{if $item.vote.share}}
|
||||
{{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
|
||||
{{if $item.vote.like OR $item.vote.dislike OR $item.comment_html}}
|
||||
<span role="presentation" class="separator"></span>
|
||||
{{/if}}
|
||||
<button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-retweet" aria-hidden="true"></i> {{$item.vote.share.1}}</button>
|
||||
|
@ -422,7 +422,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
{{/if}}
|
||||
|
||||
{{* Button to open the comment text field *}}
|
||||
{{if $item.comment}}
|
||||
{{if $item.comment_html}}
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" class="btn btn-sm button-comments" id="comment-{{$item.id}}" title="{{$item.switchcomment}}" {{if $item.thread_level != 1}}onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});" {{else}} onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});"{{/if}}><i class="fa fa-commenting" aria-hidden="true"></i></button>
|
||||
</div>
|
||||
|
@ -536,9 +536,9 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
{{/if}}
|
||||
|
||||
{{* Insert comment box of threaded children *}}
|
||||
{{if $item.threaded && $item.comment && $item.indent==comment}}
|
||||
{{if $item.threaded && $item.comment_html && $item.indent==comment}}
|
||||
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" data-display="block" style="display: none;">
|
||||
{{$item.comment nofilter}}
|
||||
{{$item.comment_html nofilter}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
@ -553,13 +553,13 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
{{* Insert the comment box of the top level post at the bottom of the thread.
|
||||
Display this comment box if there are any comments. If not hide it. In this
|
||||
case it could be opend with the "comment" button *}}
|
||||
{{if $item.comment && $item.thread_level==1}}
|
||||
{{if $item.comment_html && $item.thread_level==1}}
|
||||
{{if $item.total_comments_num}}
|
||||
<div class="comment-fake-form" id="comment-fake-form-{{$item.id}}">
|
||||
<textarea id="comment-fake-text-{{$item.id}}" class="comment-fake-text-empty form-control" placeholder="{{$item.reply_label}}" onFocus="commentOpenUI(this, {{$item.id}});" rows="1"></textarea>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" data-display="block" style="display: none">{{$item.comment nofilter}}</div>
|
||||
<div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" data-display="block" style="display: none">{{$item.comment_html nofilter}}</div>
|
||||
{{/if}}
|
||||
</div><!-- ./panel-body or ./wall-item-container -->
|
||||
|
||||
|
|
|
@ -15,15 +15,15 @@
|
|||
</a>
|
||||
<a href="#" 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 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>
|
||||
<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">
|
||||
{{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">
|
||||
|
@ -82,8 +82,8 @@
|
|||
</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>
|
||||
{{if $item.conv}}
|
||||
<div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" >
|
||||
<a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a>
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||
</a>
|
||||
<ul 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}}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</a>
|
||||
<a href="#" 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 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>
|
||||
|
@ -50,11 +50,11 @@
|
|||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
<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">
|
||||
{{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">
|
||||
|
@ -161,11 +161,11 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{if $item.threaded}}{{if $item.comment}}{{if $item.indent==comment}}
|
||||
{{if $item.threaded}}{{if $item.comment_html}}{{if $item.indent==comment}}
|
||||
<div class="wall-item-bottom commentbox">
|
||||
<div class="wall-item-links"></div>
|
||||
<div class="wall-item-comment-wrapper">
|
||||
{{$item.comment nofilter}}
|
||||
{{$item.comment_html nofilter}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}{{/if}}{{/if}}
|
||||
|
@ -189,11 +189,11 @@
|
|||
{{/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}}
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
<span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
|
||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
|
||||
<ul>
|
||||
{{$item.item_photo_menu nofilter}}
|
||||
{{$item.item_photo_menu_html nofilter}}
|
||||
</ul>
|
||||
</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 nofilter}} {{/if}}</div>
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location_html}}<span class="icon globe"></span>{{$item.location_html 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', {{$item.id}});" /></div>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
|
||||
<div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||
<div class="wall-item-title-end"></div>
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body nofilter}}</div>
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body_html nofilter}}</div>
|
||||
</div>
|
||||
<div class="wall-item-author">
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>
|
||||
|
|
|
@ -31,13 +31,13 @@
|
|||
<span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
|
||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
|
||||
<ul>
|
||||
{{$item.item_photo_menu nofilter}}
|
||||
{{$item.item_photo_menu_html nofilter}}
|
||||
</ul>
|
||||
</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 nofilter}} {{/if}}</div>
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location_html}}<span class="icon globe"></span>{{$item.location_html nofilter}} {{/if}}</div>
|
||||
</div>
|
||||
<div class="wall-item-lock-wrapper">
|
||||
{{if $item.lock}}
|
||||
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||
<div class="wall-item-title-end"></div>
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" ><span class="e-content">{{$item.body nofilter}}</span>
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" ><span class="e-content">{{$item.body_html nofilter}}</span>
|
||||
<div class="body-tag">
|
||||
{{if !$item.suppress_tags}}
|
||||
{{foreach $item.tags as $tag}}
|
||||
|
@ -143,13 +143,13 @@
|
|||
|
||||
</div>
|
||||
<div class="wall-item-wrapper-end"></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>
|
||||
|
||||
{{if $item.threaded}}
|
||||
{{if $item.comment}}
|
||||
{{if $item.comment_html}}
|
||||
<div class="wall-item-comment-wrapper {{$item.indent}} {{$item.shiny}}" >
|
||||
{{$item.comment nofilter}}
|
||||
{{$item.comment_html nofilter}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
@ -163,7 +163,7 @@
|
|||
|
||||
{{if $item.flatten}}
|
||||
<div class="wall-item-comment-wrapper" >
|
||||
{{$item.comment nofilter}}
|
||||
{{$item.comment_html nofilter}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -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