- 現在との差分 を表示
- ソース を表示
- Moodle/Hacking へ行く。
2: 2010-04-12 (月) 12:38:16 admin | 3: 2012-04-12 (木) 21:39:18 iseki | ||
---|---|---|---|
Line 6: | Line 6: | ||
- lib/form/dateselector.php | - lib/form/dateselector.php | ||
-- function _createElements() | -- function _createElements() | ||
+ | #br | ||
+ | - 2.x で print_time_selector() は非推奨となった (おまけに 2.2.2+ ではバグっとる) | ||
+ | function print_time_selector($hour, $minute, $currenttime=0, $step=5, $return=false) { | ||
+ | debugging('print_time_selector() has been deprecated. Please change your code to use html_writer.'); | ||
+ | |||
+ | $hourselector = html_writer::select_time('hours', $hour, $currenttime); | ||
+ | $minuteselector = html_writer::select_time('minutes', $minute, $currenttime, $step); | ||
+ | |||
+ | $output = $hourselector . $minuteselector; | ||
+ | |||
+ | if ($return) { | ||
+ | return $output; | ||
+ | } else { | ||
+ | echo $output; | ||
+ | } | ||
+ | } |
- Moodle/Hacking のバックアップ一覧
- Moodle/Hacking のバックアップ差分(No. All)
- 1: 2010-04-12 (月) 12:37:16 admin
- 2: 2010-04-12 (月) 12:38:16 admin
- 3: 2012-04-12 (木) 21:39:18 iseki
- 現: 2012-04-14 (土) 09:00:34 iseki