mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-37681 repository_webdav: improved form handling when configuring an instance
This commit is contained in:
parent
9fd0cb9cb1
commit
ce96f23fe1
@ -177,10 +177,10 @@ class repository_webdav extends repository {
|
||||
$mform->addElement('select', 'webdav_auth', get_string('authentication', 'admin'), $choices);
|
||||
$mform->addRule('webdav_auth', get_string('required'), 'required', null, 'client');
|
||||
|
||||
|
||||
$mform->addElement('text', 'webdav_port', get_string('webdav_port', 'repository_webdav'), array('size' => '40'));
|
||||
$mform->addElement('text', 'webdav_user', get_string('webdav_user', 'repository_webdav'), array('size' => '40'));
|
||||
$mform->addElement('text', 'webdav_password', get_string('webdav_password', 'repository_webdav'), array('size' => '40'));
|
||||
$mform->addElement('password', 'webdav_password', get_string('webdav_password', 'repository_webdav'),
|
||||
array('size' => '40'));
|
||||
}
|
||||
public function supported_returntypes() {
|
||||
return (FILE_INTERNAL | FILE_EXTERNAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user