mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
신고 선택지 추가, 모바일 신고 환경 개선
- 신고 사유를 선택지 중 선택할 수 있게 함 - 팝업 메뉴의 스타일을 개선하여 모바일에서 적절하게 터치할 수 있게 함.
This commit is contained in:
parent
f77b8fde3c
commit
644ed8eb05
6 changed files with 101 additions and 16 deletions
|
|
@ -194,8 +194,11 @@ class documentController extends document
|
|||
{
|
||||
if(!Context::get('is_logged')) return new Object(-1, 'msg_not_logged');
|
||||
|
||||
$improper_document_reasons = Context::getLang('improper_document_reasons');
|
||||
|
||||
$document_srl = Context::get('target_srl');
|
||||
$declare_message = Context::get('declare_message');
|
||||
$message_option = Context::get('message_option');
|
||||
$declare_message = ($message_option !== 'others' && isset($improper_document_reasons[$message_option]))? $improper_document_reasons[$message_option] : Context::get('declare_message');
|
||||
if(!$document_srl) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
if(Context::get('success_return_url'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue