mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Increase length of City field MDL-19629 - longest place name in NZ is Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu which doesn't fit in 20 chars, I figure 100 chars should be enough
This commit is contained in:
parent
7851bd35ae
commit
ba0c097216
11 changed files with 395 additions and 5 deletions
|
@ -187,7 +187,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) {
|
|||
$mform->setDefault('screenreader', 0);
|
||||
$mform->addHelpButton('screenreader', 'screenreaderuse');
|
||||
|
||||
$mform->addElement('text', 'city', get_string('city'), 'maxlength="20" size="21"');
|
||||
$mform->addElement('text', 'city', get_string('city'), 'maxlength="100" size="21"');
|
||||
$mform->setType('city', PARAM_MULTILANG);
|
||||
$mform->addRule('city', $strrequired, 'required', null, 'client');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue