diff options
author | Andrea Scarpino <andrea@archlinux.org> | 2010-11-18 09:49:37 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-12-04 23:03:33 -0500 |
commit | a417224988b0bbf16163c5e28fa4ca586ff2d707 (patch) | |
tree | 3f5af139356806a18679211588e9fdc1b9bdbaea | |
parent | 53ad66e0a5b87ddff39dee7661810518574b6362 (diff) |
Do not display current votes in All Votes, and rename it as Past Votes
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r-- | web/html/tu.php | 4 | ||||
-rw-r--r-- | web/lang/it.po | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/tu.php b/web/html/tu.php index f0038a5..65f00c0 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -130,10 +130,10 @@ if ($atype == "Trusted User" OR $atype == "Developer") { ?> <?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"); + $type = __("Past Votes"); include("tu_list.php"); $qnext = "SELECT ID FROM TU_VoteInfo"; diff --git a/web/lang/it.po b/web/lang/it.po index 4bd0727..cfcdc48 100644 --- a/web/lang/it.po +++ b/web/lang/it.po @@ -703,7 +703,7 @@ $_t["Back"] = "Indietro"; $_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."; |