Enable word-wrap in the email subject and SMS content fields of advanced mailer logs

This commit is contained in:
Kijin Sung 2017-07-08 21:44:15 +09:00
parent 8289a4b925
commit e18857532d
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
<br /> <br />
<!--@end--> <!--@end-->
</td> </td>
<td class="nowr">{htmlspecialchars($val->subject)}</td> <td class="nowr" style="white-space:normal">{htmlspecialchars($val->subject)}</td>
<td class="nowr"> <td class="nowr">
{@ if($val->sending_method === 'mail') $val->sending_method = 'mailfunction'} {@ if($val->sending_method === 'mail') $val->sending_method = 'mailfunction'}
{strval(isset($sending_methods[$val->sending_method]['name']) ? $sending_methods[$val->sending_method]['name'] : $val->sending_method)} {strval(isset($sending_methods[$val->sending_method]['name']) ? $sending_methods[$val->sending_method]['name'] : $val->sending_method)}

View file

@ -24,7 +24,7 @@
<td class="nowr"> <td class="nowr">
{htmlspecialchars($val->sms_to)} {htmlspecialchars($val->sms_to)}
</td> </td>
<td class="nowr">{nl2br(htmlspecialchars($val->content))}</td> <td class="nowr" style="white-space:normal">{nl2br(htmlspecialchars($val->content))}</td>
<td class="nowr"> <td class="nowr">
{@ if($val->sending_method === 'mail') $val->sending_method = 'mailfunction'} {@ if($val->sending_method === 'mail') $val->sending_method = 'mailfunction'}
{strval(isset($sending_methods[$val->sending_method]['name']) ? $sending_methods[$val->sending_method]['name'] : $val->sending_method)} {strval(isset($sending_methods[$val->sending_method]['name']) ? $sending_methods[$val->sending_method]['name'] : $val->sending_method)}