On Tue, Nov 02, 2010 at 05:47:12PM +0100, Andrea Scarpino wrote:
> <?php
> - $q = "SELECT * FROM TU_VoteInfo ORDER BY Submitted " . $order .
> $lim;
> + $q = "SELECT * FROM TU_VoteInfo WHERE End < " . time() . "
> ORDER BY Submitted " . $order . $lim;
> $result = db_query($q, $dbh);
>
> $type = __("All Votes");Looks good in general but why should current votes not be listed in the "All Votes" section? I'd suggest renaming "All Votes" to "Closed Votes" or something similar then.
