fuc/storage/framework/smarty/compile/8e5ebbebc42ac8f42a5d4134a614b7bb1ccba05e_0.file_reset.tpl.php
2025-03-13 17:13:42 +08:00

86 lines
3.8 KiB
PHP
Executable File

<?php
/* Smarty version 5.3.1, created on 2025-02-03 01:59:00
from 'file:password/reset.tpl' */
/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.3.1',
'unifunc' => 'content_679fb26464fea5_30351529',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8e5ebbebc42ac8f42a5d4134a614b7bb1ccba05e' =>
array (
0 => 'password/reset.tpl',
1 => 1712762115,
2 => 'file',
),
),
'includes' =>
array (
'file:header.tpl' => 1,
'file:captcha/div.tpl' => 1,
'file:captcha/ajax.tpl' => 1,
'file:captcha/js.tpl' => 1,
'file:footer.tpl' => 1,
),
))) {
function content_679fb26464fea5_30351529 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/www/wwwroot/fuuu.cloud/resources/views/tabler/password';
$_smarty_tpl->renderSubTemplate('file:header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
?>
<body class="border-top-wide border-primary d-flex flex-column">
<div class="page page-center">
<div class="container-tight my-auto">
<div class="text-center mb-4">
<a href="#" class="navbar-brand navbar-brand-autodark">
<img src="/images/uim-logo-round_96x96.png" height="64" alt="SSPanel-UIM Logo">
</a>
</div>
<div class="card card-md">
<div class="card-body">
<h2 class="card-title text-center mb-4">忘记密码</h2>
<p class="text-secondary mb-4">
我们将向你的注册邮箱发送一封邮件,邮件内容中包含一个可以重设密码的链接
</p>
<div class="mb-3">
<label class="form-label">注册邮箱</label>
<input id="email" type="email" class="form-control">
</div>
<div class="mb-3">
<div class="input-group mb-3">
<?php if ($_smarty_tpl->getValue('public_setting')['enable_reset_password_captcha']) {?>
<?php $_smarty_tpl->renderSubTemplate('file:captcha/div.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
?>
<?php }?>
</div>
</div>
<div class="form-footer">
<button id="send" class="btn btn-primary w-100"
hx-post="/password/reset" hx-swap="none" hx-vals='js:{
<?php if ($_smarty_tpl->getValue('public_setting')['enable_reset_password_captcha']) {?>
<?php $_smarty_tpl->renderSubTemplate('file:captcha/ajax.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
?>
<?php }?>
email: document.getElementById("email").value,
}'>
<i class="ti ti-brand-telegram icon"></i>
发送邮件
</button>
</div>
</div>
</div>
<div class="text-center text-secondary mt-3">
已有账户? <a href="/auth/login" tabindex="-1">点击登录</a>
</div>
</div>
</div>
<?php if ($_smarty_tpl->getValue('public_setting')['enable_reset_password_captcha']) {?>
<?php $_smarty_tpl->renderSubTemplate('file:captcha/js.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
}
$_smarty_tpl->renderSubTemplate('file:footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
}
}