Commit a4172249 authored by Andrea Scarpino's avatar Andrea Scarpino Committed by Loui Chang
Browse files

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


Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 53ad66e0
......@@ -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";
......
......@@ -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.";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment