mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix language display in mail log view
This commit is contained in:
parent
f9394ca26d
commit
73d940cd08
2 changed files with 8 additions and 1 deletions
|
|
@ -151,6 +151,9 @@ class Advanced_MailerAdminView extends Advanced_Mailer
|
|||
Context::set('page', $paging->page);
|
||||
Context::set('page_navigation', $paging->page_navigation);
|
||||
|
||||
$sending_methods = Rhymix\Framework\Mail::getSupportedDrivers();
|
||||
Context::set('sending_methods', $sending_methods);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('view_log');
|
||||
}
|
||||
|
|
@ -174,6 +177,9 @@ class Advanced_MailerAdminView extends Advanced_Mailer
|
|||
Context::set('page', $paging->page);
|
||||
Context::set('page_navigation', $paging->page_navigation);
|
||||
|
||||
$sending_methods = Rhymix\Framework\Mail::getSupportedDrivers();
|
||||
Context::set('sending_methods', $sending_methods);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('view_log');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,8 @@
|
|||
</td>
|
||||
<td class="nowr">{htmlspecialchars($val->subject)}</td>
|
||||
<td class="nowr">
|
||||
{Context::getLang('cmd_advanced_mailer_sending_method_' . $val->sending_method)}
|
||||
{@ if($val->sending_method === 'mail') $val->sending_method = 'mailfunction'}
|
||||
{isset($sending_methods[$val->sending_method]['name']) ? $sending_methods[$val->sending_method]['name'] : $val->sending_method}
|
||||
</td>
|
||||
<td class="nowr">{(zdate($val->regdate, "Y-m-d\nH:i:s"))}</td>
|
||||
<td class="nowr">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue