66 lines
2.7 KiB
HTML
66 lines
2.7 KiB
HTML
|
<div class="dtable">
|
||
|
<div class="dhead">
|
||
|
<div class="drow">
|
||
|
<div class="dcell icon"></div>
|
||
|
<div class="dcell subject">Subject</div>
|
||
|
<div class="dcell author">Username</div>
|
||
|
<div class="dcell forum">Forum</div>
|
||
|
<div class="dcell replies">Replies</div>
|
||
|
<div class="dcell date">Post time</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<%~if post_list.length%>
|
||
|
<div class="dbody">
|
||
|
<%~loop post_list%>
|
||
|
<div class="drow">
|
||
|
<div class="dcell icon">
|
||
|
<%~if post_list_show_checkbox%>
|
||
|
<input type="checkbox" name="<%post_list_checkbox_name%>" value="<%post_id%>" class="checkbox" />
|
||
|
<%else%>
|
||
|
<%~if post_locked%><%set icon_class = 'locked-thread'%>
|
||
|
<%~elsif post_thread_hot%><%set icon_class = 'hot-thread'%>
|
||
|
<%~elsif post_new and new_replies%><%set icon_class = 'new-thread'%>
|
||
|
<%~elsif post_replies == 1%><%set icon_class = 'first-post'%>
|
||
|
<%~elsif post_replies%><%set icon_class = 'thread'%>
|
||
|
<%~else%><%set icon_class = 'single-thread'%><%endif%>
|
||
|
<span class="sprite-<%icon_class%>"></span>
|
||
|
<%~endif%>
|
||
|
</div>
|
||
|
<div class="dcell subject">
|
||
|
<%~if post_sticky%> <span class="sticky">Sticky:</span><%endif%>
|
||
|
<%~if post_moved%> <span class="moved">Moved:</span><%endif%>
|
||
|
<%~set url_param_post_ist_query_string = ""%>
|
||
|
<%~if post_list_query_string%><%set url_param_post_ist_query_string = "$post_list_query_string"%><%endif%>
|
||
|
<a href="<%GForum::SEO::url(type => "post", id => $post_id, params => $url_param_post_ist_query_string, anchor => "p$post_id")%>">
|
||
|
<%~if post_deleted%>
|
||
|
Post deleted by <%post_deleted_by%><%if user_perm_moderator%>: <%post_subject%><%endif%>
|
||
|
<%~else%>
|
||
|
<%~post_subject%>
|
||
|
<%~endif%>
|
||
|
<%~if post_moved%>
|
||
|
Moved:
|
||
|
<%~endif%>
|
||
|
</a>
|
||
|
<%~set cat_id ||= $cat_id_fk%>
|
||
|
<div class="post-mob">
|
||
|
by <a href="<%GForum::SEO::url(params => "user=$user_id")%>" class="postedby"><%post_username%></a><span> | <% post_date %>| <% post_replies || 0 %> replies</span><br />
|
||
|
<%GForum::Category::full_name_linked($cat_id, ': ')%>: <a href="<%GForum::SEO::url(type => "forum", id => $forum_id)%>"><%forum_name%></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="dcell author">
|
||
|
<%~set user_id ||= $user_id_fk%>
|
||
|
<%~set include_username_display = $post_username%>
|
||
|
<%include include_username.html%>
|
||
|
</div>
|
||
|
<div class="dcell forum">
|
||
|
<%GForum::Category::full_name_linked($cat_id, ': ')%>: <a href="<%GForum::SEO::url(type => "forum", id => $forum_id)%>"><%forum_name%></a>
|
||
|
</div>
|
||
|
<div class="dcell replies"><%post_replies%></div>
|
||
|
<div class="dcell date"><%post_date%></div>
|
||
|
</div>
|
||
|
<%~endloop%>
|
||
|
</div>
|
||
|
<%~endif%>
|
||
|
</div>
|