Removed leaking of personal details

pull/1/head
root 16 years ago
parent ec4bb288aa
commit fbaac7eee5

@ -22,7 +22,7 @@
</tr>
<tr>
<td class="DataTD" width="125"><?=_("Email Address")?>: </td>
<td class="DataTD" width="125"><input type="text" name="email" value="<?=array_key_exists('lostpw',$_SESSION)?sanitizeHTML($_SESSION['lostpw']['email']):""?>" autocomplete="off"></td>
<td class="DataTD" width="125"><input type="text" name="email" autocomplete="off"></td>
</tr>
<tr>
<td class="DataTD"><?=_("Date of Birth")?><br>
@ -31,10 +31,7 @@
<?
for($i = 1; $i <= 31; $i++)
{
echo "<option";
if(array_key_exists('lostpw',$_SESSION) && $_SESSION['lostpw']['day'] == $i)
echo " selected=\"selected\"";
echo ">$i</option>";
echo "<option>$i</option>";
}
?>
</select>
@ -43,13 +40,11 @@
for($i = 1; $i <= 12; $i++)
{
echo "<option value='$i'";
if(array_key_exists('lostpw',$_SESSION) && $_SESSION['lostpw']['month'] == $i)
echo " selected";
echo ">".ucwords(strftime("%B", mktime(0,0,0,$i,1,date("Y"))))."</option>";
}
?>
</select>
<input type="text" name="year" value="<?=array_key_exists('lostpw',$_SESSION)?sanitizeHTML($_SESSION['lostpw']['year']):""?>" size="4" autocomplete="off"></nobr>
<input type="text" name="year" size="4" autocomplete="off"></nobr>
</td>
</tr>
<tr>

@ -76,7 +76,7 @@
?>
<tr>
<td class="DataTD"><?=$_SESSION['lostpw']['user'][$q]?></td>
<td class="DataTD"><input type="text" name="<?=$a?>" value="<?=sanitizeHTML(array_key_exists($a,$_SESSION['lostpw'])?$_SESSION['lostpw'][$a]:"")?>" autocomplete="off">
<td class="DataTD"><input type="text" name="<?=$a?>" autocomplete="off">
<input type="hidden" name="<?=$q?>" value="<?=sanitizeHTML($_SESSION['lostpw']['user'][$q])?>"></td>
</tr>
<? } ?>

Loading…
Cancel
Save