From 27d535cd07ec80f5ac6236cc3d7c030b8d6998c2 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 17 Apr 2019 12:31:18 -0400 Subject: forums clean up --- templates/list_topics.tpl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index fbd6da2..efb6e45 100644 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -23,9 +23,9 @@ {booticon iname="icon-trash" ipackage="icons" iexplain="Remove Message Board"} {/if} {/if} - {if $board->hasPostCommentsPermission()} + {*if $board->hasPostCommentsPermission()} {minifind class="" sort_mode=$sort_mode b=$smarty.request.b prompt=$smarty.const.BOARDS_PKG_DIR} - {/if} + {/if*} @@ -47,11 +47,10 @@ {if !$gBitSystem->isFeatureActive('boards_thread_verbrose')} - - {if $board->hasUpdatePermission() || $gBitUser->hasPermission('p_boards_post_update')} @@ -65,6 +64,7 @@ {foreach item=thread from=$threadList} isFeatureActive('boards_post_anon_moderation') && $thread.unreg > 0}unapproved{elseif $thread.th_moved>0}moved{/if} {if $thread.th_sticky==1} highlight{/if}" > + - -
+ {tr}New Topic{/tr} {tr}Title{/tr}{tr}Replies{/tr} {tr}Last Reply{/tr}Anon
{* topic status icons *} + {if $thread.th_moved>0} {booticon ipackage="icons" iname="icon-share" iexplain="Moved Topic"} {else} @@ -74,15 +74,14 @@ {/foreach} {/if} {if $thread.post_count-1}{$thread.post_count-1}{/if} {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='list' serviceHash=$thread} - {tr}by{/tr} {if $thread.flc_user_id < 0}{$thread.anon_name|escape}{else}{displayname user_id=$thread.flc_user_id}{/if} {tr}on{/tr} {$thread.flc_created|reltime:short|escape} + {tr}by{/tr} {if $thread.flc_user_id < 0}{$thread.anon_name|escape}{else}{displayname user_id=$thread.flc_user_id}{/if} {tr}on{/tr} {$thread.flc_created|reltime:short|escape} {if $thread.post_count-1}{$thread.post_count-1}{/if} {if $thread.post_count > 1}{$thread.llc_last_modified|reltime:short|escape}{else}{/if}
{if $thread.post_count > 1}{if $thread.llc_user_id < 0}{$thread.l_anon_name|escape}{else}{displayname user_id=$thread.llc_user_id}{/if}{else}{/if} -- cgit v1.3