summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-09-17 00:24:14 +0200
committerBenny Baumann <BenBE@geshi.org>2013-09-17 00:24:14 +0200
commitac3bd8790698dbf3f349e34fff45fdece27b9a57 (patch)
treea357b011fbf8a788ed4d1966f5d4759e36a4ac49
parentd12b9afba02255bf92c56b25bf6d245feefb68ad (diff)
downloadcacert-devel-ac3bd8790698dbf3f349e34fff45fdece27b9a57.tar.gz
cacert-devel-ac3bd8790698dbf3f349e34fff45fdece27b9a57.tar.xz
cacert-devel-ac3bd8790698dbf3f349e34fff45fdece27b9a57.zip
bug 988: include missing details
-rw-r--r--pages/wot/16.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/pages/wot/16.php b/pages/wot/16.php
index d570437..d2405ff 100644
--- a/pages/wot/16.php
+++ b/pages/wot/16.php
@@ -35,7 +35,8 @@ $mname = $row['mname'];
$lname = $row['lname'];
$suffix = $row['suffix'];
$fullname = $fname." ".$mname." ".$lname." ".$suffix;
-$dob = date_format($row['dob'], 'Y-m-d');
+$email = $row['email'];
+$dob = date_format(new DateTime($row['dob']), 'Y-m-d');
$userid = $row['id'];
//List TTP Assurances and TotalPoints
@@ -71,10 +72,10 @@ $ttp_assurances_count=$num_rows = mysql_num_rows($res);
<form action="https://pdf.cacert.eu/cacertpdf.php" method="get">
<table>
<tr>
- <td colspan="2" class="title"><?=_('TTP CAP form creation')?></td>
+ <td colspan="2" class="title"><?= _('TTP CAP form creation')?></td>
</tr>
<tr>
- <td colspan="2" class="title"><?=_('User information')?></td>
+ <td colspan="2" class="title"><?= _('User information')?></td>
</tr>
<tr>
<td><?=_('Fullname')?><input type="hidden" name="fullname" value="<?=$fullname.$testserver?>"/></td>