first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 18:11:26 -04:00
commit e592ca6823
27270 changed files with 5002257 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/copy_grid
The content to display when editing a tool.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* rows An array of objects with label, hidelabel, text and id
Example context (json):
{
"rows": [
{
"label": "Tool URL",
"text": "http://example.com/",
"id": "toolurl",
"hidelabel": false
},
{
"label": "Secret",
"text": "ABCDEF1234567890",
"id": "secret",
"hidelabel": true
}
]
}
}}
{{#rows}}
<div>
<label style="display: inline-block; width: 5em"
{{#id}}for="{{id}}-{{uniqid}}"{{/id}} {{#hidelabel}}
class="accesshide"{{/hidelabel}}>{{label}}</label>
<div style="display: inline-block">{{> core/copy_box }}</div>
</div>
{{/rows}}
@@ -0,0 +1,124 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/content_select
Template which displays a list of published courses and activities.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* hascontent
* action
* launchid
* sesskey
* courses
Example context (json):
{
"hascontent": true,
"action": "https://example.com/enrol/lti/configure.php",
"launchid": "123-456-789",
"sesskey": "123456789",
"courses": [
{
"id": 24,
"fullname": "Introduction to chemistry",
"shared_course": false,
"modules": [
{
"id": 45,
"name": "Quiz 1",
"lineitem": true
}
]
},
{
"id": 67,
"fullname": "Programming 101",
"shared_course": true
}
]
}
}}
<div id="lti_content_select">
<h1>{{#str}}publishedcontent, enrol_lti{{/str}}</h1>
{{#hascontent}}
<form action="{{action}}" method="POST">
<input type="hidden" name="launchid" value="{{launchid}}">
<input type="hidden" name="sesskey" value="{{sesskey}}">
<table class="table" aria-label="{{#str}}publishedcontent, enrol_lti{{/str}}">
<colgroup>
<col class="w-50">
<col class="w-25">
<col class="w-25">
</colgroup>
<thead>
<tr>
<th class="header" scope="col"></th>
<th class="header" scope="col">{{#str}}addtocourse, enrol_lti{{/str}}</th>
<th class="header" scope="col">{{#str}}addtogradebook, enrol_lti{{/str}}</th>
</tr>
</thead>
<tbody>
{{#courses}}
<tr>
<td>
{{fullname}}
</td>
<td>
{{#shared_course}}
<input type="checkbox" name="modules[]" value="{{id}}">
{{/shared_course}}
</td>
<td>
{{#shared_course}}
<input type="checkbox" name="grades[]" value="{{id}}">
{{/shared_course}}
</td>
</tr>
{{#modules}}
<tr>
<td>{{name}}</td>
<td><input type="checkbox" name="modules[]" value="{{id}}"></td>
{{#lineitem}}
<td><input type="checkbox" name="grades[]" value="{{id}}"></td>
{{/lineitem}}
{{^lineitem}}
<td>-</td>
{{/lineitem}}
</tr>
{{/modules}}
{{/courses}}
</tbody>
</table>
<input type="submit" class="btn btn-primary" value="{{#str}}addcontent, enrol_lti{{/str}}">
</form>
{{/hascontent}}
{{^hascontent}}
{{#str}}nopublishedcontent, enrol_lti{{/str}}
{{/hascontent}}
</div>
{{#js}}
require(['enrol_lti/content_select'], function(ContentSelect) {
ContentSelect.init();
});
{{/js}}
@@ -0,0 +1,50 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/cookies_required_notice
Displays a notice, reporting that cookies are required but couldn't be set.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* heading
* notification
Example context (json):
{
"heading": "Cookies are required",
"notification": {
"message": "You appear to be using an unsupported browser...",
"extraclasses": "",
"announce": true,
"closebutton": false,
"issuccess": false,
"isinfo": false,
"iswarning": true,
"iserror": false
}
}
}}
<h3>{{heading}}</h3>
{{#notification}}
{{> core/notification}}
{{/notification}}
@@ -0,0 +1,85 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/deployments
Template which displays a table view of all deployments attached to a registration, with options to delete and add.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* deployments_info
* has_deployments
* add_deployment_url
Optional context variables for this template:
* tool_deployments
Example context (json):
{
"deployments_info": "A deployment ID will be generated when...",
"has_deployments": true,
"tool_deployments": [
{
"name": "Site level deployment of tool x in platform y",
"deploymentid": "deploy-id-12345",
"deleteurl": "https://example.org/enrol/lti/manage_deployments.php?action=delete&id=2&registrationid=1"
}
],
"add_deployment_url": "https://example.org/enrol/lti/manage_deployments.php?action=add"
}
}}
<div id="lti_tool_deployments" class="mb-3">
<div class="alert alert-info alert-block">
{{{deployments_info}}}
</div>
{{#has_deployments}}
<table class="admintable generaltable">
<thead>
<tr>
<th>{{#str}}name, core{{/str}}</th>
<th>{{#str}}deploymentid, enrol_lti{{/str}}</th>
<th>{{#str}}actions, core{{/str}}</th>
</tr>
</thead>
<tbody>
{{#tool_deployments}}
<tr>
<th>{{name}}</th>
<td>{{deploymentid}}</td>
<td>
<a class="delete" href="{{deleteurl}}" title="{{#str}} delete {{/str}}">{{#pix}} t/delete, core, {{#str}} delete {{/str}}{{/pix}}</a>
</td>
</tr>
{{/tool_deployments}}
</tbody>
</table>
{{/has_deployments}}
{{^has_deployments}}
<div>
{{#str}}nodeployments, enrol_lti{{/str}}
</div>
<br>
{{/has_deployments}}
<div>
<a class="btn btn-secondary" href="{{add_deployment_url}}">{{#str}}deploymentadd, enrol_lti{{/str}}</a>
</div>
</div>
@@ -0,0 +1,69 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/platform_details
Template which displays a table containing platform configuration details.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* platform_details_info
* platform_details
* edit_platform_details_url
Example context (json):
{
"platform_details_info": "help text explaining where to get these details from, etc",
"platform_details": [
{
"name": "name",
"value": "Moodle LMS"
},
{
"name": "Platform ID",
"value": "https://lms.example.com/"
},
{
"name": "Client ID",
"value": "ab46f8ea123"
}
],
"edit_platform_details_url": "https://SITE/enrol/lti/register_platform.php?action=edit&id=x"
}
}}
<div class="alert alert-info alert-block">
{{{platform_details_info}}}
</div>
<table class="admintable generaltable">
<tbody>
{{#platform_details}}
<tr>
<th class="col-3">{{name}}</th>
<td class="col-9">
{{#value}}{{.}}{{/value}}
{{^value}}-{{/value}}
</td>
</tr>
{{/platform_details}}
</tbody>
</table>
<a class="btn btn-secondary" href="{{edit_platform_details_url}}">{{#str}}editplatformdetails, enrol_lti{{/str}}</a>
@@ -0,0 +1,110 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/registered_platforms
Template which displays a table view of all registered apps with options to add, delete and manage deployments.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* hasregs
* addurl
Optional context variables for this template:
* registrations
Example context (json):
{
"hasregs": true,
"registrations": [
{
"name": "Platform Y registration",
"hasdeployments": true,
"countdeployments": 2,
"editurl": "https://example.org/enrol/lti/register_platform.php?action=edit&regid=4",
"deploymentsurl": "https://example.org/enrol/lti/manage_deployments.php?registrationid=1",
"deleteurl": "https://example.org/enrol/lti/register_platform.php?action=delete&regid=4"
}
],
"addurl": "https://example.org/enrol/lti/manage_deployments.php?action=add"
}
}}
<div id="lti_registered_platforms" class="mb-3">
{{#hasregs}}
<table class="admintable generaltable">
<thead>
<tr>
<th>{{#str}}name, core{{/str}}</th>
<th>{{#str}}details, enrol_lti{{/str}}</th>
<th>{{#str}}deployments, enrol_lti{{/str}}</th>
<th>{{#str}}registrationstatus, enrol_lti{{/str}}</th>
<th>{{#str}}actions, core{{/str}}</th>
</tr>
</thead>
<tbody>
{{#registrations}}
<tr>
<th>
{{name}}
</th>
<td>
<span class="font-weight-bold">{{#str}}registerplatform:platformid, enrol_lti{{/str}}: </span> {{issuer}}<br>
<span class="font-weight-bold">{{#str}}registerplatform:clientid, enrol_lti{{/str}}: </span> {{clientid}}
</td>
<td>
{{#hasdeployments}}
<a href="{{deploymentsurl}}" title="{{#str}} managedeployments, enrol_lti {{/str}}">{{countdeployments}}</a>
{{/hasdeployments}}
{{^hasdeployments}}
{{countdeployments}}
{{/hasdeployments}}
</td>
<td>
{{#isactive}}
<span class="badge bg-success text-white">{{{statusstring}}}</span>
{{/isactive}}
{{^isactive}}
<span class="badge bg-info text-white">{{{statusstring}}}</span>
{{/isactive}}
</td>
<td>
<a href="{{tooldetailsurl}}" title="{{#str}} viewtoolendpoints, enrol_lti {{/str}}">{{#pix}} t/viewdetails, core, {{#str}} viewtoolendpoints, enrol_lti {{/str}}{{/pix}}</a>
<a href="{{platformdetailsurl}}" title="{{#str}} viewplatformdetails, enrol_lti {{/str}}">{{#pix}} platformdetails, enrol_lti, {{#str}} viewplatformdetails, enrol_lti {{/str}}{{/pix}}</a>
<a href="{{deploymentsurl}}" title="{{#str}} managedeployments, enrol_lti {{/str}}">{{#pix}} managedeployments, enrol_lti, {{#str}} managedeployments, enrol_lti {{/str}}{{/pix}}</a>
<a href="{{deleteurl}}" title="{{#str}} delete {{/str}}">{{#pix}} t/delete, core, {{#str}} delete {{/str}}{{/pix}}</a>
</td>
</tr>
{{/registrations}}
</tbody>
</table>
{{/hasregs}}
{{^hasregs}}
<div>
{{#str}}noregisteredplatforms, enrol_lti{{/str}}
</div>
<br>
{{/hasregs}}
<div>
<a class="btn btn-secondary" href="{{addurl}}">{{#str}}registerplatformadd, enrol_lti{{/str}}</a>
</div>
</div>
@@ -0,0 +1,114 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/registration_view
Template which displays details about a registration, allowing users to view the dynamic registration URL, the manual
registration URLs and tool deployments. All the URLs support copy to clipboard, included in the
enrol_lti/local/ltiadvantage/tool_endpoints.mustache file.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* dynamic_registration_info
* dynamic_registration_url
* manual_registration_info
* manual_registration_urls
* platform_details_info
* platform_details
* edit_platform_details_url
* deployments_info
* has_deployments
Optional context variables for this template:
* tool_deployments
Example context (json):
{
"dynamic_registration_info": "Help/information about dynamic registration",
"dynamic_registration_url": {
"id": "ab34dgdfa",
"name": "Dynamic registration URL",
"url": "https://example.com/enrol/lti/register.php?tok=asdb123b12babsdb"
},
"manual_registration_info": "Help/information about manual registration",
"manual_registration_urls": [
{
"id": "asdb1234m",
"name": "Authentication Request URL",
"url": "https://example.com/enrol/lti/login.php?id=a2c94"
},
{
"id": "123GHn123",
"name": "JWKS URL",
"url": "https://example.com/enrol/lti/jwks.php"
}
],
"platform_details_info": "Once the tool has been set up in the platform, details from the platform must...",
"platform_details": {
"name": "My LMS",
"platformid": "https://lms.example.com",
"clientid": "a265bcd3a8f5bcd",
"authenticationrequesturl": "https://lms.example.com/auth",
"jwksurl": "https://lms.example.com/jwks",
"accesstokenurl": "https://lms.example.com/token"
},
"edit_platform_details_url": "https://SITE/enrol/lti/register_platform.php?action=edit&regid=xx",
"deployments_info": "A deployment ID will be generated when...",
"has_deployments": true,
"tool_deployments": [
{
"name": "Site level deployment of tool x in platform y",
"deploymentid": "deploy-id-12345",
"deleteurl": "https://example.org/enrol/lti/manage_deployments.php?action=delete&id=2&registrationid=1"
}
]
}
}}
<a class="btn btn-secondary mb-3" href="{{back_url}}">{{#str}}back, core{{/str}}</a>
<ul class="nav nav-tabs mb-3" id="registration-tabs" role="tablist">
<li class="nav-item">
<a class="nav-link {{#tool_details_active}}active{{/tool_details_active}}" id="tool-details-tab" data-toggle="tab" href="#tooldetails" role="tab" aria-controls="tooldetails" aria-selected="{{#tool_details_active}}true{{/tool_details_active}}{{^tool_details_active}}false{{/tool_details_active}}">
{{#str}}tooldetails, enrol_lti{{/str}}
</a>
</li>
<li class="nav-item">
<a class="nav-link {{#platform_details_active}}active{{/platform_details_active}}" id="platform-details-tab" data-toggle="tab" href="#platformdetails" role="tab" aria-controls="platformdetails" aria-selected="{{#platform_details_active}}true{{/platform_details_active}}{{^platform_details_active}}false{{/platform_details_active}}">
{{#str}}platformdetails, enrol_lti{{/str}}
</a>
</li>
<li class="nav-item">
<a class="nav-link {{#tool_deployments_active}}active{{/tool_deployments_active}}" id="tool-deployments-tab" data-toggle="tab" href="#tooldeployments" role="tab" aria-controls="tooldeployments" aria-selected="{{#tool_deployments_active}}true{{/tool_deployments_active}}{{^tool_deployments_active}}false{{/tool_deployments_active}}">
{{#str}}deployments, enrol_lti{{/str}}
</a>
</li>
</ul>
<div class="tab-content" id="registration-tab-content">
<div class="tab-pane fade {{#tool_details_active}}show active{{/tool_details_active}}" id="tooldetails" role="tabpanel" aria-labelledby="tool-details-tab">
{{> enrol_lti/local/ltiadvantage/tool_details}}
</div>
<div class="tab-pane fade {{#platform_details_active}}show active{{/platform_details_active}}" id="platformdetails" role="tabpanel" aria-labelledby="platform-details-tab">
{{> enrol_lti/local/ltiadvantage/platform_details}}
</div>
<div class="tab-pane fade {{#tool_deployments_active}}show active{{/tool_deployments_active}}" id="tooldeployments" role="tabpanel" aria-labelledby="tool-deployments-tab">
{{> enrol_lti/local/ltiadvantage/deployments}}
</div>
</div>
@@ -0,0 +1,132 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/local/ltiadvantage/tool_details
Template which displays a list of tool endpoint URLs, allowing the values to be copied to the clipboard via js.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* dynamic_registration_info
* dynamic_registration_url
* manual_registration_info
* manual_registration_urls
Example context (json):
{
"dynamic_registration_info": "Help text describing dynamic registration...",
"dynamic_registration_url": {
"id": "ab34dgdfa",
"name": "Dynamic registration URL",
"url": "https://example.com/enrol/lti/register.php?tok=asdb123b12babsdb"
},
"manual_registration_info": "Help text describing manual registration...",
"manual_registration_urls": [
{
"id": "asdb1234m",
"name": "Authentication Request URL",
"url": "https://example.com/enrol/lti/login.php"
},
{
"id": "123GHn123",
"name": "JWKS URL",
"url": "https://example.com/enrol/lti/jwks.php"
}
]
}
}}
<h5>{{#str}}registrationdynamic, enrol_lti{{/str}}</h5>
<div class="alert alert-info alert-block">
{{{dynamic_registration_info}}}
</div>
{{#dynamic_registration_url}}
<table class="admintable generaltable">
<thead></thead>
<tbody>
<tr class="d-flex">
<th class="col-3" id="lti_tool_endpoint_name_{{id}}">
<label for="lti_tool_endpoint_url_{{id}}">{{name}}</label>
</th>
<td class="col-9">
<div class="input-group col-md-6 ml-0 pl-0">
<input class="form-control" type="text" value="{{url}}" aria-label="{{url}}" id="lti_tool_endpoint_url_{{id}}" readonly>
<div class="input-group-append">
<button class="btn btn-secondary"
aria-label="{{#str}} copytoclipboard, enrol_lti {{/str}}"
data-action="copytoclipboard"
data-clipboard-success-message="{{#str}}copiedtoclipboard, enrol_lti, {{name}}{{/str}}"
data-clipboard-target="#lti_tool_endpoint_url_{{id}}"
id="{{id}}"
title="{{#str}}copytoclipboard, enrol_lti{{/str}}">
<span class="pix">{{#pix}} t/clipboard, core {{/pix}}</span>
</button>
</div>
</div>
</td>
</tr>
</tbody>
</table>
{{/dynamic_registration_url}}
<h5>{{#str}}registrationmanual, enrol_lti{{/str}}</h5>
<div class="alert alert-info alert-block">
{{manual_registration_info}}
</div>
<div id="lti_tool_endpoints">
<table class="admintable generaltable">
<thead>
<tr class="d-flex">
<th>{{#str}}name, core{{/str}}</th>
<th>{{#str}}url, core{{/str}}</th>
</tr>
</thead>
<tbody>
{{#manual_registration_urls}}
<tr class="d-flex">
<th class="col-3" id="lti_tool_endpoint_name_{{id}}">
<label for="lti_tool_endpoint_url_{{id}}">{{name}}</label>
</th>
<td class="col-9">
<div class="input-group col-md-6 ml-0 pl-0">
<input class="form-control" type="text" value="{{url}}" aria-label="{{url}}" id="lti_tool_endpoint_url_{{id}}" readonly>
<div class="input-group-append">
<button class="btn btn-secondary"
aria-label="{{#str}} copytoclipboard, enrol_lti {{/str}}"
data-action="copytoclipboard"
data-clipboard-success-message="{{#str}}copiedtoclipboard, enrol_lti, {{name}}{{/str}}"
data-clipboard-target="#lti_tool_endpoint_url_{{id}}"
id="{{id}}"
title="{{#str}}copytoclipboard, enrol_lti{{/str}}">
<span class="pix">{{#pix}} t/clipboard, core {{/pix}}</span>
</button>
</div>
</div>
</td>
</tr>
{{/manual_registration_urls}}
</tbody>
</table>
</div>
{{#js}}
require(['enrol_lti/tool_endpoints'], function(ToolEndpoints) {
ToolEndpoints.init();
});
{{/js}}
@@ -0,0 +1,38 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template enrol_lti/proxy_registration
The content to display when editing a tool.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* returnurl The url to return the page to. Can be null if no return url avaliable.
Example context (json):
{}
}}
{{#str}} successfulregistration, enrol_lti {{/str}}
<br/>
{{#returnurl}}
<a href="{{{returnurl}}}">{{#str}} continue {{/str}}</a>
{{/returnurl}}