php-tool-box:selection-builder
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
php-tool-box:selection-builder [2008/05/08 22:33] – dgbadmin | php-tool-box:selection-builder [2008/11/02 21:58] (現在) – 0.1.2 date()でPOSTされた年を基準にしてしまうバグを修正 dgbadmin | ||
---|---|---|---|
行 18: | 行 18: | ||
/** | /** | ||
| | ||
- | | + | |
| | ||
| | ||
行 28: | 行 28: | ||
/** 日付選択リストのカレンダーアイコンへのパス */ | /** 日付選択リストのカレンダーアイコンへのパス */ | ||
public static $pathToCalIcon = ''; | public static $pathToCalIcon = ''; | ||
+ | |||
/** | /** | ||
| | ||
行 81: | 行 81: | ||
$m = date(' | $m = date(' | ||
$d = date(' | $d = date(' | ||
+ | $thisYear = date(' | ||
+ | $yStart = $thisYear - $yBefore; | ||
+ | $yEnd = $thisYear + $yAfter; | ||
$onclick = " | $onclick = " | ||
$h = ''; | $h = ''; | ||
- | $h .= SelectionBuilder:: | + | $h .= SelectionBuilder:: |
$h .= SelectionBuilder:: | $h .= SelectionBuilder:: | ||
$h .= SelectionBuilder:: | $h .= SelectionBuilder:: |
php-tool-box/selection-builder.1210253639.txt.gz · 最終更新: 2008/05/08 22:33 by dgbadmin