Jump to content

Как удалить кнопку "Ответить" в темах

Featured Replies

comment_58604

шаблон Темы > TopicViewTemplate
Код:

<if test="replyButton:|:$displayData['reply_button']['image']">
					<if test="replyButtonLink:|:$displayData['reply_button']['url']">
						<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{$this->lang->words['topic_add_reply']}</a></li>
					<else />
						<li class='disabled'><span><if test="isMemberTop:|: ! $this->memberData['member_id']">{$this->lang->words['topic_no_reply_guest']}<else />{$this->lang->words['top_cannot_reply']}</if></span></li>
					</if>
				</if>
comment_58614

Или поменять на:

<!--
<if test="replyButton:|:$displayData['reply_button']['image']">
                    <if test="replyButtonLink:|:$displayData['reply_button']['url']">
                        <li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{$this->lang->words['topic_add_reply']}</a></li>
                    <else />
                        <li class='disabled'><span><if test="isMemberTop:|: ! $this->memberData['member_id']">{$this->lang->words['topic_no_reply_guest']}<else />{$this->lang->words['top_cannot_reply']}</if></span></li>
                    </if>
                </if>
-->

чтобы, если что вернут смогли

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.