first commit
This commit is contained in:
25
extend/conf/tpl/captcha.tpl
Normal file
25
extend/conf/tpl/captcha.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<div style="background-color:#ECECEC; padding: 35px;">
|
||||
<table cellpadding="0" align="center" style="width: 80%; margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th valign="middle" style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C46200; background-color: #e01b3c; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
|
||||
<font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">{site_name}</font></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="padding:25px 35px 40px; background-color:#fff;">
|
||||
<h2 style="margin: 5px 0px; ">
|
||||
<font color="#333333" style="line-height: 20px; ">
|
||||
<font style="line-height: 22px; " size="4">亲爱的用户:</font></font>
|
||||
</h2>
|
||||
<p style="font-size:14px;">
|
||||
验证码为 {code}, 10分钟有效<br/>
|
||||
如果不是您自己的操作,请忽略!
|
||||
</p><br/>
|
||||
<p align="right" style="font-size:14px;">{site_name} 官方团队</p>
|
||||
<p align="right" style="font-size:14px;">{time}</p></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
41
extend/conf/tpl/close.tpl
Normal file
41
extend/conf/tpl/close.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>您访问的站点已被关闭</title>
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
|
||||
<style>
|
||||
*{ padding:0; margin:0; box-sizing: border-box;font-family: "微软雅黑"; }
|
||||
body,html{ width:100%; height:100%; }
|
||||
body {background: #f2f2f2;font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;}
|
||||
img{ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
|
||||
.container{ max-width:90%; margin:10% auto; padding:80px 0px; }
|
||||
.bg{ display:block; max-width:100%; margin:0px auto; text-align: center;}
|
||||
.btn{ width:400px; margin:0 auto; max-width:100%; margin-top:40px; }
|
||||
.btn a{ float:left; text-decoration: none; width:46.5%; border:1px solid #5298ff; background:#5298ff; color:#FFF; display:block; height:46px; line-height:44px; text-align:center; font-size:16px; border-radius:3px; overflow: hidden; }
|
||||
.btn .goindex{ margin-right:7%; }
|
||||
.btn .lx{ border: 1px solid #d8d8d8; background: #ffffff; color: #8c8c8c; }
|
||||
.btn .lx:hover{ border:1px solid #5298ff; background:#5298ff; color:#FFF; }
|
||||
.font {font-size: 50px;font-weight: 600;margin-bottom: 80px;}
|
||||
@media screen and (max-width: 500px) {
|
||||
.btn{ width:85%; }
|
||||
.btn a{ width:100%; font-size:15px; height:42px; line-height:42px; }
|
||||
.btn .goindex{ margin-right:0; margin-bottom:20px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="bg">
|
||||
<div class="font">网站维护中</div>
|
||||
<div>{text}</div>
|
||||
</div>
|
||||
<div class="btn">
|
||||
<a href="//www.swiftadmin.net" class="goindex" target="_blank">开发者</a>
|
||||
<a href="mailto:#email" title="发送邮件" class="lx">联系站长</a>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
26
extend/conf/tpl/forgot.tpl
Normal file
26
extend/conf/tpl/forgot.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div style="background-color:#ECECEC; padding: 35px;">
|
||||
<table cellpadding="0" align="center" style="width: 80%; margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th valign="middle" style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C46200; background-color: #e01b3c; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
|
||||
<font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">{site_name}</font></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="padding:25px 35px 40px; background-color:#fff;">
|
||||
<h2 style="margin: 5px 0px; ">
|
||||
<font color="#333333" style="line-height: 20px; ">
|
||||
<font style="line-height: 22px; " size="4">亲爱的用户:</font></font>
|
||||
</h2>
|
||||
<p style="font-size:14px;">
|
||||
|
||||
找回密码链接请点击:{url} 10分钟有效<br/>
|
||||
如果您有什么疑问可以联系管理员,Email: {email}。
|
||||
</p><br/>
|
||||
<p align="right" style="font-size:14px;">{site_name} 官方团队</p>
|
||||
<p align="right" style="font-size:14px;">{time}</p></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
26
extend/conf/tpl/register.tpl
Normal file
26
extend/conf/tpl/register.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div style="background-color:#ECECEC; padding: 35px;">
|
||||
<table cellpadding="0" align="center" style="width: 80%; margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th valign="middle" style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C46200; background-color: #e01b3c; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
|
||||
<font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">{site_name}</font></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="padding:25px 35px 40px; background-color:#fff;">
|
||||
<h2 style="margin: 5px 0px; ">
|
||||
<font color="#333333" style="line-height: 20px; ">
|
||||
<font style="line-height: 22px; " size="5">亲爱的 {username}:</font></font>
|
||||
</h2>
|
||||
<p style="font-size:14px;">
|
||||
感谢您加入{site_name}! 请您在发表言论时,遵守当地法律法规。<br/>
|
||||
请点击链接激活:{url} 10分钟有效<br/>
|
||||
如果您有什么疑问可以联系管理员,Email: {email}。
|
||||
</p><br/>
|
||||
<p align="right" style="font-size:14px;">{site_name} 官方团队</p>
|
||||
<p align="right" style="font-size:14px;">{time}</p></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
12
extend/conf/tpl/tpl.php
Normal file
12
extend/conf/tpl/tpl.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
return array (
|
||||
'1'=>array(
|
||||
'name'=>'用户注册',
|
||||
'path'=>'extend/conf/tpl/register.tpl'
|
||||
),
|
||||
'2'=>array(
|
||||
'name'=>'找回密码',
|
||||
'path'=>'extend/conf/tpl/forgot.tpl'
|
||||
),
|
||||
// TODO...
|
||||
);
|
||||
Reference in New Issue
Block a user