__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
{{!
    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 tool_lp/manage_templates_page

    Manage learning plan templates template.

    Classes required for JS:
    * drag-parentnode
    * drag-samenode
    * templateactions

    Data attibutes required for JS:
    * data-region = managetemplates
    * data-templateid = id
    * data-action = deletetemplate

    Context variables required for this template:
    * templates - array of objects containing id, shortname, visible, canmanage, contextname
    * navigation - array of strings containing buttons for navigation

    Example context (json):
    {
        "templates": {
            "id": 1,
            "shortname": "Template1",
            "visible": true,
            "contextnamenoprefix": "System",
            "cohortscount": 12,
            "planscount": 6,
            "pluginbaseurl": "https://example.com",
            "pagecontextid": 1
        },
        "canmanage": true
    }
}}
<div data-region="managetemplates">
<div class="float-start">
    {{#navigation}}
    {{{.}}}
    {{/navigation}}
</div>
<table class="generaltable fullwidth managetemplates">
    <caption>{{#str}}listtemplatescaption, tool_lp{{/str}}</caption>
    <thead>
        <tr>
            <th scope="col">{{#str}}templatename, tool_lp{{/str}}</th>
            <th scope="col">{{#str}}category, tool_lp{{/str}}</th>
            <th scope="col">{{#str}}cohorts, core_cohort{{/str}}</th>
            <th scope="col">{{#str}}userplans, core_competency{{/str}}</th>
            {{#canmanage}}
            <th scope="col">{{#str}}actions, tool_lp{{/str}}</th>
            {{/canmanage}}
        </tr>
    </thead>
    <tbody class="drag-parentnode">
        {{#templates}}
        <tr class="drag-samenode" data-templateid="{{id}}">
            <td><a href="{{pluginbaseurl}}/templatecompetencies.php?templateid={{id}}&amp;pagecontextid={{pagecontextid}}">{{{shortname}}}</a></span> {{^visible}}{{#str}}hiddenhint, tool_lp{{/str}}{{/visible}}</td>
            <td>{{contextnamenoprefix}}</td>
            <td><a class="template-cohorts" href="{{pluginbaseurl}}/template_cohorts.php?id={{id}}&amp;pagecontextid={{pagecontextid}}">{{cohortscount}}</a></td>
            <td><a class="template-userplans" href="{{pluginbaseurl}}/template_plans.php?id={{id}}&amp;pagecontextid={{pagecontextid}}">{{planscount}}</a></td>
            <td>
            {{#canmanage}}
            <ul class="templateactions">
                <li>
                    <a href="#">{{#str}}edit{{/str}}</a><b class="caret"></b>
                    <ul class="dropdown dropdown-menu">
                        <li class="dropdown-item">
                            <a href="{{pluginbaseurl}}/edittemplate.php?id={{id}}&amp;pagecontextid={{pagecontextid}}&amp;return=templates">
                                {{#pix}}i/settings{{/pix}} {{#str}}edit{{/str}}
                            </a>
                        </li>
                        <li class="dropdown-item">
                            <a data-action="duplicatetemplate" data-templateid="{{id}}" href="#">
                                {{#pix}}t/copy{{/pix}} {{#str}}duplicate{{/str}}
                            </a>
                        </li>
                        <li class="dropdown-item">
                            <a href="{{pluginbaseurl}}/template_plans.php?id={{id}}&amp;pagecontextid={{pagecontextid}}">
                                {{#pix}}t/add{{/pix}} {{#str}}createlearningplans, tool_lp{{/str}}
                            </a>
                        </li>
                        <li class="dropdown-item">
                            <a href="{{pluginbaseurl}}/template_cohorts.php?id={{id}}&amp;pagecontextid={{pagecontextid}}">
                                {{#pix}}t/add{{/pix}} {{#str}}addcohortstosync, tool_lp{{/str}}
                            </a>
                        </li>
                        <li class="dropdown-item">
                            <a data-action="deletetemplate" data-templateid="{{id}}" href="#">
                                {{#pix}}t/delete{{/pix}} {{#str}}delete{{/str}}
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
            {{/canmanage}}
            </td>
        </tr>
        {{/templates}}
    </tbody>
</table>
{{^templates}}
<p class="alert alert-info">
    {{#str}}notemplates, tool_lp{{/str}}
</p>
{{/templates}}

{{#js}}
// Initialise the JS.
require(['tool_lp/templateactions',
         'tool_lp/menubar'],
        function(actionsMod, menubar) {

    actionsMod.init({{pagecontextid}});

    menubar.enhance('.templateactions', {
        '[data-action="deletetemplate"]': actionsMod.deleteHandler,
        '[data-action="duplicatetemplate"]': actionsMod.duplicateHandler
    });
});

{{/js}}

</div>

Filemanager

Name Type Size Permission Actions
action_selector.mustache File 2.01 KB 0777
comment_area.mustache File 3.66 KB 0777
competencies_move_tree.mustache File 1.89 KB 0777
competencies_tree.mustache File 1.85 KB 0777
competencies_tree_root.mustache File 1.6 KB 0777
competency_grader.mustache File 2.21 KB 0777
competency_path.mustache File 2.36 KB 0777
competency_picker.mustache File 2.91 KB 0777
competency_picker_competencyform.mustache File 2.42 KB 0777
competency_picker_user_plans.mustache File 2.85 KB 0777
competency_plan_navigation.mustache File 1.92 KB 0777
competency_rule_config.mustache File 2.88 KB 0777
competency_rule_points.mustache File 2.67 KB 0777
competency_summary.mustache File 2.45 KB 0777
course_competencies_page.mustache File 7.04 KB 0777
course_competency_settings.mustache File 2.05 KB 0777
course_competency_statistics.mustache File 2.57 KB 0777
evidence_summary.mustache File 2.46 KB 0777
form-user-selector-suggestion.mustache File 1.85 KB 0777
form_competency_list.mustache File 1.91 KB 0777
linked_courses_summary.mustache File 1.46 KB 0777
loading.mustache File 964 B 0777
manage_competencies_page.mustache File 6.96 KB 0777
manage_competency_frameworks_page.mustache File 4.72 KB 0777
manage_templates_page.mustache File 5.38 KB 0777
module_navigation.mustache File 1.87 KB 0777
no_frameworks_warning.mustache File 1014 B 0777
plan_page.mustache File 10.3 KB 0777
plans_page.mustache File 6.84 KB 0777
progress_bar.mustache File 1.61 KB 0777
related_competencies.mustache File 2.21 KB 0777
scale_configuration_page.mustache File 2.31 KB 0777
template_competencies_page.mustache File 3.66 KB 0777
template_statistics.mustache File 3.25 KB 0777
user_competency_course_navigation.mustache File 2.72 KB 0777
user_competency_summary.mustache File 4.86 KB 0777
user_competency_summary_in_course.mustache File 4.71 KB 0777
user_competency_summary_in_plan.mustache File 5.48 KB 0777
user_evidence_list_page.mustache File 5.51 KB 0777
user_evidence_page.mustache File 4.41 KB 0777
user_summary.mustache File 1.9 KB 0777
Filemanager