- ソース を表示
- Moodle/Hacking へ行く。
3: 2012-04-12 (木) 21:39:18 iseki | 現: 2012-04-14 (土) 09:00:34 iseki | ||
---|---|---|---|
Line 1: | Line 1: | ||
** Hacking [#g7c42112] | ** Hacking [#g7c42112] | ||
- | *** 日付の順序 [#d8f40c6e] | + | - [[1.9>./1.9]] |
- | + | - [[2.x>./2.x]] | |
- | - lib/form/dateselector.php | + | |
- | -- function print_time_selector() | + | |
- | - lib/form/dateselector.php | + | |
- | -- function _createElements() | + | |
#br | #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