friendicablog/view/theme/blog/wall_thread.tpl

81 lines
3.7 KiB
Smarty
Raw Normal View History

2013-01-22 17:50:37 +01:00
<article class="post-8 post type-post status-publish format-standard hentry category-uncategorized tag-html tag-wordpress" id="item-$item.id">
2012-09-20 08:46:21 +02:00
<header class="entry-header">
<h1 class="entry-title"><a rel="bookmark" title="Permalink" href="$item.plink.href">$item.title</a></h1>
<div class="entry-meta">
<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>
2012-09-20 16:25:26 +02:00
<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>
2012-09-20 08:46:21 +02:00
</span>
</span>
</div><!-- .entry-meta -->
<div class="comments-link">
2012-09-20 10:10:25 +02:00
<a title="Comment" href="$item.plink.href">$item.total_comments_num</a>
2012-09-20 08:46:21 +02:00
</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>
2012-09-20 10:10:25 +02:00
{{ for $item.categories as $cat }}
<a href="$cat.url">$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}}
2012-09-20 08:46:21 +02:00
{{ endfor }}
</span>
<span class="sep"> | </span>
{{ endif }}
{{ if $item.hashtags }}
<span class="tag-links">
<span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span>
{{ for $item.hashtags as $tag }}
$tag
{{ endfor }}
</span>
<span class="sep"> | </span>
{{ endif }}
{{ if $item.mentions }}
<span class="tag-links">
<span class="entry-utility-prep entry-utility-prep-tag-links">Mention</span>
{{ for $item.mentions as $men }}
$men
{{ endfor }}
</span>
<span class="sep"> | </span>
{{ endif }}
2013-01-22 17:50:37 +01:00
<span class="comments-link"><a title="Comment" href="$item.plink.href">$item.total_comments_num $item.total_comments_text</a>
2012-09-20 10:10:25 +02:00
</span>
2013-01-22 17:50:37 +01:00
</footer><!-- #entry-meta -->
</article>
2013-01-23 15:55:59 +01:00
{{ if $mode != profile }}
2013-01-22 17:50:37 +01:00
<div id="comments">
<h2 id="comments-title">
$item.total_comments_num $item.total_comments_text on &ldquo;<span>$item.title</span>&rdquo;
</h2>
<ol class="commentlist">
{{ for $item.children as $child }}
{{ inc wall_thread_comment.tpl with $item=$child }}{{ endinc }}
{{ endfor }}
</ol>
2013-01-23 15:55:59 +01:00
$item.comment
2013-01-22 17:50:37 +01:00
</div>
2013-01-23 15:55:59 +01:00
{{ endif }}