friendicablog/view/theme/blog/smarty3/wall_thread.tpl

128 lines
6.2 KiB
Smarty

{{*
* AUTOMATICALLY GENERATED TEMPLATE
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
<article class="post-8 post type-post status-publish format-standard hentry category-uncategorized tag-html tag-wordpress {{if $mode == network}}compact{{/if}}" id="item-{{$item.id}}">
<header class="entry-header">
{{if $item.title}}<h1 class="entry-title"><a rel="bookmark" title="Permalink" href="{{$item.displaylink}}">{{$item.title}}</a></h1>{{/if}}
<div class="entry-meta">
{{if $mode != profile}}<img class="avatar avatar-68 photo avatar-default " alt="" title="{{$item.name}}" src="{{$item.thumb}}" height="68" width="68">{{/if}}
{{if $item.lock}}<a href="#" class="icon lock" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}}); return false;"></a>{{/if}}
<span class="sep">Posted </span>
<a rel="bookmark" title="12:04 am" href="{{$item.plink.href}}">
<time pubdate="" datetime="{{$item.localtime}}" class="entry-date">{{$item.ago}}</time>
</a>
<span class="by-author">
<span class="sep"> by </span>
<span class="author vcard dropmenu">
<a rel="author" title="{{$item.linktitle}}" href="{{$item.profile_url}}" class="url fn n">{{$item.name}}</a>
<ul class="menu-popup" id="author-menu-{{$item.id}}">
{{$item.item_photo_menu}}
</ul>
</span>
</span>
</div><!-- .entry-meta -->
<div class="comments-link">
<a title="Comment" href="{{$item.displaylink}}">{{$item.total_comments_num}}</a>
</div>
</header><!-- .entry-header -->
<div class="entry-content">
{{$item.body}}
</div><!-- .entry-content -->
<footer class="entry-meta">
{{if $item.categories}}
<span class="cat-links">
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span>
{{foreach $item.categories as $cat}}
<a href="{{$cat.url}}">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}}
{{/foreach}}
</span>
<span class="sep"> | </span>
{{/if}}
{{if $item.hashtags}}
<span class="tag-links">
<span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span>
{{foreach $item.hashtags as $tag}}
{{$tag}}
{{/foreach}}
</span>
<span class="sep"> | </span>
{{/if}}
{{if $item.mentions}}
<span class="tag-links">
<span class="entry-utility-prep entry-utility-prep-tag-links">Mention</span>
{{foreach $item.mentions as $men}}
{{$men}}
{{/foreach}}
</span>
<span class="sep"> | </span>
{{/if}}
<span class="comments-link"><a title="Comment" href="{{$item.displaylink}}">{{$item.total_comments_num}} {{$item.total_comments_text}}</a>
</span>
</footer><!-- #entry-meta -->
<footer class="entry-meta">
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
{{if $item.vote}}
<a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
{{if $item.vote.dislike}}<a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>{{/if}}
<span class="icon sep"> &#183; </span>
{{/if}}
{{if $item.vote.share}}
<a href="#" class="icon recycle" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>
<span class="icon sep"> &#183; </span>
{{/if}}
{{if $item.star}}
<a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
{{/if}}
{{if $item.tagger}}
<a href="#" onclick="itemTag({{$item.id}}); return false;" class="icon tag" title="{{$item.tagger.add}}"></a>
{{/if}}
{{if $item.filer}}
<a href="#" onclick="itemFiler({{$item.id}}); return false;" class="icon file" title="{{$item.filer}}"></a>
{{/if}}
<span class="right-tools">
{{if $item.edpost}}
<a class="editpost icon edit" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
<span class="icon sep"> &#183; </span>
{{/if}}
{{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" class="item icon drophide" title="{{$item.drop.delete}}"></a>{{/if}}
{{if $item.drop.pagedrop}}<input type="checkbox" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
</span>
</footer>
</article>
{{if $mode != profile}}
<div id="comments"class="{{if $mode == network}}compact{{/if}}">
{{if $mode != network}}
<h2 id="comments-title">
{{$item.total_comments_num}} {{$item.total_comments_text}} {{if $item.title}}on &ldquo;<span>{{$item.title}}</span>&rdquo;{{/if}}
</h2>
{{/if}}
<ol class="commentlist">
{{foreach $item.children as $child}}
{{include file="wall_thread_comment.tpl" item=$child}}
{{/foreach}}
</ol>
{{$item.comment}}
{{if $mode == network}}<a href="#respond-{{$item.id}}" class="reply-link">Add a comment</a>{{/if}}
</div>
{{/if}}