Server IP : 68.65.122.142  /  Your IP : 18.118.139.82
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/glenirhm/lms.myglenbow.ca/old/tag/templates/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/glenirhm/lms.myglenbow.ca/old/tag/templates/index.mustache
{{!
    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 core_tag/index

    Displays items in one tag area tagged with the specific tag

    Classes required for JS:
    * tagarea

    Data attributes required for JS:
    * data-quickload
    * data-ta

    Context variables required for this template:
    * none

    Example context (json):
    {
        "component" : "core",
        "itemtype" : "course",
        "nextpageurl" : "http://moodle.org",
        "prevpageurl" : "http://moodle.org",
        "exclusiveurl" : "http://moodle.org",
        "exclusivetext" : "Show all Courses tagged with \"Sometag\"",
        "title" : "Courses tagged with \"Sometag\"",
        "content": "Course1, Course2",
        "hascontent": 1,
        "anchor": "core_course",
        "ta": 2,
        "tagid": 15
    }

}}
{{#hascontent}}
<div class="box generalbox tagarea" id="tagarea-{{component}}-{{itemtype}}" data-ta="{{ta}}">
    <a name="{{anchor}}"></a>
    <h3>{{{title}}}</h3>
    <div class="taggeditems">
        {{{content}}}
    </div>
    <div class="controls controls-bottom">
        {{#prevpageurl}}
            <a class="gotopage prevpage" href="{{prevpageurl}}" data-quickload="1">{{#str}}prevpage,tag{{/str}}</a>
        {{/prevpageurl}}
        {{#nextpageurl}}
            <a class="gotopage nextpage" href="{{nextpageurl}}" data-quickload="1">{{#str}}nextpage,tag{{/str}}</a>
        {{/nextpageurl}}
        {{#exclusiveurl}}
            <a class="exclusivemode" href="{{exclusiveurl}}">{{exclusivetext}}</a>
        {{/exclusiveurl}}
    </div>
</div>
{{/hascontent}}