no message
This commit is contained in:
parent
8366f96321
commit
b45114121d
35
resources/email/war.tpl
Executable file
35
resources/email/war.tpl
Executable file
@ -0,0 +1,35 @@
|
|||||||
|
{include file='header.tpl'}
|
||||||
|
|
||||||
|
<body style="background-color:#EEEEEE;">
|
||||||
|
<div style="text-align: center">
|
||||||
|
<div border="0" cellpadding="0" cellspacing="0" width="100%"
|
||||||
|
style="padding-top:30px;table-layout:fixed;background-color:#EEEEEE;" id="bodyTable">
|
||||||
|
<div align="center" valign="top" style="padding-right:10px;padding-left:10px;" id="bodyCell">
|
||||||
|
<div border="0" cellpadding="0" cellspacing="0"
|
||||||
|
style="background-color:#FFFFFF;max-width:600px;text-align: center" width="100%" class="wrapperTable">
|
||||||
|
<div align="center" valign="top">
|
||||||
|
<div border="0" cellpadding="0" cellspacing="0" width="100%" class="logoTable">
|
||||||
|
<div align="center" valign="middle" style="padding-top:60px;padding-bottom:60px">
|
||||||
|
<h2 class="bigTitle">
|
||||||
|
重要通知
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div border="0" cellpadding="0" cellspacing="0" style="max-width:600px;text-align: center" width="100%"
|
||||||
|
class="wrapperTable">
|
||||||
|
<div align="center" valign="top">
|
||||||
|
<div border="0" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF" width="100%"
|
||||||
|
class="oneColumn">
|
||||||
|
<div align="center" valign="top"
|
||||||
|
style="padding-bottom:60px;padding-left:20px;padding-right:20px;" class="description">
|
||||||
|
<p class="midText">
|
||||||
|
{$text}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{include file='footer.tpl'}
|
||||||
@ -19,16 +19,18 @@ final class Email
|
|||||||
{
|
{
|
||||||
$subject = "福云 - 重要通知:域名地址变更!";
|
$subject = "福云 - 重要通知:域名地址变更!";
|
||||||
|
|
||||||
// $content = strip_tags(
|
|
||||||
// str_replace(
|
|
||||||
// ['<p>','</p>'],
|
|
||||||
// ['','<br><br>'],
|
|
||||||
// $request->getParam('content')
|
|
||||||
// ),
|
|
||||||
// ['br', 'a', 'strong']
|
|
||||||
// );
|
|
||||||
|
|
||||||
$content = "主域名fuuu.cloud被封禁,已更换为fuuuu.cloud(多一个u)。";
|
|
||||||
|
$text = "主域名fuuu.cloud被封禁,已更换为fuuuu.cloud(多一个u)。";
|
||||||
|
|
||||||
|
$content = strip_tags(
|
||||||
|
str_replace(
|
||||||
|
['<p>','</p>'],
|
||||||
|
['','<br><br>'],
|
||||||
|
$text
|
||||||
|
),
|
||||||
|
['br', 'a', 'strong']
|
||||||
|
);
|
||||||
|
|
||||||
// $users = (new User())->where('class', '>=', 0)
|
// $users = (new User())->where('class', '>=', 0)
|
||||||
// ->get();
|
// ->get();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user