Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Опубликовано:

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

 

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

 

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

 

<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>

Рекомендованные сообщения

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.