summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/tu.php4
-rw-r--r--web/lang/it.po2
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.";