phpBB

Code Changes

File: phpbb/profilefields/type/type_date.php

  Unmodified   Added   Modified   Removed
Line 264Line 264
		}

$profile_row['s_year_options'] = '<option value="0"' . ((!$year) ? ' selected="selected"' : '') . '>--</option>';

		}

$profile_row['s_year_options'] = '<option value="0"' . ((!$year) ? ' selected="selected"' : '') . '>--</option>';

		for ($i = $now['year'] - 100; $i <= $now['year'] + 100; $i++)

		for ($i = 1901; $i <= $now['year'] + 50; $i++)

		{
$profile_row['s_year_options'] .= '<option value="' . $i . '"' . (($i == $year) ? ' selected="selected"' : '') . ">$i</option>";
}

		{
$profile_row['s_year_options'] .= '<option value="' . $i . '"' . (($i == $year) ? ' selected="selected"' : '') . ">$i</option>";
}