mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merged from stable. Change language string file.
This commit is contained in:
parent
60d922d5f1
commit
8750134a46
@ -1,10 +1,10 @@
|
||||
<?php //$Id:
|
||||
<?php //$Id
|
||||
|
||||
class profile_define_checkbox extends profile_define_base {
|
||||
|
||||
function define_form_specific(&$form) {
|
||||
/// select whether or not this should be checked by default
|
||||
$form->addElement('selectyesno', 'defaultdata', get_string('profiledefaultchecked', 'profilefield_checkbox'));
|
||||
$form->addElement('selectyesno', 'defaultdata', get_string('profiledefaultchecked', 'admin'));
|
||||
$form->setDefault('defaultdata', 0); // defaults to 'no'
|
||||
$form->setType('defaultdata', PARAM_BOOL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user