This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/templates/ktcore/principals/updatepassword.smarty

34 lines
1.4 KiB
Plaintext

<h2>{i18n}Force user to change password{/i18n}</h2>
<form action="{$smarty.server.PHP_SELF}" method="POST">
<input type="hidden" name="action" value="editUserSource" />
<input type="hidden" name="subaction" value="forcePasswordChange" />
<input type="hidden" name="user_id" value="{$edit_user->getId()}" />
<fieldset>
<legend>{i18n}Force user to change password{/i18n}</legend>
<p class="descriptiveText">{i18n}Force the user to change their password on their next login.{/i18n}</p>
<div class="form_actions">
<input type="submit" value="{i18n}change password{/i18n}" />
</div>
</fieldset>
</form>
<h2>{i18n}Change User's Password{/i18n}</h2>
<form action="{$smarty.server.PHP_SELF}" method="POST">
<input type="hidden" name="action" value="editUserSource" />
<input type="hidden" name="subaction" value="updatePassword" />
<input type="hidden" name="user_id" value="{$edit_user->getId()}" />
<fieldset>
<legend>{i18n}Change User's Password{/i18n}</legend>
<p class="descriptiveText">{i18n}Change the user's password. Password rules may have been defined that this new password must abide by.{/i18n}</p>
{foreach item=oWidget from=$edit_fields}
{$oWidget->render()}
{/foreach}
<div class="form_actions">
<input type="submit" value="{i18n}change password{/i18n}" />
</div>
</fieldset>
</form>