password.smarty
749 Bytes
<h2>Password</h2>
<p class="descriptiveText"><strong>FIXME</strong> better helptext. Change your password.</p>
<form action="{$smarty.server.PHP_SELF}" method="POST">
<input type="hidden" name="action" value="updatePassword" />
<fieldset>
<legend>{i18n}Your Details{/i18n}</legend>
{foreach item=oWidget from=$edit_fields}
{$oWidget->render()}
{/foreach}
<div class="form_actions">
<input type="submit" value="{i18n}Change your password{/i18n}" />
<!-- FIXME add CSS for secondary actions. -->
<!-- Commenting this out due to redundancy. Why is it here?
<p><a href="?action=setPassword">{i18n}Change your password.{/i18n}</a></p> -->
</div>
</fieldset>
</form>