Do not display current votes in All Votes, and rename it as Past Votes

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Andrea Scarpino 2010-11-18 09:49:37 +01:00 committed by Loui Chang
parent 53ad66e0a5
commit a417224988
2 changed files with 3 additions and 3 deletions

View file

@ -130,10 +130,10 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
?> ?>
<?php <?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); $result = db_query($q, $dbh);
$type = __("All Votes"); $type = __("Past Votes");
include("tu_list.php"); include("tu_list.php");
$qnext = "SELECT ID FROM TU_VoteInfo"; $qnext = "SELECT ID FROM TU_VoteInfo";

View file

@ -703,7 +703,7 @@ $_t["Back"] = "Indietro";
$_t["Submit a proposal to vote on."] = "Invia una proposta di voto."; $_t["Submit a proposal to vote on."] = "Invia una proposta di voto.";
$_t["All Votes"] = "Tutti i voti"; $_t["Past Votes"] = "Vecchi voti";
$_t["Could not retrieve proposal details."] = "Impossibile recuperare i dettagli della proposta."; $_t["Could not retrieve proposal details."] = "Impossibile recuperare i dettagli della proposta.";