You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB
Smarty

<div class="clearfix">
<div class="icon pull-left">
<a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
<img src="{posts.user.picture}" align="left" itemprop="image" />
<!-- IF posts.user.banned -->
<span class="label label-danger">[[user:banned]]</span>
<!-- ENDIF posts.user.banned -->
</a>
</div>
<small class="pull-left">
<i class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
<strong>
<a class="username-field" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.username}</a>
</strong>
[[global:posted_ago, <span class="timeago" title="{posts.relativeTime}"></span>]]
<!-- IF posts.editor.username -->
<span>, [[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{posts.editor.userslug}">{posts.editor.username}</a></strong>, <span class="timeago" title="{posts.relativeEditTime}"></span>]]</span>
<!-- ENDIF posts.editor.username -->
<div class="dropdown moderator-tools">
<a href="#" data-toggle="dropdown"><i class="fa fa-ellipsis-v"></i></a>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<!-- IF posts.display_moderator_tools -->
<li role="presentation">
<a component="post/edit" role="menuitem" tabindex="-1" href="#">
[[topic:edit]]
</a>
</li>
<li role="presentation">
<a component="post/delete" role="menuitem" tabindex="-1" href="#">
[[topic:delete]]
</a>
</li>
<li role="presentation">
<a component="post/purge" role="menuitem" tabindex="-1" href="#" class="<!-- IF !posts.deleted -->hidden<!-- ENDIF !posts.deleted -->">
[[topic:purge]]
</a>
</li>
<!-- IF posts.display_move_tools -->
<li role="presentation">
<a component="post/move" role="menuitem" tabindex="-1" href="#">
[[topic:move]]
</a>
</li>
<!-- ENDIF posts.display_move_tools -->
<!-- ENDIF posts.display_moderator_tools -->
</ul>
</div>
</small>
</div>
<br />
<div class="content" component="post/content" itemprop="text">{posts.content}</div>
<hr />