mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #1269 use proper translation for browser title
This commit is contained in:
parent
16b6b69276
commit
f5f2cd99e0
2 changed files with 6 additions and 2 deletions
|
|
@ -194,7 +194,9 @@ class boardController extends board
|
|||
// send an email to admin user
|
||||
if ($this->module_info->admin_mail && config('mail.default_from'))
|
||||
{
|
||||
$mail_title = sprintf(lang('msg_document_notify_mail'), $this->module_info->browser_title, cut_str($obj->title, 20, '...'));
|
||||
$browser_title = $this->module_info->browser_title;
|
||||
getController('module')->replaceDefinedLangCode($browser_title);
|
||||
$mail_title = sprintf(lang('msg_document_notify_mail'), $browser_title, cut_str($obj->title, 20, '...'));
|
||||
$mail_content = sprintf("From : <a href=\"%s\">%s</a><br/>\r\n%s", getFullUrl('', 'document_srl', $output->get('document_srl')), getFullUrl('', 'document_srl', $output->get('document_srl')), $obj->content);
|
||||
|
||||
$oMail = new \Rhymix\Framework\Mail();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue