mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-39940-master' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
cc5468de0e
1 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ class tag_edit_form extends moodleform {
|
||||||
if (has_capability('moodle/tag:manage', $systemcontext)) {
|
if (has_capability('moodle/tag:manage', $systemcontext)) {
|
||||||
$mform->addElement('text', 'rawname', get_string('name', 'tag'),
|
$mform->addElement('text', 'rawname', get_string('name', 'tag'),
|
||||||
'maxlength="'.TAG_MAX_LENGTH.'" size="'.TAG_MAX_LENGTH.'"');
|
'maxlength="'.TAG_MAX_LENGTH.'" size="'.TAG_MAX_LENGTH.'"');
|
||||||
|
$mform->setType('rawname', PARAM_NOTAGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
$mform->addElement('editor', 'description_editor', get_string('description', 'tag'), null, $this->_customdata['editoroptions']);
|
$mform->addElement('editor', 'description_editor', get_string('description', 'tag'), null, $this->_customdata['editoroptions']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue