mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-69240 tool_moodlenet: Clean MoodleNet profile field
Amended by: Eloy Lafuente (stronk7) <stronk7@moodle.org> - adjust versions for every branch. - modify verify_webfinger->profileurl external to PARAM_NOTAGS.
This commit is contained in:
parent
5d6fcc67cf
commit
ffa17ad17d
6 changed files with 25 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue