« | メイン | メールをPHPに渡したときの環境変数 »
2007年10月23日
smarty 年代タグを作る
{html_select_date prefix="EndDate" end_year="+1" field_order="YMD" month_format="%m月" day_format="%02d日"}
これで
と表示される。
特定の日を選択状態にしたければ
time=$time
を入れる
{html_select_date prefix="EndDate" end_year="+1" field_order="YMD" time=$time month_format="%m月" day_format="%02d日"}
投稿者 muuming : 2007年10月23日 10:45