mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
Improvement to cut the post title
This commit is contained in:
parent
e4140c5162
commit
c1e62d93c7
1 changed files with 1 additions and 2 deletions
|
|
@ -652,8 +652,7 @@ class commentController extends comment
|
|||
}
|
||||
// 매일 보내는 이를 관리자 계정으로 설정한다.
|
||||
$oMail->setSender($member_config->webmaster_name, $member_config->webmaster_email);
|
||||
$mail_title = sprintf(lang('msg_comment_notify_mail'), Context::get('mid'), $oDocument->getTitleText());
|
||||
//$mail_title = "[" . Context::get('mid') . "] A new comment was posted on document: \"" . $oDocument->getTitleText() . "\"";
|
||||
$mail_title = sprintf(lang('msg_comment_notify_mail'), Context::get('mid'), cut_str($oDocument->getTitleText(), 20, '...'));
|
||||
$oMail->setTitle($mail_title);
|
||||
$url_comment = getFullUrl('','document_srl',$obj->document_srl).'#comment_'.$obj->comment_srl;
|
||||
if($using_validation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue