Merge branch 'rhymix:master' into master

This commit is contained in:
Lastorder 2025-03-03 10:47:47 +09:00 committed by GitHub
commit e5b729f8e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
152 changed files with 2348 additions and 792 deletions

View file

@ -290,8 +290,9 @@ class CommunicationView extends communication
$option->editor_skin = $this->config->editor_skin;
$option->sel_editor_colorset = $this->config->editor_colorset;
$option->editor_focus = Context::get('source_message') ? 'Y' : 'N';
if(Context::get('m'))
if(Context::get('m') || stripos($_SERVER['HTTP_USER_AGENT'] ?? '', 'mobile') !== false)
{
$option->editor_toolbar = 'simple';
$option->editor_toolbar_hide = 'Y';
}
if ($option->allow_fileupload)

View file

@ -50,3 +50,7 @@ $lang->enable_communication_friend = 'Friend Enable';
$lang->enable_communication_message = 'Message Enable';
$lang->enable_attachment = 'Allow Attachment';
$lang->attachment_size_limit = 'Attachment Size Limit';
$lang->warning = 'Caution!';
$lang->msg_allow_message_friend = 'You can only receive direct messages from your friends.';
$lang->msg_allow_meesage_Block = 'Your direct message box is turned off.';
$lang->msg_allow_message_please = 'You should allow direct messages from everyone in order to receive the replies for this message.';