{lang="topic_unlocks_at" htmlsprintf="\IPS\DateTime::ts( $topic->topic_open_time )->html(), \IPS\DateTime::ts( $topic->topic_open_time )->localeTime( FALSE )"}
{{elseif !$topic->locked() && $topic->topic_close_time && $topic->topic_close_time > time()}}{lang="topic_locks_at" htmlsprintf="\IPS\DateTime::ts( $topic->topic_close_time )->html(), \IPS\DateTime::ts( $topic->topic_close_time )->localeTime( FALSE )"}
{{endif}} {{if \count( $topic->tags() ) OR ( $topic->canEdit() AND $topic::canTag( NULL, $topic->container() ) )}} {template="tags" group="global" app="core" params="$topic->tags(), FALSE, FALSE, ( $topic->canEdit() AND ( \count( $topic->tags() ) OR $topic::canTag( NULL, $topic->container() ) ) ) ? $topic->url() : NULL"} {{endif}}{{if $topic->isQuestion()}}{lang="rate_this_question"}{{else}}{lang="rate_this_topic"}{{endif}}
{{endif}} {$topic->rating()|raw}{$topic->hiddenBlurb()}
{lang="question_title"}
{template="postContainer" group="topics" app="forums" params="$topic, $question, $votes, 'cPostQuestion ipsBox--child sm:ipsPadding_horizontal:half'"}{lang="answer_count" pluralize="( $topic->posts ) ? $topic->posts - 1 : 0"}
{{if ( \count( $topic->commentMultimodActions() ) && ( $topic->posts > 1 OR $topic->mapped('unapproved_comments') > 0 OR $topic->mapped('hidden_comments') > 0 ) ) || $pagination}}-
0
- {lang="select_rows"}
- {lang="all"}
- {lang="none"}
- {lang="hidden"}
- {lang="unhidden"}
- {lang="unapproved"}
{{endif}}
-
{lang="sort_by_answers"}
-
{lang="sort_by_date"}
{{if $pagination}} {$pagination|raw} {{endif}}-
0
- {lang="select_rows"}
- {lang="all"}
- {lang="none"}
- {lang="hidden"}
- {lang="unhidden"}
- {lang="unapproved"}
{{endif}} {{if $pagination}} {$pagination|raw} {{endif}}{lang="topic_is_archived"}
{lang="topic_archived_desc"}
{lang="topic_locked_can_comment"}
{{elseif ( $topic->getPoll() and $topic->getPoll()->poll_only )}}{lang="topic_poll_can_comment"}
{{endif}} {$topic->commentForm()|raw} {{else}} {{if $topic->locked()}} {template="commentUnavailable" group="forms" location="front" app="core" params="'topic_locked_cannot_comment'"} {{elseif \IPS\Member::loggedIn()->restrict_post}} {template="commentUnavailable" group="forms" location="front" app="core" params="'restricted_cannot_comment', \IPS\Member::loggedIn()->warnings(5,NULL,'rpa'), \IPS\Member::loggedIn()->restrict_post"} {{elseif \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}} {template="commentUnavailable" group="forms" location="front" app="core" params="'unacknowledged_warning_cannot_post', \IPS\Member::loggedIn()->warnings( 1, FALSE )"} {{elseif !\IPS\Member::loggedIn()->checkPostsPerDay()}} {template="commentUnavailable" group="forms" location="front" app="core" params="'member_exceeded_posts_per_day'"} {{endif}} {{endif}}