MDL-13766

1. attach seekey to ajax request
2. fix string
This commit is contained in:
dongsheng 2008-08-29 07:45:35 +00:00
parent 7b6757b0d5
commit 0eaa8c5cb0
3 changed files with 44 additions and 20 deletions

View file

@ -101,6 +101,7 @@ class repository_boxnet extends repository{
// TODO: think about how to search
$ret['list'] = $tree;
$ret['manage'] = 'http://www.box.net/files';
$ret['path'] = array(array('name'=>'Root','path'=>null));
$this->listing = $tree;
return $ret;
} else {
@ -143,13 +144,13 @@ class repository_boxnet extends repository{
$e2->name = 'repo_id';
$e2->value = $this->id;
$e3->label = get_string('username', 'repository_boxnet');
$e3->label = get_string('username', 'repository_boxnet').': ';
$e3->id = 'box_username';
$e3->type = 'text';
$e3->name = 'boxusername';
$e3->value = $ret->username;
$e4->label = get_string('password', 'repository_boxnet');
$e4->label = get_string('password', 'repository_boxnet').': ';
$e4->id = 'box_password';
$e4->type = 'password';
$e4->name = 'boxpassword';