mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
user-profile-field-datetime MDL-24806 Fixed typo
This commit is contained in:
parent
41a42c1d02
commit
3cf8629554
@ -37,7 +37,7 @@ class profile_define_datetime extends profile_define_base {
|
|||||||
$form->setDefault('param2', $currentyear + 20);
|
$form->setDefault('param2', $currentyear + 20);
|
||||||
|
|
||||||
$form->addElement('checkbox', 'param3', get_string('wanttime', 'profilefield_datetime'));
|
$form->addElement('checkbox', 'param3', get_string('wanttime', 'profilefield_datetime'));
|
||||||
$form->setType('param4', PARAM_INT);
|
$form->setType('param3', PARAM_INT);
|
||||||
|
|
||||||
$form->addElement('hidden', 'defaultdata', '0');
|
$form->addElement('hidden', 'defaultdata', '0');
|
||||||
$form->setType('defaultdata', PARAM_INT);
|
$form->setType('defaultdata', PARAM_INT);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @author Mark Nelson - Pukunui Technology
|
* @author Mark Nelson - Pukunui Technology
|
||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||||
* @version 20100611
|
* @version 20101022
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$string['currentdatedefault'] = 'Check to use current date as default';
|
$string['currentdatedefault'] = 'Check to use current date as default';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user