| Server IP : 127.0.1.1 / Your IP : 216.73.216.83 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/public_html/lib/pkp/templates/user/ |
Upload File : |
{**
* templates/user/userPasswordReset.tpl
*
* Copyright (c) 2014-2022 Simon Fraser University
* Copyright (c) 2000-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Form to reset a user's password
*
*}
{extends file="layouts/backend.tpl"}
{block name="page"}
<h1 class="app__pageHeading">
{translate key=$pageTitle}
</h1>
<div class="app__contentPanel">
<script>
$(function() {ldelim}
// Attach the form handler.
$('#updateResetPassword').pkpHandler('$.pkp.controllers.form.FormHandler');
{rdelim});
</script>
{if !$passwordLengthRestrictionLocaleKey}
{assign var="passwordLengthRestrictionLocaleKey" value="user.register.form.passwordLengthRestriction"}
{/if}
<form class="pkp_form" id="updateResetPassword" method="post" action="{url page="login" op="updateResetPassword"}">
{csrf}
{include file="common/formErrors.tpl"}
<p><span class="instruct">{translate key="user.login.passwordResetProcessInstructions"}</span></p>
{fbvFormArea id="loginFields"}
{fbvFormSection label="user.profile.newPassword" for="password"}
{fbvElement type="text" required=true password=true id="password" value=$password maxlength="32" size=$fbvStyles.size.MEDIUM}
{fieldLabel translate=true for=password key=$passwordLengthRestrictionLocaleKey length=$minPasswordLength}
{/fbvFormSection}
{fbvFormSection label="user.profile.repeatNewPassword" for="password2"}
{fbvElement type="text" required=true password=true id="password2" value=$password2|default:""|escape maxlength="32" size=$fbvStyles.size.MEDIUM}
{/fbvFormSection}
{fbvElement type="hidden" id="username" value=$username}
{fbvElement type="hidden" id="hash" value=$hash}
<p>
{capture assign="privacyUrl"}{url router=$smarty.const.ROUTE_PAGE page="about" op="privacy"}{/capture}
{translate key="user.privacyLink" privacyUrl=$privacyUrl}
</p>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
{fbvFormButtons hideCancel=true submitText="common.save"}
{/fbvFormArea}
</form>
</div>
{/block}