Skip to content

Commit

Permalink
MDL-37681 repository_webdav: improved form handling when configuring …
Browse files Browse the repository at this point in the history
…an instance
  • Loading branch information
Frederic Massart authored and Sam Hemelryk committed Mar 4, 2013
1 parent 93e9ea9 commit 46eec6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repository/webdav/lib.php
Expand Up @@ -202,10 +202,10 @@ public function instance_config_form($mform) {
$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);
Expand Down

0 comments on commit 46eec6e

Please sign in to comment.