flagflag  
2: 2010-04-12 (Mon) 12:38:16 admin source 3: 2012-04-12 (Thu) 21:39:18 iseki source
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;
 +   }
 + }


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

49 user(s) are online (19 user(s) are browsing xpwiki)

Members: 0
Guests: 49

more...

Access Counter

Today : 1217612176121761217612176
Yesterday : 1185711857118571185711857
Total : 2362390323623903236239032362390323623903236239032362390323623903
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com