Browse Source

ACA year selecter: newest year first

master
Fabian Kurz 2 years ago
parent
commit
7e903c22e4
  1. 2
      functions.php

2
functions.php

@ -123,7 +123,7 @@ function award_details($t, $b) {
}
else if ($b == 'y') {
$ret .= "<select name=\"year\" id=\"year$t\" size=1>\n";
for ($i = 2010; $i <= date("Y"); $i++) {
for ($i = date("Y"); $i >= 2010; $i--) {
if ($i == date("Y")) {
$selected = "selected";
}

Loading…
Cancel
Save