cvs: pearweb /templates election-showresults.tpl.php
| From: | David Coallier | Date: | Tue, 24 Apr 2007 20:20:16 +0000 |
| Subject: | cvs: pearweb /templates election-showresults.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-46133@lists.php.net to get a copy of this message | ||
davidc Tue Apr 24 20:20:16 2007 UTC
Modified files:
/pearweb/templates election-showresults.tpl.php
Log:
- Oups little bug in the date display, didn't catch it before, sorry
http://cvs.php.net/viewvc.cgi/pearweb/templates/election-showresults.tpl.php?r1=1.9&r2=1.10&diff_format=u
Index: pearweb/templates/election-showresults.tpl.php
diff -u pearweb/templates/election-showresults.tpl.php:1.9
pearweb/templates/election-showresults.tpl.php:1.10
--- pearweb/templates/election-showresults.tpl.php:1.9 Tue Apr 24 20:17:50 2007
+++ pearweb/templates/election-showresults.tpl.php Tue Apr 24 20:20:16 2007
@@ -56,11 +56,11 @@
}
if ($voteEnd > $currentDate) {
- $timeLeft = $info['voteend'];
+
?>
<tr>
<th class="form-label_left">Status</th>
- <td class="form-input">In Progress until : <?php echo date('l dS \of F Y
\a\t m:iA', time($timeLeft)); ?></td>
+ <td class="form-input">In Progress until : <?php echo date('l dS \of F Y
\a\t m:iA', ($voteEnd)); ?></td>
</tr>
<?php } ?>
</table>