mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
53ad66e0a5
commit
a417224988
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||||
|
|
|
@ -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.";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue