preferences.smarty
820 Bytes
<h2>{i18n}Preferences{/i18n}</h2>
<p class="descriptiveText">{i18n}You may change details about yourself by editing the entries below. Once you have completed the form, click on <strong>Update your details</strong>.{/i18n}</p>
<form action="{$smarty.server.PHP_SELF}" method="POST">
<input type="hidden" name="action" value="updatePreferences" />
<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}Update your details{/i18n}" />
<!-- FIXME add CSS for secondary actions. -->
{if $show_password}
<p><a href="{addQS}action=setPassword{/addQS}">{i18n}Change your password.{/i18n}</a></p>
{/if}
</div>
</fieldset>
</form>