Merge branch 'MDL-57741-34' of git://github.com/cescobedo/moodle into MOODLE_34_STABLE
This commit is contained in:
@@ -121,15 +121,19 @@ class manage_table extends \table_sql {
|
||||
$cartridgeurl = $url;
|
||||
$secretlabel = get_string('secret', 'enrol_lti');
|
||||
$secret = $tool->secret;
|
||||
$launchurl = helper::get_launch_url($tool->id);
|
||||
$launchurllabel = get_string('launchurl', 'enrol_lti');
|
||||
|
||||
$data = [
|
||||
"rows" => [
|
||||
[ "label" => $cartridgeurllabel, "text" => $cartridgeurl, "id" => "cartridgeurl", "hidelabel" => false ],
|
||||
[ "label" => $secretlabel, "text" => $secret, "id" => "secret", "hidelabel" => false ],
|
||||
[ "label" => $launchurllabel, "text" => $launchurl, "id" => "launchurl", "hidelabel" => false ],
|
||||
]
|
||||
];
|
||||
|
||||
$return = $OUTPUT->render_from_template("enrol_lti/copy_grid", $data);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,8 @@ $string['membersyncmodeenrolnew'] = 'Enrol new users';
|
||||
$string['membersyncmodeunenrolmissing'] = 'Unenrol missing users';
|
||||
$string['notoolsprovided'] = 'No tools provided';
|
||||
$string['launchdetails'] = 'Launch details';
|
||||
$string['launchdetails_help'] = 'A cartridge URL (also called configuration URL) plus secret are required for configuring the tool.';
|
||||
$string['launchdetails_help'] = 'A cartridge URL (also called configuration URL) plus secret or a launch URL are required for configuring the tool.';
|
||||
$string['launchurl'] = 'Launch URL';
|
||||
$string['lti:config'] = 'Configure \'Publish as LTI tool\' instances';
|
||||
$string['lti:unenrol'] = 'Unenrol users from the course';
|
||||
$string['opentool'] = 'Open tool';
|
||||
|
||||
Reference in New Issue
Block a user