mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-33669 equella: implement the manage link
This commit is contained in:
parent
a5f6ea2e88
commit
82b287522e
@ -93,6 +93,11 @@ class repository_equella extends repository {
|
||||
. '&attachmentUuidUrls=true'
|
||||
. '&options='.urlencode($this->get_option('equella_options') . $mimetypesstr)
|
||||
. $restrict;
|
||||
|
||||
$manageurl = $this->get_option('equella_url');
|
||||
$manageurl = str_ireplace('signon.do', 'logon.do', $manageurl);
|
||||
$manageurl = $this->appendtoken($manageurl);
|
||||
|
||||
$list = array();
|
||||
$list['object'] = array();
|
||||
$list['object']['type'] = 'text/html';
|
||||
@ -100,6 +105,7 @@ class repository_equella extends repository {
|
||||
$list['nologin'] = true;
|
||||
$list['nosearch'] = true;
|
||||
$list['norefresh'] = true;
|
||||
$list['manage'] = $manageurl;
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user