Перейти до змісту
Домент ipb-board.ru продається.

Отключить Быстрый Ответ

Рекомендовані відповіді

Опубліковано
  • Адміністратор

post-2-0-95576200-1447525054_thumb.png

Админ Панель-Внешний вид-Ваш стиль-Темы-TopicViewTemplate найти:

<if test="fastReply:|:$displayData['fast_reply'] && $displayData['reply_button']['url']"><hr><div class="ipsBox" id="fast_reply_wrapper">	<div class="ipsBox_container ipsPad">		<h1 class="ipsType_subtitle">{$this->lang->words['topic_add_reply']}</h1>		<if test="isLockedFR:|:$topic['state'] == 'closed'"><span class="error">{$this->lang->words['locked_reply_fr']}</span></if>				<if test="isMember:|:$this->memberData['member_id']">			<a href="%7Bparse%20url=" showuser="{$this-">memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'><img src="%7B$this-%3EmemberData[" pp_small_photo']}'="" alt="{parse expression=" sprintf($this-="">lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_medium' /></a>		<else>			<div class="left">{IPSMember::buildNoPhoto(0, 'small' )}</div>		</else></if>		<div class="ipsBox_withphoto clearfix">			<form action="{parse url=" "="" base="public" }"="" method="post" id="ips_fastReplyForm">				<input name="app" value="forums" type="hidden">				<input name="module" value="post" type="hidden">				<input name="section" value="post" type="hidden">				<input name="do" value="reply_post_do" type="hidden">				<input name="f" value="{$forum['id']}" type="hidden">				<input name="t" value="{$topic['tid']}" type="hidden">				<input name="st" value="{$this->request['st']}" type="hidden">				<input name="auth_key" value="{$this->member->form_hash}" type="hidden">				<input name="fast_reply_used" value="1" type="hidden">				<input name="enableemo" value="yes" type="hidden">				<input name="enablesig" value="yes" type="hidden">				<if test="$this->memberData['auto_track']">					<input name="enabletrack" value="1" type="hidden">				</if>				<if test="is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])">					<div class="message">{parse expression="implode( '', $topic['_fastReplyStatusMessage'] )"}</div>				</if>				{parse editor="Post" options="array( 'type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'autoSaveKey' => 'reply-' . $topic[tid] )"}												<fieldset class="right" id="fast_reply_controls">					<input name="submit" class="input_submit" value="{$this->lang->words[" qr_post']}'="" tabindex="0" accesskey="s" id="submit_post" type="submit">  <input name="preview" class="input_submit alt" value="{$this->lang->words[" qr_more_opts']}'="" tabindex="0" id="full_compose" type="submit">							</fieldset>			</form>		</div>		<div id="ips_HasReplies"></div>	</div></div><else>	<if test="loadJsManually:|:$displayData['load_editor_js']">		{parse template="editorLoadJs" group="editors" params="$displayData['smilies']"}	</if></else></if>

Сразу после кода, который вы удалили, вы увидите строку:

<!-- Close topic -->

Ниже добавить:

<ul class="topic_buttons">		<if test="closedButton:|:$displayData['reply_button']['image'] == 'locked'">			<li class="important">				<if test="pollOnly:|:isset($displayData['poll_data']['poll']['poll_only']) && $displayData['poll_data']['poll']['poll_only']">					<if test="closedButtonLink:|:$displayData['reply_button']['url']">						<a href="%7B$displayData[" reply_button']['url']}'="" accesskey="r">{parse replacement="lock_icon"} {$this->lang->words['top_poll_only_reply']}</a>					<else>						<span>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only']}</span>					</else></if>				<else>					<if test="closedButtonLink:|:$displayData['reply_button']['url']">						<a href="%7B$displayData[" reply_button']['url']}'="" accesskey="r">{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a>					<else>						<span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span>					</else></if>				</else></if>			</li>		<else>			<if test="replyButton:|:$displayData['reply_button']['image']">				<if test="replyButtonLink:|:$displayData['reply_button']['url']">					<li><a href="%7B$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>{$this->lang->words['top_cannot_reply']}</span></li>				</else></if>			</if>		</else></if>	</ul>

Для публікації повідомлень створіть обліковий запис або авторизуйтесь