{* $Id$ *} {if !$ts.ajax} {block name=title} {title help="Forums" admpage="forums"}{tr}Forums{/tr}{/title} {/block}
{if !$ts.enabled} {if $channels or ($find ne '')} {if $prefs.feature_forums_search eq 'y' or $prefs.feature_forums_name_search eq 'y'} {if $prefs.feature_forums_name_search eq 'y'} {/if} {if $prefs.feature_forums_search eq 'y' and $prefs.feature_search eq 'y'}| {self_link _sort_arg='sort_mode' _sort_field='name'}{tr}Name{/tr}{/self_link} | {if $prefs.forum_list_topics eq 'y'} {$numbercol = $numbercol + 1}{self_link _sort_arg='sort_mode' _sort_field='threads'}{tr}Topics{/tr}{/self_link} | {/if} {if $prefs.forum_list_posts eq 'y'} {$numbercol = $numbercol + 1}{self_link _sort_arg='sort_mode' _sort_field='comments'}{tr}Posts{/tr}{/self_link} | {/if} {if $prefs.forum_list_ppd eq 'y'} {$numbercol = $numbercol + 1}{tr}PPD{/tr} | {/if} {if $prefs.forum_list_lastpost eq 'y'} {$numbercol = $numbercol + 1}{self_link _sort_arg='sort_mode' _sort_field='lastPost'}{tr}Last Post{/tr}{/self_link} | {/if} {if $prefs.forum_list_visits eq 'y'} {$numbercol = $numbercol + 1}{self_link _sort_arg='sort_mode' _sort_field='hits'}{tr}Visits{/tr}{/self_link} | {/if} {$numbercol = $numbercol + 1}{tr}{$section|escape}{/tr} | {/if} {block name=forum-row}
|---|---|---|---|---|---|---|
|
{if (isset($channels[user].individual) and $channels[user].individual eq 'n')
or ($tiki_p_admin eq 'y') or ($channels[user].individual_tiki_p_forum_read eq 'y')}
{$channels[user].name|escape}
{else}
{$channels[user].name|escape}
{/if}
{if $prefs.forum_list_desc eq 'y'}
{capture name="parsedDesc"}{wiki}{$channels[user].description}{/wiki}{/capture}
{if strlen($smarty.capture.parsedDesc) < $prefs.forum_list_description_len}
{$smarty.capture.parsedDesc}
{else}
{$smarty.capture.parsedDesc|strip_tags|truncate:$prefs.forum_list_description_len:"...":true}
{/if}
{/if}
|
{if $prefs.forum_list_topics eq 'y'}
{$channels[user].threads} | {/if} {if $prefs.forum_list_posts eq 'y'}{$channels[user].comments} | {/if} {if $prefs.forum_list_ppd eq 'y'}{$channels[user].posts_per_day|string_format:"%.2f"} | {/if} {if $prefs.forum_list_lastpost eq 'y'}
{if isset($channels[user].lastPost)}
{$channels[user].lastPost|tiki_short_datetime} {if $prefs.forum_reply_notitle neq 'y'}{$channels[user].lastPostData.title|escape}{/if} {tr}by{/tr} {$channels[user].lastPostData.userName|username} {/if} |
{/if}
{if $prefs.forum_list_visits eq 'y'}
{$channels[user].hits} | {/if}
{actions}
{strip}
|