Loading...
Skip to main content
Site identity, navigation, etc.
Log in
Username
Password
I forgot my password
CapsLock is on.
Log in
Stay in SSL mode
Navigation and related functionality and content
Related content
View template: tiki-view_forum_thread.tpl
Edit CSS
Template listing
{block name=title} {title help="forums" admpage="forums"} {$forum_info.name} {if $prefs.feature_forum_topics_archiving eq 'y' && $thread_info.archived eq 'y'}({tr}Archived{/tr}){/if} {/title} {/block} <div class="t_navbar mb-4"> {if $tiki_p_admin_forum eq "y"} {button href="tiki-admin_forums.php?forumId=$forumId" _type="link" _icon_name="wrench" _text="{tr}Edit Forum{/tr}"} {/if} {if $tiki_p_admin_forum eq 'y' or (!isset($all_forums) and $tiki_p_forum_read eq "y") or $all_forums|@count > 1} {button href="tiki-forums.php" _type="link" _icon_name="list" _text="{tr}Forum List{/tr}"} {/if} {if $tiki_p_forum_read eq "y"} {button href="tiki-view_forum.php?forumId=$forumId" _type="link" _icon_name="list" _text="{tr}Topic List{/tr}"} {/if} </div> {if $post_reported eq 'y'} {remarksbox type=warning title="{tr}The post has been reported and will be reviewed by a moderator.{/tr}"}{/remarksbox} {/if} <br> <div id="thread-breadcrumb" class="breadcrumb d-flex justify-content-between mb-4"> <div> <a class="link" href="{if $prefs.feature_sefurl eq 'y'}forums{else}tiki-forums.php{/if}"> {tr}Forums{/tr} </a> {$prefs.site_crumb_seper} <a class="link" href="{$forumId|sefurl:'forum'}"> {$forum_info.name|escape} </a>{if isset($thread_info.topic.threadId) and $thread_info.topic.threadId} {$prefs.site_crumb_seper} <a class="link" href="{$thread_info.topic.threadId|sefurl:'forumthread'}{if !empty($smarty.request.topics_offset)}&topics_offset={$smarty.request.topics_offset}{/if}{$topics_sort_mode_param}{$topics_threshold_param}{$topics_find_param}"> {$thread_info.topic.title} </a> {/if} {$prefs.site_crumb_seper} {$thread_info.title|escape} <div> {if empty($thread_info.topic.threadId)} <span> {if ($prev_topic and $prev_topic ne $comments_parentId) or $next_topic}{if $prev_topic and $prev_topic ne $comments_parentId}<a href="tiki-view_forum_thread.php?comments_parentId={$prev_topic}&topics_offset={$topics_prev_offset}{$topics_sort_mode_param}{$topics_threshold_param}{$topics_find_param}{$comments_per_page_param}{$thread_style_param}{$thread_sort_mode_param}{$comments_threshold_param}" class="link">{icon name="angle-left"}{tr}Previous topic{/tr}</a>{if $next_topic} | {/if}{/if} {if $next_topic}<a href="tiki-view_forum_thread.php?comments_parentId={$next_topic}&topics_offset={$topics_next_offset}{$topics_sort_mode_param}{$topics_threshold_param}{$topics_find_param}{$comments_per_page_param}{$thread_style_param}{$thread_sort_mode_param}{$comments_threshold_param}" class="link">{tr}Next topic{/tr} {icon name="angle-right"}</a>{/if}{/if} </span> {else} <span> {tr}You are viewing a reply to{/tr} <a class="link" href="tiki-view_forum_thread.php?comments_parentId={$thread_info.topic.threadId}{if !empty($smarty.request.topics_offset)}&topics_offset={$smarty.request.topics_offset}{/if}{$topics_sort_mode_param}{$topics_threshold_param}{$topics_find_param}">{$thread_info.topic.title}</a> </span> {/if} </div> </div> <div class="text-end"> {block name=thread_actions} <div class="btn-group"> {if ! $js}<ul><li>{/if} <a class="btn btn-info btn-sm dropdown-toggle" data-bs-toggle="dropdown" href="#" title="{tr}Forum actions{/tr}"> {icon name="menu-extra"} </a> <div class="dropdown-menu dropdown-menu-end"> <h6 class="dropdown-header"> {tr}Thread actions{/tr} </h6> <div class="dropdown-divider"></div> {if $pdf_export eq 'y' and $tiki_p_export_pdf eq 'y'} <a class="dropdown-item" href="{$smarty.server.SCRIPT_NAME}?{query display='pdf'}"> {icon name="pdf"} {tr}PDF{/tr} </a> {/if} {if $tiki_p_print eq 'y'} <a class="dropdown-item" href="{$smarty.server.SCRIPT_NAME}?{query display='print'}"> {icon name="print"} {tr}Print this page{/tr} </a> {/if} </li> <li class="dropdown-item"> {if $tiki_p_print eq 'y'} <a href="{$smarty.server.SCRIPT_NAME}?{query display='print_all'}"> {icon name="print"} {tr}Print all pages{/tr} </a> {/if} {if $prefs.sefurl_short_url eq 'y'} <a class="dropdown-item" id="short_url_link" href="#" onclick="(function() { $(document.activeElement).attr('href', 'tiki-short_url.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title)); })();"> {icon name="link"} {tr}Get a short URL{/tr} {assign var="hasPageAction" value="1"} </a> {/if} {if $prefs.feature_forum_topics_archiving eq 'y' && $tiki_p_admin_forum eq 'y'} {if $thread_info.archived eq 'y'} <form action="{$smarty.server.SCRIPT_NAME}" method="post" class="float"> {ticket} <input type="hidden" name="comments_parentId" value={$comments_parentId}> <button type="submit" name="archive" value='n' class="tips btn btn-sm px-0 pt-0 pb-0"> {icon name="file-archive-open"} {tr}Unarchive{/tr} </button> </form> {else} <form action="{$smarty.server.SCRIPT_NAME}" method="post" class="float"> {ticket} <input type="hidden" name="comments_parentId" value={$comments_parentId}> <button type="submit" name="archive" value='y' class="tips btn btn-sm px-0 pt-0 pb-0"> {icon name="file-archive"} {tr}Archive{/tr} </button> </form> {/if} {/if} {* TODO the tiki_p_forum_lock permission has not been implemented so these actions never show*} {if isset($tiki_p_forum_lock) and $tiki_p_forum_lock eq 'y'} {if $thread_info.locked eq 'y'} <a class="dropdown-item" href="{query _type='relative' lock='n'}"> {icon name="unlock"} {tr}Unlock{/tr} </a> {else} <a class="dropdown-item" href="{query _type='relative' lock='y'}"> {icon name="lock"} {tr}Lock{/tr} </a> {/if} {/if} </div> {if ! $js}</li></ul>{/if} </div> </div> </div> {/block} {if $openpost eq 'y'} {assign var="postclass" value="forumpostopen"} {else} {assign var="postclass" value="forumpost"} {/if} <section class="top_post"> {if $prefs.feature_freetags eq 'y' and isset($tiki_p_view_freetags) and $tiki_p_view_freetags eq 'y' and $prefs.freetags_show_middle eq 'y' and !$thread_info.threadId} {include file='freetag_list.tpl'} <div class="text-end mb-4"> {wikiplugin _name="addfreetag" object="forum post:$comments_parentId"}{/wikiplugin} </div> {/if} {include file='comment.tpl' first='y' comment=$thread_info thread_style='commentStyle_plain'} </section> {include file='comments.tpl'} <form role="form" id='time_control' method="get" action="tiki-view_forum_thread.php"> <div class="mb-3 row mx-0"> <input type="hidden" name="comments_offset" value="0">{*Reset offset to 0 when applying a new filter *} <input type="hidden" name="comments_threadId" value="{$comments_threadId|escape}"> <input type="hidden" name="comments_parentId" value="{$comments_parentId|escape}"> <input type="hidden" name="comments_threshold" value="{$comments_threshold|escape}" /> <input type="hidden" name="thread_sort_mode" value="{$thread_sort_mode|escape}"> <input type="hidden" name="topics_offset" value="{$smarty.request.topics_offset|escape}"> <input type="hidden" name="topics_find" value="{$smarty.request.topics_find|escape}"> <input type="hidden" name="topics_sort_mode" value="{$smarty.request.topics_sort_mode|escape}"> <input type="hidden" name="topics_threshold" value="{$smarty.request.topics_threshold|escape}"> <input type="hidden" name="forumId" value="{$forumId|escape}"> <label class="col-form-label" for="userfile1">{tr}Show posts:{/tr}</label> <div class="col-sm-3"> <select class="form-select" name="time_control" onchange="javascript:document.getElementById('time_control').submit();"> <option value="" {if empty($smarty.request.time_control)}selected="selected"{/if}> {tr}All posts{/tr} </option> <option value="3600" {if isset($smarty.request.time_control) and $smarty.request.time_control eq 3600}selected="selected"{/if}> {tr}Last hour{/tr} </option> <option value="86400" {if isset($smarty.request.time_control) and $smarty.request.time_control eq 86400}selected="selected"{/if}> {tr}Last 24 hours{/tr} </option> <option value="172800" {if isset($smarty.request.time_control) and $smarty.request.time_control eq 172800}selected="selected"{/if}> {tr}Last 48 hours{/tr} </option> </select> </div> </div> </form> <div class="mb-3"> {if $prefs.feature_forum_quickjump eq 'y' && $all_forums|@count > 1} <form role="form" id='quick' class="row" method="get" action="tiki-view_forum.php"> <label class="col-sm-6 col-form-label text-end" for="forumId">{tr}Jump to forum:{/tr}</label> <div class="col-sm-6"> <select id="forumId" class="form-control" name="forumId" onchange="javascript:document.getElementById('quick').trigger("submit");"> {section name=ix loop=$all_forums} <option value="{$all_forums[ix].forumId|escape}" {if $all_forums[ix].forumId eq $forumId}selected="selected"{/if}> {$all_forums[ix].name} </option> {/section} </select> </div> </form> {else} {/if} </div> {if isset($view_atts) and $view_atts eq 'y'} <h2 id="attachments">{tr}Attachments{/tr}</h2> <div class="table-responsive"> <table class="table table-striped table-hover"> <tr> <th>{tr}Type{/tr}</th> <th>{tr}Filename{/tr}</th> <th>{tr}Size{/tr}</th> <th>{tr}Created{/tr}</th> <th>{tr}Action{/tr}</th> </tr> {foreach from=$atts.data item=att} <tr> <td class="icon"> {$att.filename|iconify} </td> <td class="text"> <a href="tiki-download_forum_attachment.php?attId={$att.attId}" title="{tr}Download{/tr}"> {$att.filename|escape} </a> </td> <td class="integer"> {$att.filesize|kbsize} </td> <td class="date"> {$att.created|tiki_short_datetime} </td> <td class="action"> <a href="tiki-download_forum_attachment.php?attId={$att.attId}" class="tips" title="{$att.filename|escape}:{tr}Download{/tr}"> {icon name='floppy'} </a> </td> </tr> {/foreach} </table> </div> {pagination_links cant=$atts.cant offset=$atts.offset offset_arg='fa_offset' step=$atts.maxRecords _anchor='attachments'}{/pagination_links} {/if}
Related content
Most Popular Tags
adze
american woods
axe
broadleaf
broadleaf aspen
broadleafs
community
conifers
dendrology
eco friendly
education
froe
glossary
green
green woodworking
hammer
hard wood
hard woods
hardwoods
hickory
history
how to
joinery
literature
machinery
material processing
media
merchants
mortise
people
plane
poplar
safety
shaker
shave
society
soft woods
spokeshave
sustainable
template
tenon
terminology
tools
wood
works