Check if can i receive message when send message.

This commit is contained in:
BJRambo 2017-11-14 06:23:04 +09:00
parent a23f4f6647
commit e21c203a78
7 changed files with 82 additions and 1 deletions

View file

@ -7,6 +7,16 @@
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/communication/m.skins/default/send_message/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<div class="warning_label warning_label-important" cond="$logged_info->allow_message !== 'Y'">
{$lang->warning}
<br>
<!--@if($logged_info->allow_message == 'F')-->
{$lang->msg_allow_message_friend}
<!--@elseif($logged_info->allow_message == 'N')-->
{$lang->msg_allow_meesage_Block}
<!--@end-->
<br>{$lang->msg_allow_message_please}
</div>
<form ruleset="sendMessage" action="./" method="post" class="ff" id="fo_comm">
<input type="hidden" name="module" value="communication" />
<input type="hidden" name="is_popup" value="Y" />