mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-13766, added listing parameters
This commit is contained in:
parent
f856106b10
commit
03896eb7d5
@ -66,6 +66,7 @@ class repository_local extends repository {
|
|||||||
$ret = array();
|
$ret = array();
|
||||||
$ret['dynload'] = true;
|
$ret['dynload'] = true;
|
||||||
$ret['nosearch'] = true;
|
$ret['nosearch'] = true;
|
||||||
|
$ret['nologin'] = true;
|
||||||
$list = array();
|
$list = array();
|
||||||
|
|
||||||
if (!empty($encodedpath)) {
|
if (!empty($encodedpath)) {
|
||||||
|
@ -100,6 +100,7 @@ class repository_recent extends repository {
|
|||||||
$ret = array();
|
$ret = array();
|
||||||
$ret['dynload'] = true;
|
$ret['dynload'] = true;
|
||||||
$ret['nosearch'] = true;
|
$ret['nosearch'] = true;
|
||||||
|
$ret['nologin'] = true;
|
||||||
$list = array();
|
$list = array();
|
||||||
$files = $this->get_recent_files(0, $this->number);
|
$files = $this->get_recent_files(0, $this->number);
|
||||||
|
|
||||||
|
@ -79,6 +79,7 @@ class repository_upload extends repository {
|
|||||||
$ret = array();
|
$ret = array();
|
||||||
$ret['nologin'] = true;
|
$ret['nologin'] = true;
|
||||||
$ret['nosearch'] = true;
|
$ret['nosearch'] = true;
|
||||||
|
$ret['norefresh'] = true;
|
||||||
// define upload form in file picker
|
// define upload form in file picker
|
||||||
$ret['upload'] = array('label'=>get_string('attachment', 'repository'), 'id'=>'repo-form');
|
$ret['upload'] = array('label'=>get_string('attachment', 'repository'), 'id'=>'repo-form');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user