BUG 0000 Forgot passwod feature (finished)

This commit is contained in:
Erik Amaru Ortiz
2011-06-06 06:23:18 -04:00
parent 4d315e63b7
commit b25c51ab03
7 changed files with 79 additions and 38 deletions

View File

@@ -0,0 +1,41 @@
<form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
<div class="content" style="height:{$form_height};" >
<table width="99%">
<tr>
<td valign='top'>
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class='FormTitle' colspan="2" align="">{$form.TITLE}</td>
</tr>
<tr>
<td class='FormLabel' width="{$form_labelWidth}"><font color="red">* </font>{$USR_USERNAME}</td>
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_USERNAME}</td>
</tr>
<tr>
<td class='FormLabel' width="{$form_labelWidth}"><font color="red">* </font>{$USR_EMAIL}</td>
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_EMAIL}</td>
</tr>
<tr style="display: none">
<td colspan="2">{$form.URL}</td>
</tr>
<tr>
<td class='FormButton' colspan="2" align="center">{$form.BSUBMIT}&nbsp;{$form.BCANCEL}</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="boxBottom"><div class="a"></div><div class="b"></div><div class="c"></div></div>
</div>
<script type="text/javascript">
{$form.JS}
</script>
</form>
<script type="text/javascript">
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
</script>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="login" version="1.0" basedir="" xmlform_type="NORMAL" width="400px">
<dynaForm name="login" version="1.0" basedir="" xmlform_type="NORMAL" width="400px" enabletemplate="1">
<TITLE type="title">
<en>I forgot my password</en>
</TITLE>
@@ -14,6 +14,9 @@
<BSUBMIT type="submit">
<en>Send Request</en>
</BSUBMIT>
<BCANCEL type="button" onclick="history.back()">
<en>Cancel</en>
</BCANCEL>
<JS type="javascript"><![CDATA[
var panel;