Changeset 58


Ignore:
Timestamp:
Feb 22, 2015, 10:15:49 AM (10 years ago)
Author:
chronos
Message:
  • Fixed: Including current year in time range selection.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/old/index.php

    r57 r58  
    99
    1010  $Output = '<form style="display: inline;" action="?Operation=SetTime&amp;Time='.$Time.'" method="post">';
    11 
    1211  $TimeParts = getdate($_SESSION[$Time]);
    1312
     
    3029  $Output .= '</select>. ';
    3130
    32   // Day selection
     31  // Year selection
    3332  $Output .= '<select name="Year">';
    34   for($I = 2000; $I < date("Y"); $I++)
     33  for($I = 2000; $I <= date("Y"); $I++)
    3534  {
    3635    if($I == $TimeParts['year']) $Selected = ' selected="1"'; else $Selected = '';
Note: See TracChangeset for help on using the changeset viewer.