| @@ 1401-1407 (lines=7) @@ | ||
| 1398 | ||
| 1399 | // ǯ�������(2001��2020 �Ȥ���) |
|
| 1400 | $year_options = ''; |
|
| 1401 | for ($y = 2001; $y <= 2020; ++$y) { |
|
| 1402 | if ($y == $year) { |
|
| 1403 | $year_options .= "\t\t\t<option value='$y' selected>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n"; |
|
| 1404 | } else { |
|
| 1405 | $year_options .= "\t\t\t<option value='$y'>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n"; |
|
| 1406 | } |
|
| 1407 | } |
|
| 1408 | $ret['YEAR_OPTIONS'] = $year_options; |
|
| 1409 | ||
| 1410 | // �������� |
|
| @@ 795-801 (lines=7) @@ | ||
| 792 | ||
| 793 | // ǯ�������(2001��2020 �Ȥ���) |
|
| 794 | $year_options = ''; |
|
| 795 | for ($y = 2001; $y <= 2020; ++$y) { |
|
| 796 | if ($y == $this->year) { |
|
| 797 | $year_options .= "\t\t\t<option value='$y' selected>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n"; |
|
| 798 | } else { |
|
| 799 | $year_options .= "\t\t\t<option value='$y'>" . sprintf(strip_tags(_APCAL_FMT_YEAR), $y) . "</option>\n"; |
|
| 800 | } |
|
| 801 | } |
|
| 802 | ||
| 803 | // �������� |
|
| 804 | $month_options = ''; |
|