Files
Testing/templates/set_password.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

105 lines
3.1 KiB
Smarty

{include file="header-onboard.tpl"}{literal}
<main role="main" id="internal-pages">
<div class="container">
<div class="row w-100 py-10">
{/literal}
{if $submitted == 2}
<div style="width: 100%; max-width: 1075px; margin: 0 auto;">
<div class="col-12 mx-0 px-0 fs-custom">
<h1 class="text-orange">Your password's been changed.</h1>
You've successfully changed your BateWorld password.
<br><br>
<br>
<br>
<br>
<a href="/login.php">Click here to log in.</a>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
{elseif $is_error == 750}
<div style="width: 100%; max-width: 715px; margin: 0 auto;">
<div class="col-12 mx-0 px-0 fs-custom">
<h1 class="text-orange">This link has expired.</h1>
Still need to reset your password?
<br><br>
<br>
<br>
<br>
<a href="/lostpass.php">Click here to request a password reset.</a>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
{else}
<div style="width: 100%; max-width: 450px; margin: 0 auto;">
<div class="col-12 mx-0 px-0 fs-custom">
<h1 class="text-orange">Password</h1>
{if $is_error!=0}<p>
{lang_print id=$is_error}</p>{/if}
{if $is_error != 750}
{literal}
<form action="setpassword.php" data-toggle="validator" novalidate method="post" class="customformfull">{/literal}
<input type='hidden' name='task' value='reset'>
<input type='hidden' name='r' value='{$r}'>
<input type='hidden' name='user' value='{$owner->user_info.user_username}'> <p>{literal}
<label label-for="email">
Set a new password<br>
<input type="password" class="form-control" id="user_password" name="user_password" style="background: #1d1d1d; color:#fe8800" required>
</label>
<div style="color: #7f7f7f; font-size:13px; line-height:150%;">Use at least 8 characters. Don't use a password from another site, or something obvious like a birthday or pet.</div>
</p>
<p>
<label label-for="password">
Confirm new password<br>
<input type="password" class="form-control" id="user_password2" name="user_password2" style="background: #1d1d1d;color: #fe8800" required>
</label>
</p>
<p><input type="submit" value="Log In" class="btn btn-orange-full-short"></p>
<p class="pt-5 pb-1 fs-custom-md text-center">New to BateWorld? <a href="signup.php">Join Now</a></p>
</form>
{/literal}{/if}
</div>
<div class="clearfix"></div>
</div>{/if}
</div>
</div>
</main>
{include file="footer-onboard.tpl"}