diff options
author | INOPIAE <inopiae@cacert.org> | 2014-01-28 22:39:21 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2014-01-28 22:39:21 +0100 |
commit | a723dd33e4aeaaccba00192647b4638ae4be48fe (patch) | |
tree | c337864be6ff67ef336e3bc18c3f42a882f55931 | |
parent | c5d4d5f3087ef5afaa9a972c9c4adce4c114769c (diff) | |
download | cacert-devel-a723dd33e4aeaaccba00192647b4638ae4be48fe.tar.gz cacert-devel-a723dd33e4aeaaccba00192647b4638ae4be48fe.tar.xz cacert-devel-a723dd33e4aeaaccba00192647b4638ae4be48fe.zip |
bug 1226: fixed missing dob in second form
-rw-r--r-- | www/wot.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/wot.php b/www/wot.php index 0ce23b4..3351233 100644 --- a/www/wot.php +++ b/www/wot.php @@ -465,6 +465,37 @@ function send_reminder() <td class="DataTD"><input type="text" name="email" id="email" value=""></td> </tr> <tr> + <td class="DataTD"> + <?=_("Date of Birth")?><br/> + (<?=_("yyyy/mm/dd")?>)</td> + <td class="DataTD"> + <input type="text" name="year" value="<?=array_key_exists('year',$_SESSION['assuresomeone']) ? sanitizeHTML($_SESSION['assuresomeone']['year']):""?>" size="4" autocomplete="off"></nobr> + <select name="month"> + <? +for($i = 1; $i <= 12; $i++) +{ + echo "<option value='$i'"; + if(array_key_exists('month',$_SESSION['assuresomeone']) && $_SESSION['assuresomeone']['month'] == $i) + echo " selected=\"selected\""; + echo ">".ucwords(strftime("%B", mktime(0,0,0,$i,1,date("Y"))))." ($i)</option>\n"; +} + ?> + </select> + <select name="day"> + <? +for($i = 1; $i <= 31; $i++) +{ + echo "<option"; + if(array_key_exists('day',$_SESSION['assuresomeone']) && $_SESSION['assuresomeone']['day'] == $i) + echo " selected=\"selected\""; + echo ">$i</option>"; +} + ?> + </select> + </td> + </tr> + + <tr> <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td> </tr> </table> |