View file globalchat/view/globalchat/templates/ajax_chat_quick_msg.tpl

File size: 697B
{* Smarty *}

<div id='quick_msg' class='{$smarty.const.DIV_C_QUICK_MSG}'>
{user_nick attrs="href='user_menu.php?user_id={$quickMsg.sender_id}'" user=$usersInfo.{$quickMsg.sender_id} icon='1'}<br />
{process_text text=$quickMsg.msg}<br />
<a href='#' onclick='show_quick_msg_form (); return false;'>Ответить</a> / <a href='#' onclick='read_quick_msg ({$quickMsg.id});'>Закрыть</a>
<div id='quick_msg_answer_form' style='display: none;'>
<textarea id='quick_msg_answer' name='quick_msg_answer_text' style='width: 80%'></textarea><br />
<button onclick='send_quick_msg ({$quickMsg.sender_id}, {$quickMsg.id});'>Ответить на сообщение</button>
</div>
</div>