Deewzz Posted September 29, 2014 Share Posted September 29, 2014 Всем доброго дня! Пытаюсь настроить функцию при нажатии кнопки "Ответить" таким образом, чтобы вместо цитирования сообщения в форму редактора вставлялось обращение по логину. Подскажите, пожалуйста, что нужно изменить в коде? <if test="replyButtonWarn:|:!$this->memberData['unacknowledged_warnings'] && !$this->memberData['restrict_post']"> <if test="replyButton:|:$post['post']['_canReply']"> <li><a href="{parse url="module=post§ion=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§ion=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 More sharing options...
newbie Posted September 29, 2014 Share Posted September 29, 2014 Этот хук чем не устраивает? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now