mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 02:42:23 +09:00
Initial implementation of view comment screen
This commit is contained in:
parent
07da55ba8e
commit
a85c3ccb01
10 changed files with 109 additions and 2 deletions
|
|
@ -340,7 +340,7 @@ class commentItem extends Object
|
|||
|
||||
if($strlen)
|
||||
{
|
||||
return cut_str(strip_tags($content), $strlen, '...');
|
||||
return cut_str(trim(strip_tags($content)), $strlen, '...');
|
||||
}
|
||||
|
||||
return htmlspecialchars($content, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||
|
|
|
|||
|
|
@ -49,4 +49,5 @@ $lang->improper_comment_reasons['others'] = 'Others (Write your own)';
|
|||
$lang->about_improper_comment_declare = 'Write here why you report this comment as an improper thing.';
|
||||
$lang->msg_deleted_comment = 'This comment has been deleted.';
|
||||
$lang->msg_admin_deleted_comment = 'This comment has been deleted by an administrator.';
|
||||
$lang->msg_no_text_comment = 'This comment contains no text.';
|
||||
$lang->msg_comment_notify_mail = "[%s] A new comment was posted on document: \" %s \"";
|
||||
|
|
|
|||
|
|
@ -53,4 +53,5 @@ $lang->improper_comment_reasons['others'] = '기타(직접작성)';
|
|||
$lang->about_improper_comment_declare = '댓글을 신고하신 이유를 간단히 적어서 제출해주시면 관리자 검토 후 조치하겠습니다.';
|
||||
$lang->msg_deleted_comment = '삭제된 댓글입니다.';
|
||||
$lang->msg_admin_deleted_comment = '관리자가 삭제한 댓글입니다.';
|
||||
$lang->msg_no_text_comment = '글자가 없는 댓글입니다.';
|
||||
$lang->msg_comment_notify_mail = '[%s] 새로운 댓글이 등록되었습니다 : %s';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue