MDL-69240 tool_moodlenet: Clean MoodleNet profile field
Amended by: Eloy Lafuente (stronk7) <[email protected]> - adjust versions for every branch. - modify verify_webfinger->profileurl external to PARAM_NOTAGS.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
644b80410d
commit
aa13890df0
+2
-1
@@ -301,7 +301,8 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
|
||||
$mform->addHelpButton('maildisplay', 'emaildisplay');
|
||||
|
||||
$mform->addElement('text', 'moodlenetprofile', get_string('moodlenetprofile', 'user'));
|
||||
$mform->setType('moodlenetprofile', PARAM_RAW_TRIMMED);
|
||||
$mform->setType('moodlenetprofile', PARAM_NOTAGS);
|
||||
$mform->addHelpButton('moodlenetprofile', 'moodlenetprofile', 'user');
|
||||
|
||||
$mform->addElement('text', 'city', get_string('city'), 'maxlength="120" size="21"');
|
||||
$mform->setType('city', PARAM_TEXT);
|
||||
|
||||
Reference in New Issue
Block a user