Jump to content

Обращение по лоигну вместо цитаты


Deewzz
 Share

Recommended Posts

Всем доброго дня!

 

Пытаюсь настроить функцию при нажатии кнопки "Ответить" таким образом, чтобы вместо цитирования сообщения в форму редактора вставлялось обращение по логину.

 

Подскажите, пожалуйста, что нужно изменить в коде?

 

<if test="replyButtonWarn:|:!$this->memberData['unacknowledged_warnings'] && !$this->memberData['restrict_post']">
				<if test="replyButton:|:$post['post']['_canReply']">
					<li><a href="{parse url="module=post&section=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}"  class='_ips_trigger_quote' pid="{$post['post']['pid']}" title="{$this->lang->words['tt_reply_to_post']}"><img src="{style_images_url}/comment_new.png" alt="" /> {$this->lang->words['post_reply']}</a></li>
					<!--<if test="multiquote:|:!empty( $post['post']['_mq_selected'] )">
						<li class='selected multiquote' id='multiq_{$post['post']['pid']}' style='display: none'>
					<else />
						<li class='multiquote' id='multiq_{$post['post']['pid']}' style='display: none'>
					</if>
						<a href="{parse url="module=post&section=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" title="{$this->lang->words['quote_with_mq']}"><img src="{style_images_url}/mq_post.png" alt="" /> {$this->lang->words['mq']}</a>-->
					</li>
				</if>
</if>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...