ÿØÿà JFIF    ÿÛ „  ( %!1"%)+...383-7(-.+  -%%--------+------------/----------------------------ÿÀ  ¶" ÿÄ     ÿÄ @    !1AQaq‘¡"±ÁÑð2’BRráS‚ñ3b¢CT²Ò #cÿÄ    ÿÄ '   1!AQ2a"‘±#ÿÚ   ? ò(/p‘—–¢·,M|¯G»R£üešT. ôŸEoCFñ‡ 4ÔkåóxR|µÁ¨ÓDà!Ç´µ˜‡p ÍQ‹§!þž^õWsŒy  åÁ§$á«%ºq˜™JyyË0y«^Ϗ -3ÃÏËÈ£Æ\P’ä„s&•‹Üs üô'àWt¹pñCp$bÚF`·7.^)¾!)ÒÙ˜–ÅÏš^h¾ø³·ìe±ŒaeÖ—Í,e=B}Jéߦ$$½—šÙÜCC¯¶è8β–Åkèwx LÉngT±æ¹£Ócœ¿Í/©Éÿ ‰ÚCÒ­mq;Tt¶–}0"zÖPcd1š­¤tˆ„ÐÓâqú[™öUCŠ2޿د­É(¸ßúçšmW,Ò ºf‹Ån™ÄLêÁ8üÁkÁ€L¥ÍuJ1œôrÂSŒÓöt!7EUíïb)AËi¬â-ÙHk8òÁiXYwÅ)O^"ÇØriÛô{»wRUKÙÏÚlÓ¬€‚’שT ] ªb—ÊîKC^×M“xùäñz¬zJ× {4[¹M'IÆeH1LCWÕ]œûº WDæà°OÅ‚¹c²ÞuA–rL`HšpCez‡V’— Ž‚Ë„–ñ­'µR0ÕÖ=À:±G»C\nÆÉ5*¢ †3šhQ4ýÒi$Õ1"Ü]¢p-q3zcQ$ªö¨¥æf›‘»´ÝÚHá„e²JÇ–iÊ:·à¬Øc5Åk»Laª*wi [0Ówk ¦a¦0Õ²ÅÅ‚T¸’³q:Æ<¹ú Ò˜Æ}2VE•Ѐp¡Ô3Úº …h³^LJºçì¥Ánó|˜ÖˆÎˆ+« ¦dø‘Mº–d\ªDðÛ„Ì×LÝ——Ð9Ç|•FèçVm™¨€™3õS–9Äå¢<̉Ìm¢±`·º˜&Z²ž Ë®D«¶»6™‰©­HÈ Àá«h­i³04æ’hxœi3ï¨(ÓL·†‹¶ËpŒ ƒÜÒ? :õdsÀ –3æÓ·Üjâ¬9—]8n¼&]I F£¼…ì–—Œ0v°LǐÅfÛ2TÖ’aµ˜N@ÖBSÏ^à´4-±°b×nÈÈœÆD=KdŒø…ÄÈK,›ÖR§fjü$^ÔÎ!„6^ s:Üun\ôkCÞò÷<—Lúl Í›G¹ÀPá¼Nc¡šÒ…ÙWͳœ±vÊáЄ×9‹P‰cEØ‘™›µŸP<×g1 º©Ø¬wiÁ^l5× I/';Ë+´Z‡ÓÄFÕp[Èð’ HÄ ó 9¬Dl4“é±Ï”V=^Hð;žLädÉa‚°Ë,#/Ž~²BÔÛ QãñQtIeórVB,ÏÂf‹4#Μc‹É3ZIÖ Œ¢¥·üxa‡Ãçè„jŠ[5 Ä!U?,3žÎ×…ðdÓ÷háŠA‰ìÄ4÷ÃÜZÃE{‰®+W\ZÍE[‰»µk»MÝ­`¢©†˜ÃV‹-f¢¡†¢a«eŠ%«Y¨©q%jâd,Ôq`) ¤¦…šˆ ¦E>0Ùb²t–Ÿ  ÷jsςҒKÈcø(é›;k(’#ôŒQ ™C> õ³M9óºÆµ¤çâ;uÀ)5>RÔ¸fÓ~Ȧ—’-$fe«"FâUˆÊwµPÏu w+"åÉó¨6s™Û9(À¨ù©hE°½†n`m~“@©›p!Vkhµ Á1šbEqqÊ@ºèl›2 –Yã%‘‚hÛ{a¶‡ÅÞM²¬çL34®Çl]®‹ŽØŒm'RÜe35æöˆ­Á­ cP9šeÁköo´L³Ì=p8]”‡B¶,šº|ɏdzXˆØk*ÇÚ{#ñ‰pã(€¶‡9ý'šÜ³½¯kƒ†Â’ëSOƒ•Å®H6+a¢µˆ‹Y¨b˜b+XˆÖ!°u!¢"µˆˆn2ˆ Å0Ä`Å Ô®c(ÓÜGº•Ä»Œ âWî%q.áÐÄ÷î%umÍ£+ÜQ,Vn¦-GphU¸¢X­&,Gt ·K¢ÅÅ·¥RÄÊÉbKn N­R2g$VµÕó Qr#–ÓZUÏð0ÎtÙÀœz ëöo“Îk¯n„T°"SÞ+³/…€½"ižãO%Í%&Δâ‘ËØ´IˆÓ°Ë‰ÞM3.™yçÁzit›`4C`k¢¼á!álÄï sÂ[×!¤l¾æo"ƒIÔ'@ªu)3›ô®“@Z à¾] üœ'‡4¸PÞkÁ-qÄH‰ÓÍBd´ÿ —¹°ÄA&ÊUC„öz‚‚RæŠtf¬>˜ÑidšEçÑL÷áý¡V±h§­c¿¥¨ƒ@g¼…Ýö^ÞËc.ž„æ“I[ ª+·zÐÒÚ,½Ð»¶€C›7jk$๖€Ž¾ÅÙpp¶ÍþéΤ ½ØÎŒq ñpæžÅ¥#Øâ49ÃÂK^MYV“,¶Éz_òæ:…;Õ«¦I3âJ£¤û5$7Èxün\â]Êe¯(Ÿ&Ž‹¶2<6Ćf× æ¢ƱqWı[(ÙÂŽç‚T7¨@ÈÉÍß‚ïÙ"&3TYlGށ†)†#5ŠA©^T2ÆÁ†)©†©†¤yGXÁ†©"†)©¼ÅV WS†#©]R–r‹q5ÕbâWþBh¯u+ªÅÄ×ü„nÑ^êkªÁj‰jeœWˆÕÕ`µDµ2Ì+Ä µDµµ5Ô{¤Þ0RF’H÷AÛ<ÊÁ§ ƈæ0Ñ£ê4 öÚµ[¬/1²€â<-¬šö²r×0o×w ´xÐÒË„ g01¬„åEM蛇Ã\6µE›‘fÙO k÷CºnÓ1`iîÒ² áÂ!ÑLÄÿ ³¬\õ*:M=Ç»c‹2[‰ØsÕLò\ŒK L^™üÄN\¶#» Ç\……ßïIœÉ$¸ÎñÍ®ÔHÇ Ûí/´>Li”„†g^$ 7NÍÑÑ2M2ªNg=k½Ð}Ÿl6‡ —JWˆ”ÞéT·+µ¦üÂFè¢Vs6ýÆ4»2+2IÝ9ô9®ÇGÙÇ1+Ä8;*Õ§ž½D*îÑWÚçá3Ma¤·ˆ¥t}š²Ü…Q+Æüµ8HíS”üxGéÁˆ¦Ël„éÈ 5 µÄƒ6äÜ(kIš¯S†fÖ&¸®×v|Äyˆ*禌Éù@7-®Ä[]ÎÖ¿ê`º…=:…žJVnݳvðÖKE¼‚ »mà ÷f®:Ë ™–4rð¡4` ܹçž~‹C=œ…¾Ïj|VDtK.ƒ"9 Ï ­–éXá³6WÒïIL-Ї Ç issued_badge.mustache000064400000032650152265340220010724 0ustar00{{! 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 . }} {{! @template core_badges/issued_badge Display an issued badge. Context variables required for this template: * coursefullname - Course name (only available if it's a course badge). * sitefullname - Site name (only available if it's a site badge). * badgeimage - Badge image. * expireddate - Date (in the past) when the badge expired. If expiredate is defined, this field will be empty [optional]. * expireddateformatted - Formatted expired date [optional]. * expiredate - Date (in the future) when the badge will expire. If expireddate is defined, this field will be empty [optional]. * badgename - Badge name. * badgedescription - Badge description. * badgeissuedon - Date where the badge was issued on by the user [optional]. * recipientname - User awarded with the badge [optional]. * recipientnotification.message - Message to be displayed if there is some issue with the recipient [optional]. * criteria - HTML code with the criteria to display. * issuedby - Badge issuer. * issuedbyemailobfuscated - Badge issuer email link obfuscated. * hasotherfields - Wheter the badge has other fields or not. * language - Badge language [optional]. * version - Badge version [optional]. * imagecaption - Badge image caption [optional]. * endorsement - Badge endorsement data, with id, badgeid, issuername... [optional]. * hasrelatedbadges - Whether the badge has related badges or not. * relatedbadges - Array of related badges (if hasrelatedbadges is set to true). * hasalignments - Whether the badge has alignments or not. * alignments - Array of alignments (if hasalignments is set to true). * hostedurl - The URL where the badge is hosted [optional]. Example context (json): { "coursefullname": "Learn Moodle 3.11 Basics", "badgeimage": "https://moodlesite/pluginfile/badges/123.jpg", "expiredate": 1656972000, "badgename": "Lean Moodle 3.11 Basics helper", "badgedescription":"This badge is awarded to people who have provided outstanding support to other participants in the MOOC", "badgeissuedon": 1625491897, "recipientname": "Judit Cortes", "recipientnotification": { "message": "This user cannot be verified as a recipient of this badge." }, "criteria": "Complete ALL of the listed requirements.", "issuedby": "Moodle HQ", "issuedbyemailobfuscated": "Moodle HQ", "hasotherfields": true, "language": "English", "version": "1.0beta", "imagecaption": "This is a nice picture from my cat", "endorsement": { "id": "2", "badgeid": "13", "issuername": "Endorsement", "issuerurl": "http://endorsement.cat", "issueremail": "endorsement@moodle.invalid", "claimid": "http://claim.cat", "claimcomment": "This is an endorsement comment.", "dateissued": "1625491680" }, "hasrelatedbadges": true, "relatedbadges": [ { "id": "12", "name": "Lean Moodle 3.11 Basics participant", "version": "", "language": "en", "type": "2", "url": "http://xxxxx/badges/overview.php?id=12" } ], "hasalignments": true, "alignments": [ { "id": "3", "badgeid": "13", "targetname": "Skill 1", "targeturl": "http://skill1.cat", "targetdescription": "This is the description for \"Skill 1\"", "targetframework": "Framework name", "targetcode": "S001" }, { "id": "2", "badgeid": "13", "targetname": "Alignment1", "targeturl": "http://alignment1.cat", "targetdescription": "This is the description for alignament1", "targetframework": "Framework name", "targetcode": "A1001" } ], "hostedurl": "http://externalbackpack/badge?id=ABC" } }}
{{imagecaption}} {{#expireddateformatted}} {{# pix }} i/expired, core, {{# str }} expireddate, badges, {{expireddateformatted}} {{/ str }}{{/ pix }} {{/expireddateformatted}} {{#downloadurl}}
{{/downloadurl}} {{#addtobackpackurl}}
{{/addtobackpackurl}}

{{badgename}}

{{#recipientname}}
{{#recipientnotification}} {{> core/notification_warning}} {{/recipientnotification}} {{#str}}awardedto, core_badges, {{recipientname}}{{/str}}
{{/recipientname}}
{{#badgeissuedon}} {{#str}} issuedon, core_badges, {{#userdate}}{{badgeissuedon}}, {{#str}} strftimedatetime, langconfig {{/str}}{{/userdate}} {{/str}}
{{/badgeissuedon}} {{#expiredate}} {{#str}} expiresin, core_badges, {{#userdate}}{{expiredate}}, {{#str}} strftimedatetime, langconfig {{/str}}{{/userdate}} {{/str}}
{{/expiredate}} {{#expireddate}} {{#str}} expiredin, core_badges, {{#userdate}}{{expireddate}}, {{#str}} strftimedatetime, langconfig {{/str}}{{/userdate}} {{/str}} {{/expireddate}}
{{#issuedby}}
{{#str}} issuedby, core_badges, {{#issuedbyemailobfuscated}} {{{issuedbyemailobfuscated}}} {{/issuedbyemailobfuscated}} {{^issuedbyemailobfuscated}} {{issuedby}} {{/issuedbyemailobfuscated}} {{/str}}
{{/issuedby}} {{#hostedurl}} {{/hostedurl}} {{#coursefullname}}
{{#str}} course, core_badges, {{coursefullname}} {{/str}}
{{/coursefullname}}
{{#badgetag}}

{{> core_tag/taglist}}

{{/badgetag}}

{{{badgedescription}}}

{{#str}}bcriteria, core_badges{{/str}}

{{{criteria}}}
{{#hasotherfields}}
{{#version}}
{{#str}}version, core_badges{{/str}}
{{version}}
{{/version}} {{#language}}
{{#str}}language, core_badges{{/str}}
{{language}}
{{/language}} {{#imagecaption}}
{{#str}}imagecaption, core_badges{{/str}}
{{imagecaption}}
{{/imagecaption}}
{{#endorsement}}

{{#str}}endorsement, core_badges{{/str}}

{{#str}}issuername, core_badges{{/str}}
{{issuername}}
{{#str}}issueremail, core_badges{{/str}}
{{{issueremail}}}
{{#str}}issuerurl, core_badges{{/str}}
{{issuerurl}}
{{#str}}dateawarded, core_badges{{/str}}
{{#userdate}}{{dateissued}}, {{#str}} strftimedatetime, langconfig {{/str}}{{/userdate}}
{{#str}}claimid, core_badges{{/str}}
{{claimid}}
{{#str}}claimcomment, core_badges{{/str}}
{{claimcomment}}
{{/endorsement}} {{#hasrelatedbadges}}

{{#str}}relatedbages, core_badges{{/str}}

{{/hasrelatedbadges}} {{#hasalignments}}

{{#str}}alignment, core_badges{{/str}}

    {{/hasalignments}} {{#alignments}}
  • {{targetname}}
  • {{/alignments}} {{#hasalignments}}
{{/hasalignments}}
{{/hasotherfields}}
external_backpacks_page.mustache000064400000007450152265340220013126 0ustar00{{! 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 . }} {{! @template core_badges/external_backpacks_page Manage backpacks. Context variables required for this template: * backpacks - array of objects containing id, backpackweburl, enabled, apiversion and sortorder Example context (json): { "backpacks": [ { "backpackweburl": "http://localhost/", "sitebackpack": true, "cantest": true, "canmoveup": true, "canmovedown": false } ] } }}
{{#backpacks}} {{/backpacks}}
{{#str}}listbackpacks, core_badges{{/str}}
{{#str}}backpackweburl, core_badges{{/str}} {{#str}}order{{/str}} {{#str}}actions, core_badges{{/str}}
{{{backpackweburl}}} {{#canmoveup}} {{#pix}}t/up, core,{{#str}}moveup{{/str}}{{/pix}} {{/canmoveup}} {{^canmoveup}} {{#pix}}spacer, moodle{{/pix}} {{/canmoveup}} {{#canmovedown}} {{#pix}}t/down, core,{{#str}}movedown{{/str}}{{/pix}} {{/canmovedown}} {{^canmovedown}} {{#pix}}spacer, moodle{{/pix}} {{/canmovedown}} {{#pix}}t/edit, core,{{#str}}editsettings{{/str}}{{/pix}} {{^sitebackpack}} {{#pix}}t/delete, core,{{#str}}delete{{/str}}{{/pix}} {{/sitebackpack}} {{#cantest}} {{#pix}}t/check, core,{{#str}}testsettings, core_badges{{/str}}{{/pix}} {{/cantest}}
manage_badge.mustache000064400000006144152265340220010657 0ustar00{{! 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 . }} {{! @template core_badges/manage_badge Displays the tertiary nav for the page managing a particular badge Context variables required for this template: * button stdClass - The back button to be rendered * urlselect stdClass - The URL select to be rendered Example context (json): { "button": { "id": "buttons_button", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, "urlselect": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "helpicon": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon":{ "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "showbutton": "Go", "options": [{ "name": "Group 1", "isgroup": true, "options": [ {"name": "Item 1", "isgroup": false, "value": "1"}, {"name": "Item 2", "isgroup": false, "value": "2"} ]}, {"name": "Group 2", "isgroup": true, "options": [ {"name": "Item 3", "isgroup": false, "value": "3"}, {"name": "Item 4", "isgroup": false, "value": "4"} ]}], "disabled": false, "title": "Some cool title" } } }}
{{#button}} {{/button}} {{#urlselect}} {{/urlselect}} {{> core_badges/badge_more_nav }}
badge_more_nav.mustache000064400000002432152265340220011231 0ustar00{{! 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 . }} {{! @template core_badges/badge_more_nav Example context (json): { "thirdpartybutton": true, "thirdpartynodes": { "link": "http://example.org/help", "text": "Example text" } } }} {{#thirdpartybutton}} {{#thirdpartynodes}} {{/thirdpartynodes}} {{/thirdpartybutton}} {{^thirdpartybutton}} {{#thirdpartynodes}} {{/thirdpartynodes}} {{/thirdpartybutton}} manage_badges.mustache000064400000004155152265340220011042 0ustar00{{! 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 . }} {{! @template core_badges/manage_badges Displays the tertiary nav for manage badges page Context variables required for this template: * buttons Array - List of buttons to be displayed in the tertiary navigation section Example context (json): { "buttons": [ { "id": "buttons_button", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button1", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, { "id": "buttons_button_2", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] } ] } }}
{{#buttons}} {{/buttons}} {{> core_badges/badge_more_nav }}
award_badge.mustache000064400000007253152265340220010527 0ustar00{{! 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 . }} {{! @template core_badges/award_badge Displays the tertiary nav for the badge recipients page Context variables required for this template: * button stdClass - The back button to be rendered * urlselect stdClass - The URL select to be rendered * awardbutton stdClass - The award badge button to be rendered Example context (json): { "button": { "id": "buttons_button", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, "urlselect": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "helpicon": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon":{ "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "showbutton": "Go", "options": [{ "name": "Group 1", "isgroup": true, "options": [ {"name": "Item 1", "isgroup": false, "value": "1"}, {"name": "Item 2", "isgroup": false, "value": "2"} ]}, {"name": "Group 2", "isgroup": true, "options": [ {"name": "Item 3", "isgroup": false, "value": "3"}, {"name": "Item 4", "isgroup": false, "value": "4"} ]}], "disabled": false, "title": "Some cool title" }, "awardbutton": { "id" : "id_id", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] } } }}
{{#button}} {{/button}} {{#urlselect}} {{/urlselect}} {{#awardbutton}} {{/awardbutton}} {{> core_badges/badge_more_nav }}
dropdown.mustache000064400000004041152265340250010136 0ustar00{{! 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 . }} {{! @template core_my/dropdown Simple dropdown for the my/courses page. Example context (json): { "newcourseurl": "https://moodle.test/course/edit.php?category=1", "manageurl": "https://moodle.test/course/management.php?categoryid=1", "courserequesturl": "https://moodle.test/course/request.php?categoryid=1" } }}
{{#manageurl}}
{{/manageurl}} {{#newcourseurl}}
{{/newcourseurl}} {{#courserequesturl}}
{{/courserequesturl}}
add_tags.mustache000064400000004130152265340320010045 0ustar00{{! 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 . }} {{! @template core_tag/add_tags Renders the form for adding tags. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * sesskey string The session key Example context (json): { "actionurl" : "#", "sesskey" : "UniqueSesskey1a2b3c" } }}
{{! Enclosing these controls in a div with the controls class for BS2 compatibility when showing validation errors.}}
taglist.mustache000064400000006443152265340320007757 0ustar00{{! 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 . }} {{! @template core_tag/taglist Displays a tag list, usually the list of tags some entry is tagged with Classes required for JS: * hideoverlimit * tagmorelink * taglesslink Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "tags": [ {"id":1,"name":"Cats","viewurl":"http://moodle.org/tag/index.php?tag=Cats","isstandard":"1","flag":0}, {"id":1,"name":"Dogs","viewurl":"http://moodle.org/tag/index.php?tag=Dogs","isstandard":"0","flag":1}, {"id":1,"name":"Mice","viewurl":"http://moodle.org/tag/index.php?tag=Mice","isstandard":"0","flag":0} ], "label": "Tags", "accesshidelabel": false, "tagscount": 3, "overflow": 1, "classes": "someadditionalclass", "displaylink": false } }} {{#tagscount}}
{{#label}} {{label}}: {{/label}}
{{/tagscount}} {{#js}} require(['jquery'], function($) { $('.tag_list .tagmorelink').click(function(e) { e.preventDefault(); $(this).closest('.tag_list').removeClass('hideoverlimit'); }); $('.tag_list .taglesslink').click(function(e) { e.preventDefault(); $(this).closest('.tag_list').addClass('hideoverlimit'); }); }); {{/js}} tagcloud.mustache000064400000004254152265340320010110 0ustar00{{! 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 . }} {{! @template core_tag/tagcloud Displays a tag cloud Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "tags": [ {"id":1,"name":"Cats","viewurl":"http://moodle.org/tag/index.php?tag=Cats","isstandard":"1","count":12,"size":20,"flag":0}, {"id":1,"name":"Dogs","viewurl":"http://moodle.org/tag/index.php?tag=Dogs","isstandard":"0","size":2,"flag":1}, {"id":1,"name":"Mice","viewurl":"http://moodle.org/tag/index.php?tag=Mice","isstandard":"0","count":4,"size":8,"flag":0} ], "tagscount": 3, "totalcount": 5, "overflow": 1 } }} {{#tagscount}}
{{#overflow}}

{{#str}} showingfirsttags, core_tag, {{tagscount}} {{/str}}

{{/overflow}}
{{/tagscount}} index.mustache000064400000004303152265340320007410 0ustar00{{! 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 . }} {{! @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}}

{{{title}}}

{{{content}}}
{{#prevpageurl}} {{#str}}prevpage,tag{{/str}} {{/prevpageurl}} {{#nextpageurl}} {{#str}}nextpage,tag{{/str}} {{/nextpageurl}} {{#exclusiveurl}} {{exclusivetext}} {{/exclusiveurl}}
{{/hascontent}} tagfeed.mustache000064400000004025152265340320007701 0ustar00{{! 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 . }} {{! @template core_tag/tagfeed Displays list of items tagged with a tag Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "items": [ {"img":"","heading":"First post","details":"Posted by user 1"}, {"img":"","heading":"Second post without details"}, {"heading":"Third post without image","details":"Posted by user 3"} ] } }}
    {{#items}}
  • {{#img}}
    {{{img}}}
    {{/img}}
    {{#heading}}
    {{{heading}}}
    {{/heading}} {{#details}}
    {{{details}}}
    {{/details}}
  • {{/items}}
add_tag_collection.mustache000064400000004512152265340320012101 0ustar00{{! 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 . }} {{! @template core_tag/add_tag_collection Renders the form for adding tag collections. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * sesskey string The session key Example context (json): { "actionurl" : "#", "sesskey" : "UniqueSesskey1a2b3c" } }}
{{! Enclosing these controls in a div with the controls class for BS2 compatibility when showing validation errors.}}
combine_tags.mustache000064400000003432152265340320010735 0ustar00{{! 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 . }} {{! @template core_tag/combine_tags Renders the form for combining tags. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * tags Array The list of tags to combine. Example context (json): { "tags": [ { "id": 1, "name": "Cat" }, { "id": 2, "name": "Dog" }, { "id": 3, "name": "Mouse" } ] } }}
{{#str}}selectmaintag, tag{{/str}}
{{#tags}}
{{/tags}}
user_course_navigation.mustache000064400000004531152266351310013063 0ustar00{{! 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 . }} {{! @template report_competency/user_course_navigation Moodle navigation control allowing to jump to a user or filter to an activity. Example context (json): { "hasusers": false, "hasmodules": false} }}

{{{groupselector}}}

{{#hasusers}} {{/hasusers}} {{#hasmodules}} {{/hasmodules}}
{{#js}} require(['core/form-autocomplete', 'report_competency/user_course_navigation'], function(autocomplete, nav) { (new nav('#user-nav-{{uniqid}}', '#module-nav-{{uniqid}}', '{{baseurl}}', {{userid}}, {{courseid}}, {{moduleid}})); {{#hasusers}} autocomplete.enhance('#user-nav-{{uniqid}}', false, false, {{# quote }}{{# str }}jumptouser, tool_lp{{/ str }}{{/ quote }}); {{/hasusers}} {{#hasmodules}} autocomplete.enhance('#module-nav-{{uniqid}}', false, false, {{# quote }}{{# str }}filterbyactivity, tool_lp{{/ str }}{{/ quote }}); {{/hasmodules}} }); {{/js}} report.mustache000064400000003000152266351310007607 0ustar00{{! 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 . }} {{! @template gradereport_singleview/report Report table and sticky footer. Context variables required for this template: * sesskey - string - The session key. * table - string - HTML content of the grade items or users table. * stickyfooter - string - HTML content of the sticky footer. Example context (json): { "sesskey": "fakesesskey", "table": "
NameUser fullnameGradeActions
", "stickyfooter": "" } }}
{{{table}}} {{{stickyfooter}}}
user_competency_summary.mustache000064400000000275152266351310013270 0ustar00 {{#grade}}{{gradename}}{{/grade}} {{^grade}}{{#str}}notrated, report_competency{{/str}}{{/grade}} usage.mustache000064400000002461152266367210007420 0ustar00{{! 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 . }} {{! @template core_cache/usage The cache usage page Context variables required for this template: * maintable - Main table HTML * summarytable - Summary table HTML * samplesform - Form to choose number of samples Example context (json): { "maintable": "", "summarytable": "", "samplesform": "" } }}

{{# str }} cacheusage, cache {{/ str }}

{{# str }} cachestores, cache {{/ str }}

{{{summarytable}}}

{{# str }} details {{/ str }}

{{{maintable}}}
{{{samplesform}}} local/ltiadvantage/login.mustache000064400000012303152266376040013156 0ustar00{{! 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 . }} {{! @template auth_lti/local/ltiadvantage/login Template which displays a choice screen for instructors on first launch, allowing them to select whether to use an existing account in the tool, or to auto provision a new one. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * formaction * sesskey * info - a notification describing the first launch options * cancreateaccounts - whether or not the user is allowed to create auth_lti accounts * accountinfo - information about the user, importantly whether they are logged in or not. Example context (json): { "formaction": "auth/lti/login.php", "sesskey": "1a2b3c4dfg", "info": { "message": "Looks like this is your first time here...", "extraclasses": "", "announce": false, "closebutton": false, "issuccess": true }, "cancreateaccounts": true, "isloggedin": true, "accountinfo": { "firstname": "John", "lastname": "Smith", "email": "john@example.com", "picturehtml": "\"\"" } } }}

{{#str}} welcome, auth_lti {{/str}}

{{#info}} {{> core/notification}} {{/info}}
{{#str}} haveexistingaccount, auth_lti {{/str}}

{{#str}} useexistingaccount, auth_lti {{/str}}

{{#isloggedin}} {{#accountinfo}}

{{#str}} currentlyloggedinas, auth_lti {{/str}}
{{{picturehtml}}} {{firstname}} {{lastname}} ({{email}})

{{/accountinfo}} {{/isloggedin}} {{^isloggedin}}

{{#str}} mustbeloggedin, auth_lti {{/str}}

{{/isloggedin}}
{{#cancreateaccounts}}
{{#str}} createnewaccount, auth_lti {{/str}}

{{#str}} createaccount, auth_lti {{/str}}

{{#str}} getstartedwithnewaccount, auth_lti {{/str}}

{{/cancreateaccounts}}
local/ltiadvantage/account_binding_complete.mustache000064400000003357152266376040017075 0ustar00{{! 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 . }} {{! @template auth_lti/local/ltiadvantage/account_binding_complete Template which displays the confirmation after the user has either signed in and has their account linked, or has had an account automatically provisioned and linked. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * notification * returnurl Example context (json): { "notification": { "message": "Your account was successfully linked!", "extraclasses": "", "announce": true, "closebutton": false, "issuccess": true, "isinfo": false, "iswarning": false, "iserror": false }, "returnurl": "https://your.site/enrol/lti/launch_deeplink.php?id=123abc" } }}
{{#notification}} {{> core/notification}} {{/notification}} {{#str}}continue, core{{/str}}
local/overview/overviewtable.mustache000064400000007247152266413400014132 0ustar00{{! 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 . }} {{! @template core_courseformat/local/overview/overviewtable Shows an activity plugin overview table. Example context (json): { "caption": "Activity completion overview table", "headers": [ { "key": "name", "name": "Activity Name", "textalign": "text-start" }, { "key": "completion", "name": "Completion", "textalign": "text-center" } ], "activities": [ { "cmid": 1, "overviews": [ { "overview": "name", "value": "Assignment 1", "content": "Assignment 1", "textalign": "text-start" }, { "overview": "completion", "value": "1", "content": "Complete", "textalign": "text-center", "alertcount": 1, "alertlabel": "Assignment 1 has 1 alert" } ] }, { "cmid": 2, "overviews": [ { "overview": "name", "value": "Quiz 1", "content": "Quiz 1", "textalign": "text-start" }, { "overview": "completion", "value": "0", "content": "Incomplete", "textalign": "text-center", "alertcount": 0, "alertlabel": "" } ] } ] } }}
{{#headers}} {{/headers}} {{#activities}} {{#overviews}} {{/overviews}} {{/activities}}
{{caption}}
{{{name}}}
{{{content}}}
local/overview/missingoverviewnotice.mustache000064400000002415152266413400015706 0ustar00{{! 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 . }} {{! @template core_courseformat/local/overview/missingoverviewnotice Message to display when the activity plugin overview is missing. Example context (json): { "name": "Course name", "overviewurl": "https://moodle.org", "notification": { "message": "Notification message", "level": "info" }, "missingoverview": true } }} {{#missingoverview}}
{{#notification}} {{>core/notification_info}} {{/notification}}
{{/missingoverview}} local/overview/activityname.mustache000064400000003312152266413400013736 0ustar00{{! 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 . }} {{! @template core_courseformat/local/overview/activityname The course overview activity name cell. Example context (json): { "activityname": "Activity name", "activityurl": "http://moodle.com", "sectiontitle": "Section title", "visible": true, "stealth": false } }}
{{#sectiontitle}}
{{{sectiontitle}}}
{{/sectiontitle}}
{{#hidden}} {{#pix}}i/show, core{{/pix}} {{#str}}hiddenfromstudents{{/str}} {{/hidden}} {{#stealth}} {{#pix}}t/stealth, core{{/pix}} {{#str}}hiddenoncoursepage{{/str}} {{/stealth}}
local/overview/overviewpage.mustache000064400000004623152266413400013752 0ustar00{{! 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 . }} {{! @template core_courseformat/local/overview/overviewpage Course activity overview page template. Example context (json): { "elements": [ { "name": "Activity 1", "shortname": "forum", "icon": "", "overviewurl": "https://moodle.org" }, { "name": "Activity 2", "shortname": "activity2", "icon": "", "overviewurl": "https://moodle.org" } ], "contextid": 1, "courseid": 1 } }}
{{#elements}} {{ {{> core/loading }}
{{/preloadedcontent}} {{/fragment}} {{/sectioncontent}} {{/core/local/collapsable_section}} {{/elements}} {{#js}} require(['core_course/local/overview/overviewpage'], function(overviewpage) { overviewpage.init('#course-overview-page'); }); {{/js}} local/courseindex/cmcompletion.mustache000064400000003440152266413400014416 0ustar00{{! 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 . }} {{! @template core_courseformat/local/courseindex/cmcompletion Displays a course index course-module entry. Example context (json): { "state": 1, "iscomplete": true, "isincomplete": true, "isfail": true, "hasstate": true } }} {{#iscomplete}} {{#pix}} t/completion_complete, moodle, {{#str}} done, completion {{/str}} {{/pix}} {{/iscomplete}} {{#isincomplete}} {{#pix}} t/completion_incomplete, moodle, {{#str}} todo, completion {{/str}} {{/pix}} {{/isincomplete}} {{#isfail}} {{#pix}} t/completion_fail, moodle, {{#str}} failed, completion {{/str}} {{/pix}} {{/isfail}} {{^hasstate}} {{/hasstate}} local/courseindex/section.mustache000064400000011542152266413400013373 0ustar00{{! 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 . }} {{! @template core_courseformat/local/courseindex/section Displays a course index section entry. Example context (json): { "title": "General", "id": 23, "uniqid": "0", "number": 1, "sectionurl": "#", "indexcollapsed": 0, "component": null, "current": 1, "visible": 1, "hasrestrictions": 0, "cms": [ { "id": 10, "name": "Glossary of characters", "url": "#", "visible": 1, "isactive": 0 }, { "id": 11, "name": "World Cinema forum", "url": "#", "visible": 1, "isactive": 0 }, { "id": 12, "name": "Announcements", "url": "#", "visible": 0, "isactive": 1 } ] } }}
{{#pix}} t/collapsedchevron, core {{/pix}} {{#pix}} t/collapsedchevron_rtl, core {{/pix}} {{#str}} expand, core {{/str}} {{#pix}} t/expandedchevron, core {{/pix}} {{#str}} collapse, core {{/str}} {{! We display a link when there is a sectionurl, otherwise a span. The data-for attribute is required by JS. }} {{#sectionurl}} {{{title}}} {{/sectionurl}} {{^sectionurl}} {{{title}}} {{/sectionurl}} {{highlighted}} {{#pix}} t/locked, core {{/pix}}
    {{#cms}} {{> core_courseformat/local/courseindex/cm }} {{/cms}}
{{#js}} require(['core_courseformat/local/courseindex/section'], function(component) { component.init('#course-index-section-{{id}}'); }); {{/js}} local/courseindex/courseindex.mustache000064400000007232152266413400014260 0ustar00{{! 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 . }} {{! @template core_courseformat/local/courseindex/courseindex Displays the course index. Example context (json): { "editmode": true, "sections": [ { "title": "General", "id": 42, "number": 1, "sectionurl": "#", "indexcollapsed": 0, "cms": [ { "name": "Glossary of characters", "id": "10", "url": "#", "visible": 1, "isactive": 0, "uniqid": "0", "accessvisible": 1 }, { "name": "World Cinema forum", "id": "11", "url": "#", "visible": 1, "isactive": 0, "uniqid": "0", "accessvisible": 1 }, { "name": "Announcements", "id": "12", "url": "#", "visible": 1, "isactive": 1, "uniqid": "0", "accessvisible": 1 } ] }, { "title": "City of God or Cidade de Deus", "id": "43", "number": "2", "sectionurl": "#", "indexcollapsed": 1, "cms": [ { "name": "Resources", "id": "13", "url": "#", "visible": 1, "isactive": 0, "uniqid": "0", "accessvisible": 1 }, { "name": "Studying City of God by Stephen Smith Bergman-Messerschmidt", "id": "14", "url": "#", "visible": 1, "isactive": 0, "uniqid": "0", "accessvisible": 1 }, { "name": "Film education study guide", "id": "15", "url": "#", "visible": 1, "isactive": 0, "uniqid": "0", "accessvisible": 1 } ] } ] } }}
{{#sections}} {{> core_courseformat/local/courseindex/section }} {{/sections}}
{{#js}} require(['core_courseformat/local/courseindex/courseindex'], function(component) { component.init('#course-index'); }); {{/js}} local/courseindex/cm.mustache000064400000005115152266413400012325 0ustar00{{! 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 . }} {{! @template core_courseformat/local/courseindex/cm Displays a course index course-module entry. Example context (json): { "id": "12", "name": "Announcements", "url": "#", "visible": 1, "isactive": 1, "uniqid": "0", "accessvisible": 1, "hascmrestrictions": 0, "indent": 1 } }}
  • {{^hasdelegatedsection}} {{#uservisible}} {{{name}}} {{/uservisible}} {{^uservisible}} {{{name}}} {{/uservisible}} {{#pix}} t/locked, core {{/pix}} {{/hasdelegatedsection}} {{#hasdelegatedsection}} {{#sectioninfo}} {{> core_courseformat/local/courseindex/section}} {{/sectioninfo}} {{/hasdelegatedsection}}
  • {{#js}} require(['core_courseformat/local/courseindex/cm'], function(component) { component.init('#course-index-cm-{{id}}'); }); {{/js}} local/courseindex/drawer.mustache000064400000002374152266413400013216 0ustar00{{! 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 . }} {{! @template core_courseformat/local/courseindex/drawer This template renders the course index drawer with the placeholder. The code from this file is just an stub as the final code will come from the new layouts for Moodle 4.0. Example context (json): {} }} {{#js}} require(['core_courseformat/local/courseindex/drawer'], function(component) { component.init('#courseindex'); }); {{/js}} local/courseindex/placeholders.mustache000064400000004132152266413400014371 0ustar00{{! 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 . }} {{! @template core_courseformat/local/courseindex/placeholders This template renders the loading placeholders for the course index. Example context (json): {} }} {{#js}} require(['core_courseformat/local/courseindex/placeholder'], function(component) { component.init('#course-index-placeholder'); }); {{/js}} local/content.mustache000064400000020254152266413400011051 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content Displays the complete course format. Example context (json): { "initialsection": { "num": 0, "id": 34, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Forum example", "hasname": "true" }, "id": 3, "cmid": 3, "module": "forum", "extraclasses": "newmessages", "anchor": "module-3" } } ], "hascms": true }, "iscurrent": true, "summary": { "summarytext": "Summary text!" } }, "sections": [ { "num": 1, "id": 35, "header": { "name": "Section title", "url": "#", "headinglevel": 3 }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Another forum", "hasname": "true" }, "id": 4, "cmid": 4, "module": "forum", "extraclasses": "newmessages", "anchor": "module-4" } } ], "hascms": true }, "iscurrent": true, "summary": { "summarytext": "Summary text!" } }, { "num": 4, "id": 36, "header": { "name": "Section 2 title", "url": "#", "headinglevel": 3 }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Forum example", "hasname": "true" }, "id": 5, "cmid": 5, "module": "forum", "extraclasses": "newmessages", "anchor": "module-5" } } ], "hascms": true }, "iscurrent": true, "summary": { "summarytext": "Summary text!" } } ], "format": "topics", "title": "Course title example", "hasnavigation": true, "sectionnavigation": { "hasprevious": true, "previousurl": "#", "larrow": "◄", "previousname": "Section 3", "hasnext": true, "rarrow": "►", "nexturl": "#", "nextname": "Section 5" }, "sectionselector": { "hasprevious": true, "previousurl": "#", "larrow": "◄", "previousname": "Section 3", "hasnext": true, "rarrow": "►", "nexturl": "#", "nextname": "Section 5", "selector": "" }, "sectionreturn": 1, "singlesection": { "num": 5, "id": 37, "header": { "name": "Single Section Example", "url": "#", "headinglevel": 3 }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Assign example", "hasname": "true" }, "id": 6, "cmid": 6, "module": "assign", "extraclasses": "", "anchor": "module-6" } } ], "hascms": true }, "iscurrent": true, "summary": { "summarytext": "Summary text!" } } } }}

    {{{title}}}

    {{{completionhelp}}}
      {{#initialsection}} {{$ core_courseformat/local/content/section }} {{> core_courseformat/local/content/section }} {{/ core_courseformat/local/content/section }} {{/initialsection}} {{#sections}} {{$ core_courseformat/local/content/section }} {{> core_courseformat/local/content/section }} {{/ core_courseformat/local/content/section }} {{/sections}}
    {{#hasnavigation}}
    {{#sectionnavigation}} {{$ core_courseformat/local/content/sectionnavigation }} {{> core_courseformat/local/content/sectionnavigation }} {{/ core_courseformat/local/content/sectionnavigation }} {{/sectionnavigation}}
      {{#singlesection}} {{$ core_courseformat/local/content/section }} {{> core_courseformat/local/content/section }} {{/ core_courseformat/local/content/section }} {{/singlesection}}
    {{#sectionselector}} {{$ core_courseformat/local/content/sectionselector }} {{> core_courseformat/local/content/sectionselector }} {{/ core_courseformat/local/content/sectionselector }} {{/sectionselector}}
    {{/hasnavigation}} {{#numsections}} {{^singlesection}} {{$ core_courseformat/local/content/addsection}} {{> core_courseformat/local/content/addsection}} {{/ core_courseformat/local/content/addsection}} {{/singlesection}} {{/numsections}} {{#bulkedittools}} {{$ core_courseformat/local/content/bulkedittools}} {{> core_courseformat/local/content/bulkedittools}} {{/ core_courseformat/local/content/bulkedittools}} {{/bulkedittools}}
    {{#js}} require(['core_courseformat/local/content'], function(component) { component.init( '#page', {}, {{sectionreturn}}, {{#pagesectionid}}{{.}}{{/pagesectionid}}{{^pagesectionid}}null{{/pagesectionid}} ); }); {{/js}} local/content/delegatedsection.mustache000064400000007040152266413400014352 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/delegatedsection Displays a course section. Note: This template is a wrapper around the section/content template to allow course formats and theme designers to modify parts of the wrapper without having to copy/paste the entire template. Example context (json): { "num": 3, "id": 35, "sectionname": "Section title", "controlmenu": "[tools menu]", "header": { "name": "Section title", "title": "Section title", "url": "#", "ishidden": true, "headinglevel": 3 }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Assign example", "hasname": "true" }, "id": 4, "anchor": "activity-4", "module": "assign", "extraclasses": "" } } ], "hascms": true }, "ishidden": false, "iscurrent": true, "currentlink": "This topic", "availability": { "info": "Hidden from students", "hasavailability": true }, "summary": { "summarytext": "Summary text!" }, "controlmenu": { "menu": "Edit", "hasmenu": true }, "cmcontrols": "[Add an activity or resource]", "iscoursedisplaymultipage": true, "sectionreturnnum": 0, "contentcollapsed": false, "sitehome": false, "highlightedlabel" : "Highlighted" } }}
    local/content/section/bulkselect.mustache000064400000002604152266413400014651 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/bulkselect Displays an section bulk selector. Example context (json): { "id": 35, "name": "Section title" } }}
    local/content/section/summary.mustache000064400000001733152266413400014213 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/summary Displays the course section summary. Example context (json): { "summarytext": "Summary text!" } }} {{#summarytext}}
    {{{summarytext}}}
    {{/summarytext}} local/content/section/availabilitymodal.mustache000064400000005016152266413400016203 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/availabilitymodal Displays the section availability modal form. Example context (json): { } }}
    {{#pix}} t/hide, core {{/pix}}
    {{#str}} availability_show_help, core_courseformat {{/str}}
    {{#pix}} t/show, core {{/pix}}
    {{#str}} availability_hide_help, core_courseformat {{/str}}
    local/content/section/addsectiondivider.mustache000064400000004214152266413400016177 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/addsectiondivider Displays the add section divider inside a section. Example context (json): { "showaddsection": true, "id": 42, "insertafter": true, "num": 0, "addsections": { "url": "#", "title": "Add section", "newsection": 3 } } }} {{#showaddsection}}
    {{#addsections}} {{< core_courseformat/local/content/divider}} {{$extraclasses}}always-hidden mt-2{{/extraclasses}} {{$content}} {{#pix}} t/add, core {{/pix}} {{/content}} {{/ core_courseformat/local/content/divider}} {{/addsections}}
    {{/showaddsection}} local/content/section/badges.mustache000064400000006155152266413400013746 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/badges Convenience mustache to displays if an activity is in hidden or stealth mode. Format plugins are free to implement an alternative inplace editable for activities. Example context (json): { "iscurrent" : true, "highlightedlabel" : "Highlighted", "visibility": { "editing": "1", "dropwdown": { "buttonid": "dropwdownbutton_648b1549b929e30", "buttoncontent": "Show on course page", "choices": { "description": null, "options": [ { "value": "show", "name": "Show on course page", "description": "Available to students.", "url": null, "icon": null, "disabled": false, "hasicon": false, "hasurl": false, "selected": true, "optionnumber": 1, "first": true, "optionuniqid": "choice_option_648b1549b929e31" }, { "value": "hide", "name": "Hide on course page", "description": "Not available to students.", "url": null, "icon": null, "disabled": false, "hasicon": false, "hasurl": false, "optionnumber": 2, "first": false, "optionuniqid": "choice_option_648b1549b929e32" } ], "hasoptions": true } } } } }} {{#editing}} {{ highlightedlabel }} {{/editing}} {{^editing}} {{#iscurrent}} {{ highlightedlabel }} {{/iscurrent}} {{/editing}} {{#visibility}} {{>core_courseformat/local/content/section/visibility}} {{/visibility}} local/content/section/content.mustache000064400000017402152266413400014170 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/content The internal content of a section. Example context (json): { "num": 3, "id": 35, "controlmenu": "[tools menu]", "header": { "name": "Section title", "title": "Section title", "url": "#", "ishidden": true, "headinglevel": 3 }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Forum example", "hasname": "true" }, "id": 3, "cmid": 3, "module": "forum", "anchor": "activity-3", "extraclasses": "newmessages" } }, { "cmitem": { "cmformat": { "cmname": "Assign example", "hasname": "true" }, "id": 4, "cmid": 4, "anchor": "activity-4", "module": "assign", "extraclasses": "" } } ], "hascms": true }, "ishidden": false, "iscurrent": true, "currentlink": "This topic", "availability": { "info": "Hidden from students", "hasavailability": true }, "summary": { "summarytext": "Summary text!" }, "controlmenu": { "menu": "Edit", "hasmenu": true }, "cmcontrols": "[Add an activity or resource]", "iscoursedisplaymultipage": true, "sectionreturnnum": 0, "contentcollapsed": false, "insertafter": true, "numsections": 42, "sitehome": false, "isstealth": false, "highlightedlabel" : "Highlighted" } }}
    {{#singleheader}} {{$ core_courseformat/local/content/section/header }} {{> core_courseformat/local/content/section/header }} {{/ core_courseformat/local/content/section/header }} {{/singleheader}} {{#header}} {{$ core_courseformat/local/content/section/header }} {{> core_courseformat/local/content/section/header }} {{/ core_courseformat/local/content/section/header }} {{/header}} {{^singleheader}} {{#restrictionlock}}
    {{#pix}}t/unlock, core{{/pix}}
    {{/restrictionlock}} {{/singleheader}}
    {{$ core_courseformat/local/content/section/badges }} {{> core_courseformat/local/content/section/badges }} {{/ core_courseformat/local/content/section/badges }}
    {{#collapsemenu}} {{^displayonesection}} {{/displayonesection}} {{/collapsemenu}} {{#controlmenu}} {{^displayonesection}} {{$ core_courseformat/local/content/section/controlmenu }} {{> core_courseformat/local/content/section/controlmenu }} {{/ core_courseformat/local/content/section/controlmenu }} {{/displayonesection}} {{/controlmenu}} {{#header}} {{#headerdisplaymultipage}} {{^displayonesection}} {{^controlmenu}} {{/controlmenu}} {{/displayonesection}} {{/headerdisplaymultipage}} {{/header}}
    {{#isstealth}}
    {{#str}} orphansectionwarning, core_courseformat {{/str}}
    {{/isstealth}} {{#summary}} {{$ core_courseformat/local/content/section/summary }} {{> core_courseformat/local/content/section/summary }} {{/ core_courseformat/local/content/section/summary }} {{/summary}} {{#availability}} {{$ core_courseformat/local/content/section/availability }} {{> core_courseformat/local/content/section/availability }} {{/ core_courseformat/local/content/section/availability }} {{/availability}}
    {{#cmsummary}} {{$ core_courseformat/local/content/section/cmsummary }} {{> core_courseformat/local/content/section/cmsummary }} {{/ core_courseformat/local/content/section/cmsummary }} {{/cmsummary}} {{#cmlist}} {{$ core_courseformat/local/content/section/cmlist }} {{> core_courseformat/local/content/section/cmlist }} {{/ core_courseformat/local/content/section/cmlist }} {{/cmlist}} {{{cmcontrols}}}
    local/content/section/controlmenu.mustache000064400000002220152266413400015053 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/controlmenu Displays a section control menu (dropdown menu). Example context (json): { "menu": "Edit", "hasmenu": true } }} {{#hasmenu}}
    {{{menu}}}
    {{/hasmenu}} local/content/section/availability.mustache000064400000003176152266413400015173 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/availability Displays a section availability. The 3.x version course edition requires an existing section_availability div. Example context (json): { "info": [ { "text": "Not available unless:
    • It is on or after 8 June 2012
    ", "isrestricted": 1, "isfullinfo": 1 } ], "hasavailability": true } }}
    {{#hasavailability}} {{#info}}
    {{^isrestricted}} {{{text}}} {{/isrestricted}} {{#isrestricted}} {{> core_courseformat/local/content/availability }} {{/isrestricted}}
    {{/info}} {{/hasavailability}}
    local/content/section/header.mustache000064400000006767152266413400013762 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/header Displays a course section header. Example context (json): { "id": 123, "name": "Section title", "title": "Section title", "url": "#", "headerdisplaymultipage": true, "sectionbulk": true, "editing": 0, "headinglevel": 3 } }} {{#sectionbulk}} {{$ core_courseformat/local/content/section/bulkselect }} {{> core_courseformat/local/content/section/bulkselect }} {{/ core_courseformat/local/content/section/bulkselect }} {{/sectionbulk}} {{#headerdisplaymultipage}} {{^displayonesection}}

    {{{title}}}

    {{/displayonesection}} {{/headerdisplaymultipage}} {{^headerdisplaymultipage}} {{#sitehome}}

    {{{title}}}

    {{/sitehome}} {{^sitehome}} {{^displayonesection}} {{/displayonesection}} {{/sitehome}} {{/headerdisplaymultipage}} local/content/section/cmsummary.mustache000064400000003042152266413400014526 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/cmsummary Displays the activities summary of a section. Example context (json): { "showcompletion": true, "mods": [ { "name": "Forums", "count": "3" }, { "name": "Books", "count": "2" } ], "modprogress": "Progress: 1 / 5", "totalactivities": "5" } }}
    {{#pix}}i/activities, moodle{{/pix}}{{#str}} totalactivities, course, {{totalactivities}} {{/str}}
    {{#showcompletion}}
    {{#pix}}i/stats, moodle{{/pix}}{{modprogress}}
    {{/showcompletion}}
    local/content/section/cmlist.mustache000064400000005616152266413400014015 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/cmlist Displays the course module list inside a course section. TODO remove showmovehere, strmovefull, movingstr, cancelcopyurl, movetosectionurl, strmovefull and all associated HTML as part of MDL-83530. Example context (json): { "cms": [ { "cmitem": { "cmformat": { "cmname": "Forum example", "hasname": "true" }, "id": 3, "module": "forum", "anchor": "module-3", "extraclasses": "newmessages" } }, { "cmitem": { "cmformat": { "cmname": "Assign example", "hasname": "true" }, "id": 4, "module": "assign", "anchor": "module-4", "extraclasses": "" } } ], "hascms": true, "showmovehere": true, "movingstr": "Moving this activity: folder example", "cancelcopyurl": "#", "movetosectionurl": "#", "strmovefull": "Move 'folder example' to this location" } }} {{#showmovehere}}

    {{movingstr}} ({{#str}} cancel {{/str}})

    {{/showmovehere}}
      {{#cms}} {{#showmovehere}}
    • {{/showmovehere}} {{#cmitem}} {{$ core_courseformat/local/content/section/cmitem}} {{> core_courseformat/local/content/section/cmitem}} {{/ core_courseformat/local/content/section/cmitem}} {{/cmitem}} {{/cms}} {{#showmovehere}}
    • {{/showmovehere}}
    local/content/section/cmitem.mustache000064400000003542152266413400013774 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/cmitem Displays the course module list inside a course section. Example context (json): { "cmformat": { "cmname": "Activity example", "hasname": "true", "moveicon": "[Move]", "indent": 2, "afterlink": "30 unread messages", "hasextras": true, "extras": ["[extras]"], "completion": "Completed!" }, "id": 3, "anchor": "module-3", "module": "forum", "extraclasses": "newmessages", "indent": 0 } }}
  • {{#cmformat}} {{$ core_courseformat/local/content/cm}} {{> core_courseformat/local/content/cm}} {{/ core_courseformat/local/content/cm}} {{/cmformat}}
  • local/content/section/visibility.mustache000064400000006362152266413400014710 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section/visibility Template to displays if an section is in hidden or not. Example context (json): { "editing": "1", "notavailable": 1, "hiddenfromstudents": 0, "dropwdown": { "buttonid": "dropwdownbutton_648b1549b929e30", "buttoncontent": "Show on course page", "choices": { "description": null, "options": [ { "value": "show", "name": "Show on course page", "description": "Available to students.", "url": null, "icon": null, "disabled": false, "hasicon": false, "hasurl": false, "selected": true, "optionnumber": 1, "first": true, "optionuniqid": "choice_option_648b1549b929e31" }, { "value": "hide", "name": "Hide on course page", "description": "Not available to students.", "url": null, "icon": null, "disabled": false, "hasicon": false, "hasurl": false, "optionnumber": 2, "first": false, "optionuniqid": "choice_option_648b1549b929e32" } ], "hasoptions": true } } } }} {{#editing}}
    {{#dropwdown}} {{< core/local/dropdown/status}} {{$ buttonclasses }} badge rounded-pill bg-secondary text-dark dropdown-toggle border-0{{/ buttonclasses }} {{/ core/local/dropdown/status}} {{/dropwdown}}
    {{#str}}notavailable{{/str}} {{/editing}} {{^editing}} {{#hiddenfromstudents}} {{#pix}}i/show, core{{/pix}}{{#str}}hiddenfromstudents{{/str}} {{/hiddenfromstudents}} {{#notavailable}} {{#str}}notavailable{{/str}} {{/notavailable}} {{/editing}} local/content/sectionselector.mustache000064400000003406152266413400014256 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/sectionselector Displays the course section navigation. Example context (json): { "hasprevious": true, "previousurl": "#", "larrow": "◄", "previousname": "Section 3", "hasnext": true, "rarrow": "►", "nexturl": "#", "nextname": "Section 5", "selector": "" } }}
    {{#hasprevious}} {{{larrow}}}{{{previousname}}} {{/hasprevious}}
    {{{selector}}}
    {{#hasnext}} {{{rarrow}}}{{{nextname}}} {{/hasnext}}
    local/content/section.mustache000064400000010471152266413400012515 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/section Displays a course section. Note: This template is a wrapper around the section/content template to allow course formats and theme designers to modify parts of the wrapper without having to copy/paste the entire template. Example context (json): { "num": 3, "id": 35, "sectionname": "Section title", "controlmenu": "[tools menu]", "header": { "name": "Section title", "title": "Section title", "url": "#", "ishidden": true, "headinglevel": 3 }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Forum example", "hasname": "true" }, "id": 3, "module": "forum", "anchor": "activity-3", "extraclasses": "newmessages" } }, { "cmitem": { "cmformat": { "cmname": "Assign example", "hasname": "true" }, "id": 4, "anchor": "activity-4", "module": "assign", "extraclasses": "" } } ], "hascms": true }, "ishidden": false, "iscurrent": true, "currentlink": "This topic", "availability": { "info": "Hidden from students", "hasavailability": true }, "summary": { "summarytext": "Summary text!" }, "controlmenu": { "menu": "Edit", "hasmenu": true }, "cmcontrols": "[Add an activity or resource]", "iscoursedisplaymultipage": true, "sectionreturnnum": 0, "contentcollapsed": false, "insertafter": true, "numsections": 42, "sitehome": false, "highlightedlabel" : "Highlighted" } }} local/content/bulkedittools.mustache000064400000006305152266413400013736 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/bulkedittools Displays the bulk actions button in the page header. Example context (json): { "id": 42, "hasactions": true, "actions": [ { "icon": "i/delete", "action": "cmDelete", "name": "delete", "bulk": "cm", "title": "Delete activities" } ] } }} {{< core/sticky_footer }} {{$ stickyclasses }} justify-content-center bulkactions {{/ stickyclasses }} {{$ disable }} data-disable="true" {{/ disable }} {{$ extradata }} data-for="bulkedittools" {{/ extradata }} {{$ stickycontent }}
    {{^hasactions}} {{#str}} nobulkaction, core_courseformat {{/str}} {{/hasactions}} {{#hasactions}} {{/hasactions}}
    {{#str}} bulkselection, core_courseformat, 0 {{/str}}
    {{/ stickycontent }} {{/ core/sticky_footer }} {{#js}} require(['core_courseformat/local/content/bulkedittools'], function(component) { component.init('[data-for="bulkedittools"]'); }); {{/js}} local/content/divider.mustache000064400000002240152266413400012472 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/divider Displays a dashed divider. Example context (json): { "extraclasses": "mt-3", "content": "" } }}

    {{$content}}{{{content}}}{{/content}}
    local/content/cm/title.mustache000064400000002574152266413400012576 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/title Displays a course module instance inside a course section. Example context (json): { "url": "#", "instancename": "Activity name", "uservisible": true, "onclick": "alert('ok')", "altname": "PDF file", "linkclasses": "", "modname": "resource" } }} {{#uservisible}} {{{instancename}}} {{{altname}}} {{/uservisible}} {{^uservisible}} {{{instancename}}} {{{altname}}} {{/uservisible}} local/content/cm/cmname.mustache000064400000005230152266413400012705 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/cmname Convenience mustache to displays a course module inplace editable from the format renderer. Format plugins are free to implement an alternative inplace editable for activities. Example context (json): { "url": "#", "pluginname": "File", "textclasses": "", "modname": "resource", "activityicon": { "icon": "../../../pix/help.svg", "iconclass": "", "purpose": "content" }, "activityname": { "displayvalue" : "Moodle", "value" : "Moodle", "itemid" : "1", "component" : "core_unknown", "itemtype" : "unknown", "edithint" : "Edit this", "editlabel" : "New name for this", "type" : "text", "options" : "", "linkeverything": 0 } } }} {{#url}} {{! Icon }} {{#activityicon}} {{$ core_courseformat/local/content/cm/cmicon }} {{> core_courseformat/local/content/cm/cmicon }} {{/ core_courseformat/local/content/cm/cmicon }} {{/activityicon}} {{! Name & Badge}}
    {{#activityname}} {{$ core/inplace_editable }} {{> core/inplace_editable }} {{/ core/inplace_editable }} {{/activityname}} {{#activitybadge}} {{$ core_courseformat/local/content/cm/activitybadge }} {{> core_courseformat/local/content/cm/activitybadge }} {{/ core_courseformat/local/content/cm/activitybadge }} {{/activitybadge}}
    {{/url}} local/content/cm/bulkselect.mustache000064400000002405152266413400013603 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/bulkselect Displays an activity bulk selector. Example context (json): { "activityname": "Activity example", "cmid": 42 } }}
    local/content/cm/availabilitymodal.mustache000064400000006631152266413400015142 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/availabilitymodal Displays the activity availability modal form. Example context (json): { "allowstealth": true } }}
    {{#pix}} t/hide, core {{/pix}}
    {{#str}} availability_show_help, core_courseformat {{/str}}
    {{#pix}} t/show, core {{/pix}}
    {{#str}} availability_hide_help, core_courseformat {{/str}}
    {{#allowstealth}}
    {{#pix}} t/stealth, core {{/pix}}
    {{#str}} availability_stealth_help, core_courseformat {{/str}}
    {{/allowstealth}}
    local/content/cm/badges.mustache000064400000002277152266413400012702 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/badges Formats can override this template to display extra badges. Example context (json): { "visibility": { "isInteractive": false, "modhiddenfromstudents" : "1", "modstealth" : "1" } } }} {{#visibility}} {{$ core_courseformat/local/content/cm/visibility }} {{> core_courseformat/local/content/cm/visibility }} {{/ core_courseformat/local/content/cm/visibility }} {{/visibility}} local/content/cm/controlmenu.mustache000064400000002457152266413400014022 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/controlmenu Displays an activity control menu (dropdown menu). Example context (json): { "menu": "Edit", "hasmenu": true } }} {{#hasmenu}}
    {{#menu}} {{$ core/action_menu }} {{> core/action_menu }} {{/ core/action_menu }} {{/menu}} {{#afterediticons}} {{{.}}} {{/afterediticons}}
    {{/hasmenu}} local/content/cm/groupmode.mustache000064400000003530152266413400013447 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/groupmode_info Container to display group mode information on the course page. Example context (json): { "activityname": "Course announcements", "groupicon": "i/groupv", "groupalt": "Visible groups" } }} {{#isInteractive}} {{#dropwdown}} {{< core/local/dropdown/status}} {{$ buttonclasses }} {{#autohide}} v-parent-focus {{/autohide}} groupmode-information btn btn-icon {{/ buttonclasses }} {{$ buttoncontent }} {{{groupicon}}} {{groupalt}} {{/ buttoncontent }} {{/ core/local/dropdown/status}} {{/dropwdown}} {{/isInteractive}} {{^isInteractive}}
    {{#groupicon}}{{{groupicon}}}{{/groupicon}} {{#groupalt}}
    {{groupalt}}
    {{/groupalt}}
    {{/isInteractive}} local/content/cm/activity.mustache000064400000012533152266413400013305 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/activity Display the activity content of a cm. Example context (json): { "cmname": { "displayvalue" : "Activity example" }, "hasname": "true", "afterlink": "24.7 KB · Uploaded 26/05/23, 16:29", "activitybadge": { "badgecontent": "PDF", "badgestyle": "badge-none", "badgeurl": "http://example.org/help", "badgeelementid": "myelementid", "badgeextraattributes": [ { "name": "data-el1name", "value": "el1value" }, { "name": "data-el2name", "value": "el2value" } ] }, "hasextras": true, "extras": ["[extras]"], "activityinfo": { "hasmodavailability": true, "activityname": "Activity example", "hascompletion": true, "uservisible": true, "hasdates": true, "isautomatic": true, "istrackeduser": true, "activitydates": [ { "label": "Opens:", "datestring": "6 April 2021, 6:46 PM" } ], "completiondetails": [ { "statuscomplete": 1, "description": "Viewed" }, { "statusincomplete": 1, "description": "Receive a grade" } ] }, "visibility": { "isInteractive": false, "modhiddenfromstudents": true } } }} {{#moveicon}} {{{moveicon}}} {{/moveicon}}
    {{! Icon, Name & Badge }} {{#hasname}} {{#cmname}} {{$ core_courseformat/local/content/cm/cmname }} {{> core_courseformat/local/content/cm/cmname }} {{/ core_courseformat/local/content/cm/cmname }} {{/cmname}} {{/hasname}} {{! Dates }} {{#dates}} {{#hasdates}}
    {{#activitydates}} {{$core_course/activity_date}} {{>core_course/activity_date}} {{/core_course/activity_date}} {{/activitydates}}
    {{/hasdates}} {{/dates}} {{! Visibility }} {{$ core_courseformat/local/content/cm/badges }} {{> core_courseformat/local/content/cm/badges }} {{/ core_courseformat/local/content/cm/badges }} {{! Group mode }} {{#groupmodeinfo}}
    {{$ core_courseformat/local/content/cm/groupmode}} {{> core_courseformat/local/content/cm/groupmode}} {{/ core_courseformat/local/content/cm/groupmode}}
    {{/groupmodeinfo}} {{! Completion }} {{#completion}} {{#hascompletion}}
    {{$ core_courseformat/local/content/cm/activity_info}} {{> core_courseformat/local/content/cm/activity_info}} {{/ core_courseformat/local/content/cm/activity_info}}
    {{/hascompletion}} {{/completion}} {{! Action menu }} {{#controlmenu}}
    {{$ core_courseformat/local/content/cm/controlmenu }} {{> core_courseformat/local/content/cm/controlmenu }} {{/ core_courseformat/local/content/cm/controlmenu }}
    {{/controlmenu}} {{! Description }} {{#altcontent}}
    {{{altcontent}}}
    {{/altcontent}} {{! Availability }} {{#modavailability}} {{$ core_courseformat/local/content/cm/availability }} {{> core_courseformat/local/content/cm/availability }} {{/ core_courseformat/local/content/cm/availability }} {{/modavailability}} {{! Afterlink }} {{#afterlink}} {{/afterlink}}
    local/content/cm/completion_dialog.mustache000064400000012276152266413400015145 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/completion_dialog Container to display activity completion dialog content. Example context (json): { "istrackeduser": true, "hasconditions": true, "completiondetails": [ { "statuscomplete": 1, "description": "View" }, { "statusincomplete": 1, "description": "Receive a grade" } ] } }}
    {{! Completion criterias. }} {{#hasconditions}} {{! Dialog header. }} {{#istrackeduser}} {{#str}}youmust, completion{{/str}} {{/istrackeduser}} {{^istrackeduser}} {{#str}}studentsmust, completion{{/str}} {{/istrackeduser}}
    {{#completiondetails}} {{! Show completion status and description to tracked users. }} {{#istrackeduser}} {{#statuscomplete}}
    {{#pix}}i/checked{{/pix}} {{#str}}completion_automatic:done, core_course{{/str}}
    {{description}}
    {{/statuscomplete}} {{#statuscompletefail}}
    {{#pix}}e/cancel{{/pix}} {{#str}}completion_automatic:failed, core_course{{/str}}
    {{description}}
    {{/statuscompletefail}} {{#statusincomplete}}
    {{#pix}}i/dot{{/pix}} {{#str}}completion_automatic:todo, core_course{{/str}}
    {{description}}
    {{/statusincomplete}} {{/istrackeduser}} {{! Show only description (without status) to non-tracked users. }} {{^istrackeduser}}
    {{#pix}}i/dot{{/pix}}
    {{description}}
    {{/istrackeduser}} {{/completiondetails}} {{! Show also manual completion description in the list to non-tracked users. }} {{#ismanual}} {{^istrackeduser}}
    {{#pix}}i/dot{{/pix}}
    {{#str}} completion_manual:markdone, core_course {{/str}}
    {{/istrackeduser}} {{/ismanual}}
    {{/hasconditions}} {{! Show message if there are no completion criterias. }} {{^hasconditions}} {{#istrackeduser}} {{#str}}emptyconditionsinfo, completion{{/str}} {{/istrackeduser}} {{^istrackeduser}} {{#pix}} req, core {{/pix}}{{#str}}emptyconditionswarning, completion{{/str}} {{/istrackeduser}} {{/hasconditions}} {{! Show edit link to editing teachers. }} {{#editing}} {{#editurl}} {{/editurl}} {{/editing}}
    local/content/cm/availability.mustache000064400000003172152266413400014122 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/availability Displays a activity availability. Example context (json): { "info": [ { "classes": "", "text": "Not available unless:
    • It is on or after 8 June 2012
    ", "ishidden": 0, "isstealth": 0, "isrestricted": 1, "isfullinfo": 1 } ], "hasmodavailability": true } }} {{#hasmodavailability}} {{#info}}
    {{^isrestricted}} {{{text}}} {{/isrestricted}} {{#isrestricted}} {{> core_courseformat/local/content/availability }} {{/isrestricted}}
    {{/info}} {{/hasmodavailability}} local/content/cm/completion.mustache000064400000004453152266413400013624 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/completion TODO describe template completion Example context (json): { "cmid": 123, "activityname": "Course announcements", "hascompletion": true, "uservisible": true, "completiondialog": { "buttoncontent": "To do", "dialogcontent": "You must view this activity to complete it.", "buttonclasses": "btn btn-sm btn-outline-secondary dropdown-toggle", "classes": "completion-dropdown" }, "isautomatic": true, "showmanualcompletion": true, "completiondetails": [ { "statuscomplete": 1, "description": "Viewed" }, { "statusincomplete": 1, "description": "Receive a grade" } ] } }} {{#uservisible}}
    {{! Completion dropdown dialog }} {{#completiondialog}}
    {{> core/local/dropdown/dialog }}
    {{/completiondialog}} {{! Manual completion button }} {{#showmanualcompletion}} {{#istrackeduser}} {{$ core_course/completion_manual }} {{> core_course/completion_manual }} {{/ core_course/completion_manual }} {{/istrackeduser}} {{/showmanualcompletion}}
    {{/uservisible}} local/content/cm/cmicon.mustache000064400000002743152266413400012723 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/cmicon Displays a course module icon. Example context (json): { "icon": "../../../pix/help.svg", "iconclass": "", "purpose": "content", "branded": 0, "modname": "resource", "pluginname": "File", "showtooltip": 1 } }}
    {{#showtooltip}}{{#cleanstr}} activityicon, moodle, {{{pluginname}}} {{/cleanstr}}{{/showtooltip}}
    local/content/cm/activitybadge.mustache000064400000003330152266413400014263 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/activitybadge Container to display activity badge information such as: - Unread messages for forums - File types for resources Example context (json): { "badgecontent": "PDF", "badgestyle": "badge-none", "badgeurl": "http://example.org/help", "badgeelementid": "myelementid", "badgeextraattributes": [ { "name": "data-el1name", "value": "el1value" }, { "name": "data-el2name", "value": "el2value" } ] } }} {{#badgeurl}} {{badgecontent}} {{/badgeurl}} {{^badgeurl}} {{badgecontent}} {{/badgeurl}} local/content/cm/visibility.mustache000064400000006613152266413400013642 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/visibility Template to displays if an activity is in hidden or stealth mode. Example context (json): { "modhiddenfromstudents" : "1", "modstealth" : "1", "isInteractive": "1", "dropwdown": { "buttonid": "dropwdownbutton_648b1549b929e30", "buttoncontent": "Show on course page", "choices": { "description": null, "options": [ { "value": "show", "name": "Show on course page", "description": "Available to students.", "url": null, "icon": null, "disabled": false, "hasicon": false, "hasurl": false, "selected": true, "optionnumber": 1, "first": true, "optionuniqid": "choice_option_648b1549b929e31" }, { "value": "hide", "name": "Hide on course page", "description": "Not available to students.", "url": null, "icon": null, "disabled": false, "hasicon": false, "hasurl": false, "optionnumber": 2, "first": false, "optionuniqid": "choice_option_648b1549b929e32" } ], "hasoptions": true } } } }} {{#isInteractive}}
    {{#dropwdown}} {{< core/local/dropdown/status}} {{$ buttonclasses }} badge rounded-pill bg-secondary text-dark dropdown-toggle border-0 {{/ buttonclasses }} {{/ core/local/dropdown/status}} {{/dropwdown}}
    {{/isInteractive}} {{^isInteractive}} {{#modhiddenfromstudents}}
    {{#pix}}i/show, core{{/pix}}{{#str}}hiddenfromstudents{{/str}}
    {{/modhiddenfromstudents}} {{#modstealth}}
    {{#pix}}t/stealth, core{{/pix}}{{#str}}hiddenoncoursepage{{/str}}
    {{/modstealth}} {{/isInteractive}} local/content/cm/activity_info.mustache000064400000003541152266413400014317 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm/activity_info Container to display activity information on the course page such as: - Activity completion requirements (automatic completion) - Manual completion button Example context (json): { "cmid": 123, "activityname": "Course announcements", "hascompletion": true, "uservisible": true, "completiondialog": { "buttoncontent": "To do", "dialogcontent": "You must view this activity to complete it.", "buttonclasses": "btn btn-sm btn-outline-secondary dropdown-toggle", "classes": "completion-dropdown" }, "isautomatic": true, "showmanualcompletion": true, "completiondetails": [ { "statuscomplete": 1, "description": "Viewed" }, { "statusincomplete": 1, "description": "Receive a grade" } ] } }}
    {{> core_courseformat/local/content/cm/completion }}
    local/content/frontpagesection.mustache000064400000003476152266413400014432 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/frontpagesection Displays the frontpage section 1 (site home). Example context (json): { "editing": true, "sections": [ "
  • This is the section content
  • " ], "showsettings": true, "settingsurl": "#" } }}
    {{#showsettings}} {{/showsettings}}
      {{#sections}} {{> core_courseformat/local/content/section }} {{/sections}}
    {{#js}} {{! The home page should be as fast as possible, we only load the editor when needed.}} {{#editing}} require(['core_courseformat/local/content'], function(component) { component.init('#courseformat-frontpage-main-topic', {}); }); {{/editing}} {{/js}} local/content/sectionnavigation.mustache000064400000003236152266413400014576 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/sectionnavigation Displays the course section navigation. Example context (json): { "hasprevious": true, "previousurl": "#", "larrow": "◄", "previousname": "Section 3", "hasnext": true, "rarrow": "►", "nexturl": "#", "nextname": "Section 5" } }} local/content/availability.mustache000064400000004445152266413400013527 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/availability Displays the availability contents with excerpt version if needed. Example context (json): { "text": "Not available unless:
    • It is on or after 8 June 2012
    • You achieve higher than a certain score in Course total
    ", "excerpt": "Not available unless: It is on or after 8 June 2012", "editing": true, "editurl": "/course/editsection.php?id=81&showonly=availabilityconditions" } }} {{^excerpt}} {{#pix}}t/unlock, core{{/pix}} {{{text}}} {{/excerpt}} {{#excerpt}} {{< core/showmore }} {{$collapsedcontent}} {{#pix}}t/unlock, core{{/pix}} {{{excerpt}}} ... {{/collapsedcontent}} {{$expandedcontent}} {{#pix}}t/unlock, core{{/pix}} {{{text}}} {{/expandedcontent}} {{$buttonextraclasses}}fw-bold{{/buttonextraclasses}} {{$collapsedextraclasses}}text-truncate pe-2 {{#editing}}mt-2{{/editing}}{{/collapsedextraclasses}} {{$expandedextraclasses}} {{^editing}}py-2{{/editing}} {{#editing}}mt-2 pb-2{{/editing}} {{/expandedextraclasses}} {{/core/showmore }} {{/excerpt}} {{#editing}} {{#editurl}} {{/editurl}} {{/editing}} local/content/cm.mustache000064400000006150152266413400011447 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/cm Displays a course module instance inside a course section. Example context (json): { "cmname": { "displayvalue" : "Activity example" }, "hasname": "true", "afterlink": "30 unread messages", "hasextras": true, "extras": ["[extras]"], "activityinfo": { "hasmodavailability": true, "activityname": "Activity example", "hascompletion": true, "uservisible": true, "hasdates": true, "isautomatic": true, "istrackeduser": true, "activitydates": [ { "label": "Opens:", "datestring": "6 April 2021, 6:46 PM" } ], "completiondetails": [ { "statuscomplete": 1, "description": "Viewed" }, { "statusincomplete": 1, "description": "Receive a grade" } ] }, "modstealth": true, "indent": 1 } }} {{#editing}} {{< core_courseformat/local/content/divider}} {{$content}} {{#activitychooserbutton}}{{> core_course/activitychooserbutton}}{{/activitychooserbutton}} {{/content}} {{/ core_courseformat/local/content/divider}} {{/editing}}
    {{#cmbulk}} {{$ core_courseformat/local/content/cm/bulkselect }} {{> core_courseformat/local/content/cm/bulkselect }} {{/ core_courseformat/local/content/cm/bulkselect }} {{/cmbulk}} {{! Place the actual content of the activity-item in a separate template to make it easier for other formats to add additional content to the activity wrapper. }} {{$ core_courseformat/local/content/cm/activity }} {{> core_courseformat/local/content/cm/activity }} {{/ core_courseformat/local/content/cm/activity }}
    local/content/movecm.mustache000064400000007075152266413400012345 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/movecm Displays the course index. Example context (json): { "cmname": "Activity name", "cmid": 42, "sections": [ { "title": "General", "id": 42, "number": 1, "sectionurl": "#", "hascms": true, "cms": [ { "name": "Glossary of characters", "id": "10", "url": "#", "sectioninfo": false }, { "name": "World Cinema forum", "id": "11", "url": "#", "sectioninfo": { "title": "World Cinema forum", "id": "11", "number": "5", "sectionurl": "#", "hascms": true, "cms": [ { "name": "Announcements", "id": "12", "url": "#", "sectioninfo": false } ] } }, { "name": "Announcements", "id": "12", "url": "#", "sectioninfo": false } ] }, { "title": "City of God or Cidade de Deus", "id": "43", "number": "2", "sectionurl": "#", "hascms": true, "cms": [ { "name": "Resources", "id": "13", "url": "#", "sectioninfo": false }, { "name": "Studying City of God by Stephen Smith Bergman-Messerschmidt", "id": "14", "url": "#", "sectioninfo": false }, { "name": "Film education study guide", "id": "15", "url": "#", "sectioninfo": false } ] } ] } }}

    {{information}}:

    local/content/bulkedittoggler.mustache000064400000002557152266413400014246 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/bulkedittoggler Displays the bulk actions button in the page header. Example context (json): { } }} {{#js}} require(['core_courseformat/local/content/bulkedittoggler'], function(component) { component.init('#bulk-enable-{{uniqid}}'); }); {{/js}} local/content/movecmsection.mustache000064400000010024152266413400013716 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/movecmsection Displays the course index. Example context (json): { "title": "General", "id": 42, "number": 1, "sectionurl": "#", "hascms": true, "cms": [ { "name": "Glossary of characters", "id": "10", "url": "#", "sectioninfo": false }, { "name": "World Cinema forum", "id": "11", "url": "#", "sectioninfo": { "title": "World Cinema forum", "id": "11", "number": "5", "sectionurl": "#", "hascms": true, "cms": [ { "name": "Announcements", "id": "12", "url": "#", "sectioninfo": false } ] } }, { "name": "Announcements", "id": "12", "url": "#", "sectioninfo": false } ] } }}
      {{#cms}} {{#sectioninfo}}
    • {{> core_courseformat/local/content/movecmsection}}
    • {{/sectioninfo}} {{^sectioninfo}}
    • {{{name}}}
    • {{/sectioninfo}} {{/cms}}
    local/content/addsection.mustache000064400000004636152266413400013174 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/addsection Displays the add section button inside a course. Example context (json): { "showaddsection": true, "id": 42, "insertafter": true, "num": 0, "increase": { "url": "#" }, "decrease": { "url": "#" }, "addsections": { "url": "#", "title": "Add section", "newsection": 3 } } }} {{#showaddsection}}
    {{#increase}} {{#pix}}t/switch_plus, moodle, {{#str}} increasesections, moodle {{/str}}{{/pix}} {{/increase}} {{#decrease}} {{#pix}}t/switch_minus, moodle, {{#str}} reducesections, moodle {{/str}}{{/pix}} {{/decrease}} {{#addsections}} {{#pix}} t/add, core {{/pix}} {{title}}
    {{#pix}}t/block, moodle{{/pix}}
    {{#str}}maxsectionaddmessage, core_courseformat{{/str}}
    {{/addsections}}
    {{/showaddsection}} local/content/movesection.mustache000064400000003457152266413400013412 0ustar00{{! 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 . }} {{! @template core_courseformat/local/content/movesection Displays the course index. Example context (json): { "sectionid": 23, "sectiontitle": "Section title", "sections": [ { "title": "General", "id": 42, "number": 1, "sectionurl": "#", "indexcollapsed": 0 }, { "title": "City of God or Cidade de Deus", "id": "43", "number": "2", "sectionurl": "#", "indexcollapsed": 1 } ] } }} {{#information}}

    {{{information}}}:

    {{/information}} fileuploader.mustache000064400000003325152266413400010760 0ustar00{{! 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 . }} {{! @template core_courseformat/fileuploader Displays the complete course format. Example context (json): { "filename": "course-format.html", "uploadid": "example", "handlers": [ { "module": "resource", "labelid": "resource_file1", "message": "Create a ressource", "selected": true, "value": 1 }, { "module": "h5pactivity", "labelid": "resource_file2", "message": "Create an H5P activity", "selected": false, "value": 2 } ] } }}

    {{#str}} actionchoice, moodle, {{filename}}{{/str}}

    {{#handlers}}
    {{/handlers}}
    enrol_page.mustache000064400000003456152266446250010436 0ustar00{{! 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 . }} {{! @template core_enrol/enrol_page Recommended template for displaying the enrolment plugin call-to-action on the enrol/index.php page Usually to be used with the \core_enrol\output\enrol_page and returned from the enrol_plugin::enrol_page_hook() Example context (json): { "enrol": "self", "instanceid": 1, "header": "Self-enrolment", "body": "You can enrol yourself in this course.", "hasbuttons": true, "buttons": [{ "method" : "get", "id": "buttonid-123", "type": "primary", "url" : "#", "label" : "Enrol me" }] } }}
    {{#header}}

    {{{header}}}

    {{/header}}
    {{{body}}}
    {{#hasbuttons}} {{/hasbuttons}}
    enrolment_options.mustache000064400000002741152266446250012075 0ustar00{{! 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 . }} {{! @template enrol/enrolment_options This template will render information about available course enrolment options. Context variables required for this template: * courseinfobox - Course information box * widgets - array of widgets to display * message - Error message and continue button Example context (json): { "courseinfobox": "
    Course Information
    ", "widgets": [], "message": "Guests cannot access this course. Please log in.", "continuebutton": "Continue" } }}

    {{heading}}

    {{{courseinfobox}}} {{#widgets}}{{{.}}}{{/widgets}} {{^widgets}}
    {{message}}
    {{{continuebutton}}} {{/widgets}} mainsection.mustache000064400000005211152266463660010627 0ustar00{{! 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 . }} {{! @template block_site_main_menu/mainsection This mustache emulates a course single section structure inside a block. It requires to include several divs to emulate the structure of a course format. Example context (json): { "cmlist": "Sample", "siteid": 1, "sectionid": 1, "sectionname": "Sample", "sectionnum": 1, "editing": true } }}
    {{! The section list is used by the content module to init the sections.}}
    {{! The section need some bottom padding and margin for the dropzone. Otherwise the activities will cover the area. }}
    {{#editing}} {{! The section header is used as a dropzone when the section is empty.}}
     
    {{/editing}} {{{cmlist}}}
    {{#js}} {{! The block should be fast to load, we only load the editor when needed.}} {{#editing}} require( [ 'core_courseformat/local/content', 'core_courseformat/courseeditor' ], function( Component, Courseeditor ) { {{! The block could be included static in other courses so we use Courseeditor.getCourseEditor. }} new Component({ element: document.getElementById('block_site_main_menu_section'), reactive: Courseeditor.getCourseEditor({{siteid}}), }); } ); {{/editing}} {{/js}} export_action_bar.mustache000064400000007540152266472760012030 0ustar00{{! 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 . }} {{! @template core_grades/export_action_bar Actions bar for the gradebook export pages. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * exportselector - The data object containing the required properties to render the export options selector. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56788", "selectedoption": "Export", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Export", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "exportselector": { "name": "exportas", "value": "https://example.com/grade/export/ods/index.php", "baseid": "select-menu56789", "label": "Export as", "labelattributes": [ { "name": "class", "value": "fw-bold" } ], "selectedoption": "OpenDocument spreadsheet", "options": [ { "name": "OpenDocument spreadsheet", "value": "https://example.com/grade/export/ods/index.php", "selected": true, "id": "select-menu-option56789" } ] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#exportselector}} {{#js}} document.querySelector('#{{baseid}}').addEventListener('change', function(e) { window.location.href = e.target.value; }); {{/js}} {{/exportselector}}
    grades/grader/text.mustache000064400000002231152266472760012013 0ustar00{{! 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 . }} {{! @template core_grades/grades/grader/text Text template for grader report cell. Example context (json): { "gradepassicon": "", "extraclasses": " dimmed_text", "text": "Mostly separate knowing" } }}
    {{{gradepassicon}}} {{{text}}}
    grades/grader/scale.mustache000064400000001766152266472760012132 0ustar00{{! 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 . }} {{! @template core_grades/grades/grader/scale Scale template for grader report cell. Example context (json): { "label": "Text label", "select": "" } }} {{{label}}}{{{select}}} grades/grader/input.mustache000064400000002726152266472760012177 0ustar00{{! 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 . }} {{! @template core_grades/grades/grader/input Input template for grader report cell. Example context (json): { "id": "grade_313_624", "label": "grade_313_624", "title": "Grade", "extraclasses": "statusicons", "value": "Text information", "tabindex": "1", "isnumeric": "1", "minvalue": "0", "maxvalue": "10", "name": "grade[313][624]" } }} grades/grader/gradingpanel/point.mustache000064400000002552152266472760014621 0ustar00{{! 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 . }} {{! @template core_grades/grades/grader/gradingpanel/point Point-based grading template for use in the grading panel. Context variables required for this template: Example context (json): { "grade": 47 } }}
    {{#str}}grade_help, core_grades{{/str}}
    grades/grader/gradingpanel/scale.mustache000064400000003056152266472760014557 0ustar00{{! 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 . }} {{! @template core_grades/grades/grader/gradingpanel/scale Scale-based grading template for use in the grading panel. Context variables required for this template: Example context (json): { "value": 1, "selected": true, "title": "Motivational" } }}
    {{#str}}grade_help, core_grades{{/str}}
    grades/grader/gradingpanel/point_blank.mustache000064400000001634152266472760015770 0ustar00{{! 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 . }} {{! @template core_grades/grades/grader/gradingpanel/point_blank Point-based grading template for use in the grading panel. Context variables required for this template: Example context (json): { } }} weight_override_field.mustache000064400000003312152266472760012650 0ustar00{{! 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 . }} {{! @template core_grades/weight_override_field Weight override field. Example context (json): { "itemname": "Awesome test", "id": "2", "checked": "true", "value": "100" } }}
    %
    gradebook_setup_action_bar.mustache000064400000006533152266472760013665 0ustar00{{! 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 . }} {{! @template core_grades/gradebook_setup_action_bar Actions bar for the gradebook setup page. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * addmenu - The data object containing the required properties to render the 'Add' action menu. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56789", "selectedoption": "Gradebook setup", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "Setup", "id": "select-menu-group2", "options": [ { "name": "Gradebook setup", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "addmenu": [ { "classes": "", "primary": { "items": [{"rawhtml": "

    Item in primary menu

    "}] }, "secondary": { "items": [{"rawhtml": "

    Item in secondary menu

    "}] } } ] } }}
    {{#generalnavselector}} {{/generalnavselector}}
    edit_tree_sticky_footer.mustache000064400000002621152266472760013231 0ustar00{{! 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 . }} {{! @template core_grades/edit_tree_sticky_footer Edit tree sticky footer template. Context variables required for this template: * movingmodeenabled - string - Whether moving mode is enabled. * courseid - int - The course id. Example context (json): { "movingmodeenabled": "false", "courseid": 1 } }}
    {{#movingmodeenabled}} {{#cleanstr}}cancel{{/cleanstr}} {{/movingmodeenabled}} {{^movingmodeenabled}} {{/movingmodeenabled}}
    export_publish_action_bar.mustache000064400000003125152266472760013551 0ustar00{{! 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 . }} {{! @template core_grades/export_publish_action_bar Actions bar for the gradebook publish export page. Context variables required for this template: * backbutton - The data object containing the required properties to render the 'back' button. Example context (json): { "backbutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Back", "attributes": [] } } }}
    {{#backbutton}} {{/backbutton}}
    category_settings.mustache000064400000004373152266472760012064 0ustar00{{! 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 . }} {{! @template core_grades/category_settings This template renders action menu for a given cell. Example context (json): { "aggregation": "Natural", "aggregateonlygraded": 1, "aggregateoutcomes": 0, "droplow": 1, "keephigh": 1, "calculatedgrade": "calculated grade" } }}
    {{#calculatedgrade}} {{calculatedgrade}} {{/calculatedgrade}} {{#aggregation}} {{aggregation}} {{/aggregation}} {{#aggregateonlygraded}} {{#str}}aggregateonlygraded, grades{{/str}} {{/aggregateonlygraded}} {{#aggregateoutcomes}} {{#str}}aggregateoutcomes, grades{{/str}} {{/aggregateoutcomes}} {{#droplow}} {{#str}}droplowestvalues, grades, {{droplow}}{{/str}} {{/droplow}} {{#keephigh}} {{#str}}keephigh, grades{{/str}} {{/keephigh}}
    grade_category_visibility_toggle.mustache000064400000003154152266472760015112 0ustar00{{! 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 . }} {{! @template core_grades/grade_category_visibility_toggle Template for the grade category visibility toggle element. Context variables required for this template: * category - The grade category identifier Example context (json): { "category": "gc2" } }} grade_letters_action_bar.mustache000064400000006352152266472760013333 0ustar00{{! 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 . }} {{! @template core_grades/grade_letters_action_bar Actions bar for the grade letters page. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * editbutton - The data object containing the required properties to render the 'edit grade letters' button. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56789", "selectedoption": "Import", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Grade letters", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "editbutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Edit", "attributes": [] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#editbutton}} {{/editbutton}}
    feedback_modal.mustache000064400000004231152266472760011220 0ustar00{{! 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 . }} {{! @template core_grades/feedback_modal The body of the modal displayed when viewing feedback for a grade item. Context variables required for this template: * feedbacktext - The full text of the feedback. * user - Object containing information about the student. * picture - The image corresponding to the user. * fullname - The users full name. * additionalfield - Additional text displayed below the users full name (e.g. the users email address) Example context (json): { "feedbacktext": "

    Example feedback text

    ", "user": { "picture": "\"\"", "fullname": "John Doe", "additionalfield": "johndoe@example.com" } } }} {{#user}}
    {{#picture}} {{{picture}}} {{/picture}} {{^picture}} {{/picture}}
    {{fullname}} {{#additionalfield}} {{additionalfield}} {{/additionalfield}}
    {{/user}}
    {{{feedbacktext}}}
    course_outcomes_action_bar.mustache000064400000006445152266472760013730 0ustar00{{! 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 . }} {{! @template core_grades/course_outcomes_action_bar Actions bar for the gradebook course outcomes page. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * manageoutcomesbutton - The data object containing the required properties to render the 'manage outcomes' button. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56789", "selectedoption": "Outcomes", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Outcomes", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "manageoutcomesbutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Manage outcomes", "attributes": [] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#manageoutcomesbutton}} {{/manageoutcomesbutton}}
    initials_dropdown_form.mustache000064400000003213152266472760013072 0ustar00{{! 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 . }} {{! @template core_grades/initials_dropdown_form @deprecated since Moodle 4.5 - please use core_course/initials_dropdown_form instead. @todo Final deprecation on Moodle 6.0. See MDL-82421. The form component of our dropdown within the tertiary navigation. Context variables required for this template: * courseid - The course ID. * initialsbars - The rendered mini renderer from the user renderer. Example context (json): { "courseid": "2", "initialsbars": "Output from renderer method" } }}
    {{{initialsbars}}}
    bulkactions/edit/tree/bulk_move_trigger.mustache000064400000002477152266472760016242 0ustar00{{! 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 . }} {{! @template core_grades/bulkactions/edit/tree/bulk_move_trigger Renders the bulk move trigger element in gradebook setup including hidden inputs related to the action. Context variables required for this template: * none Example context (json): { } }} {{< core/bulkactions/bulk_action_trigger }} {{$action}}move{{/action}} {{$title}}{{#str}} move, core {{/str}}{{/title}} {{$icon}}{{#pix}} i/dragdrop, core {{/pix}}{{/icon}} {{/ core/bulkactions/bulk_action_trigger }} bulkactions/edit/tree/bulk_move_category_item.mustache000064400000010007152266472760017416 0ustar00{{! 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 . }} {{! @template core_grades/bulkactions/edit/tree/bulk_move_category_item Recursively renders a grade category tree for the bulk move modal. Context variables required for this template: * id - The id of the category. * name - The name of the category. * children - An array of child categories. * iscategory - Whether the item is a category or not. * haschildcategories - Whether the item has child categories or not. Example context (json): { "id": 1, "name": "Category 1", "children": [ { "id": 2, "name": "Category 2", "children": [ { "id": 3, "name": "Category 3", "children": [ { "id": 4, "name": "Category 4", "children": [], "iscategory": true } ], "iscategory": true, "haschildcategories": true } ], "iscategory": true, "haschildcategories": true } ], "iscategory": true, "haschildcategories": true } }} {{#haschildcategories}}
    • {{#children}} {{#iscategory}} {{> core_grades/bulkactions/edit/tree/bulk_move_category_item }} {{/iscategory}} {{/children}}
  • {{/haschildcategories}} {{^haschildcategories}}
  • {{name}}
  • {{/haschildcategories}} bulkactions/edit/tree/bulk_move_grade_tree.mustache000064400000004214152266472760016667 0ustar00{{! 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 . }} {{! @template core_grades/bulkactions/edit/tree/bulk_move_grade_tree Renders the tree of categories and items for the bulk move action. Context variables required for this template: * id - The id of the category. * name - The name of the category. * children - An array of child categories. * iscategory - Whether the item is a category or not. Example context (json): { "id": 1, "name": "Category 1", "children": [ { "id": 2, "name": "Category 2", "children": [ { "id": 3, "name": "Category 3", "children": [ { "id": 4, "name": "Category 4", "children": [], "iscategory": true } ], "iscategory": true } ], "iscategory": true } ], "iscategory": true } }}

    {{#str}} moveselectedto, grades {{/str}}

    edit_tree.mustache000064400000003753152266472760010274 0ustar00{{! 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 . }} {{! @template core_grades/edit_tree Edit tree template. Context variables required for this template: * actionurl - string - Form action URL. * sesskey - string - The session key. * notification - object - Context data for the notification. * table - string - HTML content of the grade items table. * movingmodeenabled - string - Whether moving mode is enabled. * courseid - int - The course id. * stickyfooter - string - HTML content of the sticky footer. Example context (json): { "actionurl": "#", "sesskey": "fakesesskey", "notification": "", "table": "
    NameWeightsMax gradeActions
    ", "movingmodeenabled": "false", "courseid": 1, "stickyfooter": "
    " } }} {{#notification}} {{>core/notification_info}} {{/notification}}
    {{{table}}} {{{stickyfooter}}}
    general_action_bar.mustache000064400000005306152266472760012122 0ustar00{{! 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 . }} {{! @template core_grades/general_action_bar The general actions bar for navigating through the gradebook pages. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt1", "baseid": "select-menu56789", "selectedoption": "Grader report", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": true } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Import", "value": "opt2", "id": "select-menu-option2", "selected": false } ] } } ] } } }}
    {{#generalnavselector}} {{/generalnavselector}}
    scales_action_bar.mustache000064400000006401152266472760011754 0ustar00{{! 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 . }} {{! @template core_grades/scales_action_bar Actions bar for the gradebook scales page. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * addnewscalebutton - The data object containing the required properties to render the 'add new scale' button. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56789", "selectedoption": "Scales", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Scales", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "addnewscalebutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Manage outcomes", "attributes": [] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#addnewscalebutton}} {{/addnewscalebutton}}
    user_heading.mustache000064400000005122152266472760010755 0ustar00{{! 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 . }} {{! @template core_grades/user_heading Custom user heading. Context variables required for this template: * image - HTML img element representing the avatar of the user. * userprofileurl - The URL to the user profile page. * name - The name of the user * buttons - List of buttons to be displayed in the heading for the user report (e.g. 'message', 'add user to contacts') Example context (json): { "image": "\"\"", "userprofileurl": "http://example.com/user/view.php?id=6&course=8", "name": "John Doe", "buttons": [ { "linkattributes": [ { "name": "role", "value": "button" }, { "name": "data-userid", "value": "3" } ], "title": "Message", "url": "http://example.com/message/index.php?user1=2&user2=3&addcontact=3", "icon": { "name": "t/message", "component": "core" } } ] } }} import_key_manager_action_bar.mustache000064400000010661152266472760014361 0ustar00{{! 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 . }} {{! @template core_grades/import_key_manager_action_bar Actions bar for the gradebook imports key manager page. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the tertiary navigation selector. * importselector - The data object containing the required properties to render the import options selector. * adduserkeybutton - The data object containing the required properties to render the 'add user key' button. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56788", "selectedoption": "Import", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group1", "options": [ { "name": "Import", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "importselector": { "name": "importas", "value": "https://example.com/grade/import/keymanager.php", "baseid": "select-menu56789", "label": "Import as", "labelattributes": [ { "name": "class", "value": "fw-bold" } ], "selectedoption": "Key manager", "options": [ { "name": "Key manager", "value": "https://example.com/grade/import/keymanager.php", "selected": true, "id": "select-menu-option56789" } ] }, "adduserkeybutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Add user key", "attributes": [] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#importselector}} {{#js}} document.querySelector('#{{baseid}}').addEventListener('change', function(e) { window.location.href = e.target.value; }); {{/js}} {{/importselector}} {{#adduserkeybutton}} {{/adduserkeybutton}}
    cellmenu.mustache000064400000014421152266472760010126 0ustar00{{! 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 . }} {{! @template core_grades/cellmenu This template renders action menu for a given cell. Example context (json): { "editurl": "Edit grade", "hideurl": "Hide", "reporturl0": "Single view for this user", "reporturl1": "User report", "ascendingurl": "Ascending", "descendingurl": "Descending", "ascendingfirstnameurl": "Ascending", "descendingfirstnameurl": "Descending", "ascendinglastnameurl": "Ascending", "descendinglastnameurl": "Descending", "viewfeedbackurl": "View feedback", "divider1": "true", "divider2": "true", "datatype": "item", "dataid": "123", "columncollapse": "Collapse" } }}
    import_action_bar.mustache000064400000007474152266472760012027 0ustar00{{! 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 . }} {{! @template core_grades/import_action_bar Actions bar for the gradebook import pages. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * importselector - The data object containing the required properties to render the import options selector. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56788", "selectedoption": "Import", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Import", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "importselector": { "name": "importas", "value": "https://example.com/grade/import/csv/index.php", "baseid": "select-menu56789", "label": "Import as", "labelattributes": [ { "name": "class", "value": "fw-bold" } ], "selectedoption": "CSV file", "options": [ { "name": "CSV file", "value": "https://example.com/grade/import/csv/index.php", "selected": true, "id": "select-menu-option56789" } ] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#importselector}} {{#js}} document.querySelector('#{{baseid}}').addEventListener('change', function(e) { window.location.href = e.target.value; }); {{/js}} {{/importselector}}
    penalty_indicator.mustache000064400000003343152266472760012033 0ustar00{{! 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 . }} {{! @template core_grades/penalty_indicator This template is used to render the penalty indicator. Example context (json): { "penalty": 20, "finalgrade": 50, "maxgrade": 100, "info": "Late penalty applied -20 marks" } }} {{#icon}} {{#pix}}{{name}}, {{component}}{{/pix}} {{/icon}} {{#finalgrade}} {{#grademax}} {{finalgrade}} / {{grademax}} {{/grademax}} {{^grademax}} {{finalgrade}} {{/grademax}} {{/finalgrade}} {{#js}} require(['theme_boost/bootstrap/tooltip'], function(Tooltip) { // Re-init the tooltip to ensure those dynamically added through AJAX are initialized document.querySelectorAll('.penalty-indicator-icon[data-bs-toggle="tooltip"]').forEach(tooltipElement => { Tooltip.getInstance(tooltipElement)?.dispose(); new Tooltip(tooltipElement); }); }); {{/js}} status_icons.mustache000064400000002777152266472760011053 0ustar00{{! 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 . }} {{! @template core_grades/status_icons Template for the grade status icons. Example context (json): { "classes": "gradestatus", "hidden": true, "locked": true, "overridden": false, "excluded": false, "feedback": false } }}
    {{#hidden}}{{#pix}}i/show, moodle, {{#str}} hidden, grades {{/str}}{{/pix}}{{/hidden}} {{#locked}}{{#pix}}i/lock, moodle, {{#str}} locked, grades {{/str}}{{/pix}}{{/locked}} {{#overridden}}{{#pix}}i/overriden_grade, moodle, {{#str}} overridden, grades {{/str}}{{/pix}}{{/overridden}} {{#excluded}}{{#pix}}i/excluded, moodle, {{#str}} excluded, grades {{/str}}{{/pix}}{{/excluded}} {{#feedback}}{{#pix}}i/asterisk, moodle, {{#str}} feedbackprovided, grades {{/str}}{{/pix}}{{/feedback}}
    export_key_manager_action_bar.mustache000064400000010660152266472760014367 0ustar00{{! 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 . }} {{! @template core_grades/export_key_manager_action_bar Actions bar for the gradebook exports key manager page. Context variables required for this template: * generalnavselector - The data object containing the required properties to render the general navigation selector. * exportselector - The data object containing the required properties to render the export options selector. * adduserkeybutton - The data object containing the required properties to render the 'add user key' button. Example context (json): { "generalnavselector": { "name": "Gradebook tertiary navigation selector", "value": "opt2", "baseid": "select-menu56788", "selectedoption": "Export", "options": [ { "selected": false, "isgroup": { "name": "View", "id": "select-menu-group1", "options": [ { "name": "Grader report", "value": "opt1", "id": "select-menu-option1", "selected": false } ] } }, { "selected": false, "isgroup": { "name": "More", "id": "select-menu-group2", "options": [ { "name": "Export", "value": "opt2", "id": "select-menu-option2", "selected": true } ] } } ] }, "exportselector": { "name": "exportas", "value": "https://example.com/grade/export/keymanager.php", "baseid": "select-menu56789", "label": "Export as", "labelattributes": [ { "name": "class", "value": "fw-bold" } ], "selectedoption": "Key manager", "options": [ { "name": "Key manager", "value": "https://example.com/grade/export/keymanager.php", "selected": true, "id": "select-menu-option56789" } ] }, "adduserkeybutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Add user key", "attributes": [] } } }}
    {{#generalnavselector}} {{/generalnavselector}} {{#exportselector}} {{#js}} document.querySelector('#{{baseid}}').addEventListener('change', function(e) { window.location.href = e.target.value; }); {{/js}} {{/exportselector}} {{#adduserkeybutton}} {{/adduserkeybutton}}
    manage_outcomes_action_bar.mustache000064400000006741152266472760013657 0ustar00{{! 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 . }} {{! @template core_grades/manage_outcomes_action_bar Actions bar for the manage outcomes page. Context variables required for this template: * backbutton - The data object containing the required properties to render the 'back' button. * addoutcomebutton - The data object containing the required properties to render the 'add a new outcome' button. * importoutcomesbutton - The data object containing the required properties to render the 'import outcomes' button. * exportoutcomesbutton - The data object containing the required properties to render the 'export outcomes' button. Example context (json): { "backbutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Back", "attributes": [] }, "addoutcomebutton": { "id": "single_button13245", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Add a new outcome", "attributes": [] }, "importoutcomesbutton": { "id": "single_button14325", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Import outcomes", "attributes": [] }, "exportoutcomesbutton": { "id": "single_button15245", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Export all outcomes", "attributes": [] } } }}
    {{#backbutton}} {{/backbutton}} {{#addoutcomebutton}} {{/addoutcomebutton}}
    {{#importoutcomesbutton}} {{/importoutcomesbutton}} {{#exportoutcomesbutton}} {{/exportoutcomesbutton}}
    weight_field.mustache000064400000002116152266472760010752 0ustar00{{! 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 . }} {{! @template core_grades/weight_field Weight field. Example context (json): { "itemname": "Awesome test", "id": "2", "value": "100" } }} searchwidget/loading.mustache000064400000001705152266472760012411 0ustar00{{! 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 . }} {{! @template core_grades/searchwidget/loading This template renders the loading placeholder for the search widget. Example context (json): {} }}
    {{> core/loading }}
    searchwidget/searchitem.mustache000064400000003476152266472760013127 0ustar00{{! 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 . }} {{! @template core_grades/searchwidget/searchitem Search result line items. Example context (json): { "id": "1", "name": "Quiz 1", "fullname": "Cameron Greeve" } }} searchwidget/searchresults.mustache000064400000003262152266472760013663 0ustar00{{! 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 . }} {{! @template core_grades/searchwidget/searchresults The wrapper in which our search results will be rendered Example context (json): { "searchresults": [ { "id": "1", "name": "Quiz 1", "fullname": "Cameron Greeve", "sendmessage": "http://foo.bar/message/index.php?id=25", "addcontact": "http://foo.bar/message/index.php?user1=2&user2=14&addcontact=14&sesskey=XXXXX", "currentuser": "2" } ] } }} searchwidget/readme.txt000064400000000501152266472760011230 0ustar00NOTE: Templates inside this directory have been deprecated since Moodle 4.3 and will be removed in 4.7. They are only retained so that plugins using the now-deprecated searchwidget located in: 'grade/amd/src/searchwidget/basewidget.js' can continue to use this widget in a working state during the deprecation period. searchwidget/error.mustache000064400000002356152266472760012130 0ustar00{{! 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 . }} {{! @template core_grades/searchwidget/error Chooser error template. Variables required for this template: * errormessage - The error message Example context (json): { "errormessage": "Error" } }}
    button.mustache000064400000001641152266473450007632 0ustar00{{! 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 . }} {{! @template gradereport_singleview/button Button. Example context (json): { "type": "submit", "value": "Save" } }} perpage.mustache000064400000003526152266473450007746 0ustar00{{! 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 . }} {{! @template gradereport_grader/perpage The students per page dropdown element. Context variables required for this template: * baseurl - The base URL for the perpage action. * options - Choices Example context (json): { "baseurl": "http://example.com/grade/report/grader/index.php?id=2&report=grader", "options": [ {"name": "20", "value": "20"}, {"name": "100", "value": "100", "selected": true}, {"name": "All", "value": "0"} ] } }}
    {{#pagingbar}}
    {{{pagingbar}}}
    {{/pagingbar}} {{#js}} document.getElementById('{{uniqid}}').addEventListener('change', function(e) { var url = new URL('{{{baseurl}}}'); url.searchParams.set('perpage', e.target.value); window.location.href = url; }); {{/js}} text_attribute.mustache000064400000003027152266473450011366 0ustar00{{! 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 . }} {{! @template gradereport_singleview/text_attribute Text attribute. Example context (json): { "name": "Awesome-report", "label": "Text label", "value": "Text information", "disabled": false, "type": "number", "isnumeric": true, "min": "0", "max": "100" } }} {{#readonly}} {{value}} {{/readonly}} {{^readonly}} {{#label}}{{/label}} {{/readonly}} bulkinsert.mustache000064400000004610152266473450010500 0ustar00{{! 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 . }} {{! @template gradereport_singleview/bulkinsert Template for the bulk insert grades modal. Example context (json): { "name": "bulksinsertmodal", "id": "bulksinsertmodal" } }}
    {{#str}}unsavedataalert, gradereport_singleview{{/str}} {{#str}}unsaveddatawarning, gradereport_singleview{{/str}}
    {{#str}}bulkchoice, gradereport_singleview{{/str}}

    {{#str}}bulkinsertvalue, gradereport_singleview{{/str}}

    bulk_insert.mustache000064400000003522152266473450010640 0ustar00{{! 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 . }} {{! @template gradereport_singleview/bulk_insert Bulk insert attribute. Example context (json): { "applyname": "Apply-name", "applylabel": "Perform bulk insert", "label": "Bulk insert", "menuname": "Menu-name", "menulabel": "For", "menuoptions": "JSON object", "value": "all", "selected": "", "name": "All grades", "valuename": "Value-name", "valuelabel": "Insert value", "valuefield": "PARSED HTML" } }}
    {{label}} {{{valuefield}}}
    zero_state.mustache000064400000006221152266473450010475 0ustar00{{! 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 . }} {{! @template mod_data/zero_state Form containing all database presets displayed within a table. Context variables required for this template: * noitemsimgurl - The image url. * importpresetbutton stdClass - Import preset single button to be rendered * createfieldbutton stdClass - Create a field action menu to be rendered * usepresetbutton stdClass - Use a preset single button to be rendered Example context (json): { "noitemsimgurl": "https://moodlesite/theme/image.php/boost/mod_data/1535727318/nofields", "title": "Title", "importpresetbutton": { "id" : "id1", "method" : "get", "url" : "#", "primary" : false, "tooltip" : "This is a tooltip", "label" : "Button1", "attributes": [ { "name": "data-attribute", "value": "no" } ] }, "createfieldbutton": { "id" : "id2", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, "usepresetbutton": { "id" : "id3", "method" : "get", "url" : "#", "primary" : false, "tooltip" : "This is a tooltip", "label" : "Button3", "attributes": [ { "name": "data-attribute", "value": "perhaps" } ] } } }}
    {{{ title }}}
    {{#intro}}

    {{{ intro }}}

    {{/intro}}
    {{#createfieldbutton}} {{>core/action_menu}} {{/createfieldbutton}} {{#importpresetbutton}} {{>core/single_button}} {{/importpresetbutton}} {{#usepresetbutton}} {{>core/single_button}} {{/usepresetbutton}}
    {{#js}} require(['mod_data/importpresets'], function(importPresetsModal) { importPresetsModal.init(); }); {{/js}}
    action_bar.mustache000064400000003711152266473450010420 0ustar00{{! 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 . }} {{! @template mod_wiki/action_bar Actions bar at the top of the wiki pages. Context variables required for this template: * urlselect - The data object containing the required properties to render core/url_select. * printbutton - The HTML for the print button. Example context (json): { "urlselect": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "classes": "urlselect", "label": "", "helpicon": false, "showbutton": null, "options": [ { "name": "Some name", "value": "/mod/data/someurl.php", "selected": false } ], "disabled": false, "title": null }, "printbutton": "Print" } }}
    {{#urlselect}} {{/urlselect}}
    gradesearch_body.mustache000064400000002744152266473450011611 0ustar00{{! 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 . }} {{! @template gradereport_singleview/gradesearch_body The body of the grade item widget. Example context (json): {} }} {{< core/search_input_auto }} {{$label}}{{#str}} searchgrades, gradereport_singleview {{/str}}{{/label}} {{$placeholder}}{{#str}} searchgrades, gradereport_singleview {{/str}}{{/placeholder}} {{$additionalattributes}} role="combobox" aria-expanded="true" aria-controls="listbox-{{uniqid}}" aria-autocomplete="list" data-input-element="input-{{uniqid}}" {{/additionalattributes}} {{/ core/search_input_auto }}
    zero_state_grade.mustache000064400000002423152266473450011637 0ustar00{{! 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 . }} {{! @template gradereport_singleview/zero_state_grade The zero state of the user report that contains the image and trigger for the search widget. Example context (json): { "imglink": "http://foo.bar/gradereport/?userid=25" } }}

    {{#str}}viewsinglegradeitem, gradereport_singleview{{/str}}

    {{#str}}singleviewdescription, gradereport_singleview{{/str}}

    grade_item_selector.mustache000064400000004217152266473450012321 0ustar00{{! 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 . }} {{! @template gradereport_singleview/grade_item_selector The grade item selector trigger element. Context variables required for this template: * itemid - The value of the grade item selector element (id of the preselected grade item) * instance - The instance ID of the combo box. * courseid - The course ID. * selectedoption - (optional) Object containing information about the selected option. * text - The text of the selected option. Example context (json): { "itemid": "21", "instance": "25", "courseid": "2", "selectedoption": { "text": "Grade item 1" } } }}
    {{#selectedoption}}
    {{text}}
    {{/selectedoption}} {{^selectedoption}} {{/selectedoption}}
    dropdown_attribute.mustache000064400000002570152266473450012240 0ustar00{{! 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 . }} {{! @template gradereport_singleview/dropdown_attribute Dropdown attribute. Example context (json): { "name": "Awesome-test", "disabled": "true", "options": "true", "value": "1", "selected": "true" } }} {{#readonly}} {{text}} {{/readonly}} {{^readonly}} {{/readonly}} zero_state_user.mustache000064400000002410152266473450011527 0ustar00{{! 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 . }} {{! @template gradereport_singleview/zero_state_user The zero state of the user report that contains the image and trigger for the search widget. Example context (json): { "imglink": "http://foo.bar/gradereport/?userid=25" } }}

    {{#str}}viewsingleuser, gradereport_singleview{{/str}}

    {{#str}}singleviewdescription, gradereport_singleview{{/str}}

    page_toggler.mustache000064400000004214152266473450010755 0ustar00{{! 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 . }} {{! @template gradereport_singleview/page_toggler The small selector at the top right of the page to switch between zero states. Example context (json): { "displaylabel": true, "userzerolink": "http://foo.bar/gradereport/?userid=25", "userselectactive": "false", "gradepagepage": "http://foo.bar/gradereport/?userid=25", "gradeselectactive": "true" } }}
    {{#displaylabel}}

    {{#str}}viewby, gradereport_singleview{{/str}}

    {{/displaylabel}}
    report_navigation.mustache000064400000005260152266473450012052 0ustar00{{! 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 . }} {{! @template gradereport_singleview/report_navigation The previous/next user/item navigation for the singleview report. Context variables required for this template: * previoususer - (optional) The object containing information about the previous user. * name - The name of the previous user/item. * url - The URL to the previous user/item report. * nextuser - (optional) The object containing information about the next user. * name - The name of the next user/item. * url - The URL to the next user/item report. Example context (json): { "previoususer": { "name": "John Smith", "url": "https://example.com/grade/report/singleview/index.php?id=2&itemid=3" }, "previoususer": { "name": "Jane Doe", "url": "https://example.com/grade/report/singleview/index.php?id=2&itemid=5" } } }}
    {{#perpageselect}}
    {{{perpageselect}}}
    {{/perpageselect}}
    {{#previoususer}} {{/previoususer}}
    {{#nextuser}} {{/nextuser}}
    user_button.mustache000064400000004051152266473520010664 0ustar00{{! 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 . }} {{! @template gradereport_history/user_button Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "name": "showreport", "label": "Select users", "value": "1", "classes": "singlebutton selectusersbutton gradereport_history_plugin", "method": "get", "url": "/grade/report/history/index.php", "formid": "selectusersbutton{generated}", "params": "true", "id": "single_button{generated}", "tooltip": "Select users", "disabled": "" } }}
    {{#params}} {{/params}}
    {{#hasactions}} {{#js}} require(['core/yui'], function(Y) { {{#actions}} Y.on('{{event}}', {{{jsfunction}}}, '#{{id}}', null{{#jsfunctionargs}}, {{{jsfunctionargs}}}{{/jsfunctionargs}}); {{/actions}} }); {{/js}} {{/hasactions}} month_detailed.mustache000064400000022750152266502000011263 0ustar00{{! 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 . }} {{! @template core_calendar/month_detailed Calendar month view. The purpose of this template is to render the month view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{> core_calendar/month_navigation }} {{> core/overlay_loading}} {{# daynames }} {{/ daynames }} {{#weeks}} {{#prepadding}} {{/prepadding}} {{#days}} {{/days}} {{#postpadding}} {{/postpadding}} {{/weeks}}
    {{fullname}}
     
    {{daytitle}} {{#hasevents}} {{mday}} {{/hasevents}} {{^hasevents}} {{/hasevents}} {{#hasevents}}
    {{/hasevents}}
    {{daytitle}} {{#hasevents}} {{mday}} {{/hasevents}} {{^hasevents}} {{/hasevents}}
     
    {{#js}} require([ 'jquery', 'core_calendar/month_view_drag_drop' ], function( $, DragDrop ) { var root = $('#month-detailed-{{uniqid}}-{{calendarinstanceid}}'); DragDrop.init(root); }); {{/js}} event_summary_modal.mustache000064400000003175152266502000012355 0ustar00{{! 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 . }} {{! @template core_calendar/event_summary_modal This template renders the calendar events summary modal. Example context (json): { "title": "Assignment due 1" } }} {{< core/modal }} {{$footer}} {{#candelete}} {{/candelete}} {{#action.actionable}} {{{action.name}}} {{/action.actionable}} {{^action.actionable}} {{#isactionevent}} {{#str}} gotoactivity, core_calendar {{/str}} {{/isactionevent}} {{/action.actionable}} {{^isactionevent}} {{#canedit}} {{/canedit}} {{/isactionevent}} {{/footer}} {{/ core/modal }} calendar_mini.mustache000064400000002775152266502000011075 0ustar00{{! 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 . }} {{! @template core_calendar/calendar_mini Calendar month view for blocks. The purpose of this template is to render the month view for blocks. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{> core_calendar/month_mini}} {{#js}} require(['jquery', 'core_calendar/calendar_mini'], function($, CalendarMini) { CalendarMini.init($("#calendar-month-{{date.year}}-{{date.mon}}-{{uniqid}}"), !{{initialeventsloaded}}); }); {{/js}} event_filter.mustache000064400000002455152266502000010771 0ustar00{{! 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 . }} {{! @template core_calendar/event_filter Filter to select which event types displayed on this page. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
      {{#eventtypes}}
    • {{> core_calendar/event_filter_key }}
    • {{/eventtypes}}
    {{#js}} require(['jquery', 'core_calendar/calendar_filter'], function($, CalendarFilter) { CalendarFilter.init($("#event-filter-{{uniqid}}")); }); {{/js}} upcoming_mini.mustache000064400000007216152266502000011140 0ustar00{{! 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 . }} {{! @template core_calendar/upcoming_mini Calendar upcoming view for blocks. The purpose of this template is to render the upcoming view for blocks. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{> core/overlay_loading}} {{#events}}
    {{#icon}} {{#iconurl}} {{alttext}} {{/iconurl}} {{^iconurl}} {{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}} {{/iconurl}} {{/icon}}

    {{{name}}}

    {{{formattedtime}}}
    {{/events}} {{^events}} {{#str}}noupcomingevents, calendar{{/str}} {{/events}} {{#js}} require([ 'jquery', 'core_calendar/selectors', 'core_calendar/events', ], function( $, CalendarSelectors, CalendarEvents ) { var root = $('#month-upcoming-mini-{{uniqid}}'); $('body').on(CalendarEvents.filterChanged, function(e, data) { M.util.js_pending("month-upcoming-mini-{{uniqid}}-filterChanged"); // A filter value has been changed. // Find all matching cells in the popover data, and hide them. var target = $("#month-upcoming-mini-{{uniqid}}").find(CalendarSelectors.eventType[data.type]); var transitionPromise = $.Deferred(); if (data.hidden) { transitionPromise.then(function() { return target.slideUp('fast').promise(); }); } else { transitionPromise.then(function() { return target.slideDown('fast').promise(); }); } transitionPromise.then(function() { M.util.js_complete("month-upcoming-mini-{{uniqid}}-filterChanged"); return; }); transitionPromise.resolve(); }); }); {{/js}} footer_options.mustache000064400000002433152266502000011350 0ustar00{{! 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 . }} {{! @template core_calendar/footer_options Displays export options on the calendar footer. Example context (json): { "footerlinks": [ { "url": "calendar/view.php?view=month", "linkname": "Full calendar" }, { "url": "calendar/managesubscriptions.php", "linkname": "Manage subcriptions" } ] } }}
    {{#footerlinks}} {{linkname}} {{/footerlinks}}
    add_event_button.mustache000064400000002503152266502000011621 0ustar00{{! 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 . }} {{! @template core_calendar/add_event_button Button to launch the "Add new event" dialogue. The purpose of this template is to render the button used to generate the new event dialogue. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "defaulteventcontext": "2" } }} {{#defaulteventcontext}} {{#str}}newevent, core_calendar{{/str}} {{/defaulteventcontext}} day_navigation.mustache000064400000004306152266502000011274 0ustar00{{! 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 . }} {{! @template core_calendar/day_navigation Calendar day navigation. The purpose of this template is to render the navigation to switch to previous and next months. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
      {{previousperiodname}} |

    {{periodname}}

    | {{nextperiodname}}  
    calendar_upcoming.mustache000064400000002451152266502000011751 0ustar00{{! 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 . }} {{! @template core_calendar/calendar_upcoming Calendar upcoming view. The purpose of this template is to render the calendar upcoming view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{> core_calendar/header}} {{> core_calendar/upcoming_detailed}}
    {{#js}} require(['jquery', 'core_calendar/calendar_view'], function($, CalendarView) { CalendarView.init($("#calendar-upcoming-{{uniqid}}"), 'upcoming'); }); {{/js}} event_icon.mustache000064400000002761152266502000010434 0ustar00{{! 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 . }} {{! @template core_calendar/event_icon Event icon display. The purpose of this template is to provide a common location for the rendering of event icons. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "modulename": "assign" } }} {{#modulename}} {{#icon}} {{#iconurl}} {{alttext}} {{/iconurl}} {{^iconurl}} {{#pix}} monologo, {{modulename}} {{/pix}} {{/iconurl}} {{/icon}} {{^icon}} {{#pix}} monologo, {{modulename}} {{/pix}} {{/icon}} {{/modulename}} {{^modulename}} {{#icon}}{{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}}{{/icon}} {{/modulename}} event_list.mustache000064400000002323152266502000010451 0ustar00{{! 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 . }} {{! @template core_calendar/event_list Calendar event list. The purpose of this template is to render a list of events. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{#events}} {{> core_calendar/event_item }} {{/events}} {{^events}} {{$noeventsmessage}}{{/noeventsmessage}} {{/events}}
    event_details.mustache000064400000010276152266502000011131 0ustar00{{! 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 . }} {{! @template core_calendar/event_details Calendar event details. The purpose of this template is to render the event details. This template is used in the summary modal, day and upcoming views to output event information consistently across the calendar. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "formattedtime": "Wednesday, 17 April, 9:27 AM", "formattedlocation": "Moodle HQ", "normalisedeventtype": "Group", "normalisedeventtypetext": "Group event", "description": "An random event description", "isactionevent": "true", "course": { "viewurl": "http://mymoodlesite/course/view.php?id=1", "fullname": "Course name" }, "source": "Ical imported", "groupname": "Group 1", "iscategoryevent": "true", "category": { "nestedname": "Category name" }, "iscourseevent": "true", "groupname": "Group name", "subscription": "true", "displayeventsource": "true", "subscriptionname": "Subscription name", "subscriptionurl": "http://subscriptionurl" } }}
    {{#pix}} i/calendareventtime, core, {{#str}} when, core_calendar {{/str}} {{/pix}}
    {{{formattedtime}}}
    {{#normalisedeventtypetext}}
    {{#pix}} i/calendar, core, {{#str}} eventtype, core_calendar {{/str}} {{/pix}}
    {{normalisedeventtypetext}}
    {{/normalisedeventtypetext}} {{#description}}
    {{#pix}} i/calendareventdescription, core, {{#str}} description {{/str}} {{/pix}}
    {{{.}}}
    {{/description}} {{#formattedlocation}}
    {{#pix}} i/location, core, {{#str}} location {{/str}} {{/pix}}
    {{{.}}}
    {{/formattedlocation}} {{#iscategoryevent}}
    {{#pix}} i/categoryevent, core, {{#str}} category {{/str}} {{/pix}}
    {{{category.nestedname}}}
    {{/iscategoryevent}} {{#course.viewurl}}
    {{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}
    {{/course.viewurl}} {{#groupname}}
    {{#pix}} i/groupevent, core, {{#str}} group {{/str}} {{/pix}}
    {{{groupname}}}
    {{/groupname}} {{#subscription}} {{#displayeventsource}}
    {{#pix}} i/rss, core, {{#str}} eventsource, core_calendar {{/str}} {{/pix}}
    {{#subscriptionurl}}

    {{#str}}subscriptionsource, core_calendar, {{{subscriptionname}}}{{/str}}

    {{/subscriptionurl}} {{^subscriptionurl}}

    {{#str}}subscriptionsource, core_calendar, {{{subscriptionname}}}{{/str}}

    {{/subscriptionurl}}
    {{/displayeventsource}} {{/subscription}} calendar_day.mustache000064400000002652152266502000010710 0ustar00{{! 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 . }} {{! @template core_calendar/calendar_day Calendar day view. The purpose of this template is to render the calendar day view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "iscalendarblock": false } }}
    {{> core_calendar/header}} {{> core_calendar/day_detailed}}
    {{#js}} require(['jquery', 'core_calendar/calendar_view'], function($, CalendarView) { const isCalendarBlock = {{#iscalendarblock}}true{{/iscalendarblock}}{{^iscalendarblock}}false{{/iscalendarblock}}; CalendarView.init($("#calendar-day-{{uniqid}}"), 'day', isCalendarBlock); }); {{/js}} month_navigation.mustache000064400000005630152266502000011645 0ustar00{{! 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 . }} {{! @template core_calendar/month_navigation Calendar month navigation. The purpose of this template is to render the navigation to switch to previous and next months. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
      {{previousperiodname}} | {{#viewinginblock}}

    {{periodname}}

    {{/viewinginblock}} {{^viewinginblock}}

    {{periodname}}

    {{/viewinginblock}} | {{nextperiodname}}  
    {{#js}} require(['jquery', 'core_calendar/month_navigation_drag_drop'], function($, DragDrop) { var root = $('#month-navigation-{{uniqid}}-{{calendarinstanceid}}'); DragDrop.init(root); }); {{/js}} day_detailed.mustache000064400000003233152266502000010706 0ustar00{{! 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 . }} {{! @template core_calendar/day_detailed Calendar day view. The purpose of this template is to render the calendar day view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{> core_calendar/day_navigation }} {{> core/overlay_loading}} {{< core_calendar/event_list }} {{$noeventsmessage}} {{#str}} daywithnoevents, core_calendar {{/str}} {{/noeventsmessage}} {{/core_calendar/event_list}} subscription_update_result.mustache000064400000003503152266502000013762 0ustar00{{! 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 . }} {{! @template core_calendar/subscription_update_result Calendar subscription update result. The purpose of this template is to render the calendar subscription update result. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "subscriptionname": "Moodle", "eventsimported": 1, "eventsskipped": 2, "eventsupdated": 3, "deletedcount": 4, "errors": [ "Event 1", "Event 2" ] } }} {{#subscriptionname}}

    {{#str}} subscriptionupdated, calendar, {{subscriptionname}} {{/str}}

    {{/subscriptionname}}
    • {{#str}} eventsimported, calendar, {{eventsimported}} {{/str}}
    • {{#str}} eventsskipped, calendar, {{eventsskipped}} {{/str}}
    • {{#str}} eventsupdated, calendar, {{eventsupdated}} {{/str}}
    • {{#str}} eventsdeleted, calendar, {{eventsdeleted}} {{/str}}
    {{#haserror}}

    {{#str}} erroraddingevent, calendar {{/str}}

      {{#eventserror}}
    • {{.}}
    • {{/eventserror}}
    {{/haserror}} humandate.mustache000064400000003352152266502000010246 0ustar00{{! 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 . }} {{! @template core_calendar/humandate Print a human readable date format. Example context (json): { "userdate": "2021-09-01", "date": "Tomorrow, 23 January", "time": "12:00 AM", "timestamp": "1630512000", "ispast": false, "isnear": true, "nearicon": { "extraclasses": "me-0 pb-1", "attributes": [ {"name": "src", "value": "../../../pix/i/warning.svg"}, {"name": "alt", "value": "Warning"} ] }, "needtitle": true, "link": "https://example.com/calendar/view.php" } }} {{#link}} {{/link}} {{#nearicon}} {{>core/pix_icon}} {{/nearicon}} {{#date}}{{date}}{{#time}}, {{/time}}{{/date}}{{time}} {{#link}} {{/link}} month_mini.mustache000064400000016664152266502000010453 0ustar00{{! 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 . }} {{! @template core_calendar/month_mini Calendar month view for blocks. The purpose of this template is to render the month view for blocks. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{> core/overlay_loading}} {{# daynames }} {{/ daynames }} {{#weeks}} {{#prepadding}} {{/prepadding}} {{#days}} {{/days}} {{#postpadding}} {{/postpadding}} {{/weeks}}
    {{#includenavigation}} | {{periodname}} | {{/includenavigation}} {{^includenavigation}}

    {{periodname}}

    {{/includenavigation}}
    {{fullname}}
     {{! }}{{daytitle}} {{#popovertitle}} {{< core_calendar/minicalendar_day_link }} {{$day}}{{mday}}{{/day}} {{$url}}{{viewdaylink}}{{/url}} {{$title}}{{popovertitle}}{{/title}} {{$nocontent}}{{#str}}eventnone, calendar{{/str}}{{/nocontent}} {{$content}} {{#events}}
    {{> core_calendar/event_icon}} {{{popupname}}}
    {{/events}} {{/content}} {{/ core_calendar/minicalendar_day_link }} {{/popovertitle}}{{! }}{{^popovertitle}} {{/popovertitle}}{{! }}
     
    {{#js}} require([ 'jquery', 'core_calendar/selectors', 'core_calendar/events', ], function( $, CalendarSelectors, CalendarEvents ) { $('body').on(CalendarEvents.filterChanged, function(e, data) { M.util.js_pending("month-mini-{{uniqid}}-filterChanged"); // A filter value has been changed. // Find all matching cells in the popover data, and hide them. $("#month-mini-{{date.year}}-{{date.mon}}-{{uniqid}}") .find(CalendarSelectors.popoverType[data.type]) .toggleClass('hidden', !!data.hidden); M.util.js_complete("month-mini-{{uniqid}}-filterChanged"); }); }); {{/js}} event_item.mustache000064400000007416152266502000010444 0ustar00{{! 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 . }} {{! @template core_calendar/event_item Calendar event item. The purpose of this template is to render the event item. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "id": 1, "name": "Sample event name", "normalisedeventtype": "course", "course": { "id": 1 }, "canedit": true, "candelete": true, "isactionevent": true, "icon": { "key": "i/courseevent", "component": "core", "alttext": "Some course event", "iconurl": "#" }, "editurl": "#", "url": "#" } }}
    {{#canedit}} {{#candelete}} {{#pix}}t/delete, core{{/pix}} {{/candelete}} {{^isactionevent}} {{#pix}}t/edit, core{{/pix}} {{/isactionevent}} {{/canedit}}
    {{#icon}}
    {{#iconurl}} {{alttext}} {{/iconurl}} {{^iconurl}} {{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}} {{/iconurl}}
    {{/icon}}

    {{{name}}}

    {{> core_calendar/event_details }}
    {{#action.actionable}} {{/action.actionable}} {{^action.actionable}} {{#isactionevent}} {{/isactionevent}} {{/action.actionable}}
    calendar_month.mustache000064400000003017152266502000011254 0ustar00{{! 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 . }} {{! @template core_calendar/calendar_month Calendar month view for blcoks. The purpose of this template is to render the main, detailed monthly view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "iscalendarblock": false } }}
    {{> core_calendar/header}} {{> core_calendar/month_detailed}}
    {{#js}} require(['jquery', 'core_calendar/calendar', 'core_calendar/popover'], function($, Calendar, calendarPopover) { const isCalendarBlock = {{#iscalendarblock}}true{{/iscalendarblock}}{{^iscalendarblock}}false{{/iscalendarblock}}; Calendar.init($("#calendar-month-{{uniqid}}-{{calendarinstanceid}}"), isCalendarBlock); }); {{/js}} upcoming_detailed.mustache000064400000002635152266502000011757 0ustar00{{! 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 . }} {{! @template core_calendar/upcoming_detailed Calendar upcoming detailed. The purpose of this template is to render the calendar upcoming detailed view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{> core/overlay_loading}}

    {{#str}}upcomingevents, core_calendar{{/str}}

    {{< core_calendar/event_list }} {{$noeventsmessage}} {{#str}} noupcomingevents, core_calendar {{/str}} {{/noeventsmessage}} {{/core_calendar/event_list}}
    minicalendar_day_link.mustache000064400000004663152266502000012606 0ustar00{{! 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 . }} {{! @template core_calendar/minicalendar_day_link Displays link to calendar day in mini calendar, with hover tooltip. Example context (json): { "day": "Today", "url": "http://example.com/", "title": "Monday 2nd January", "content": "Test site event" } }} {{$day}}{{day}}{{/day}} {{#js}} require(['jquery'], function($) { require(['theme_boost/bootstrap/popover'], function() { const target = document.getElementById("calendar-day-popover-link-{{courseid}}-{{year}}-{{yday}}-{{uniqid}}"); new Popover(target, { content: function() { var source = target.next().find("> *:not('.hidden')"); var content = $('
    '); if (source.length) { content.html(source.clone(false)); } else { content.html(target.data('alternate')); } return content.html(); } }); }); }); {{/js}} event_filter_key.mustache000064400000003161152266502000011634 0ustar00{{! 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 . }} {{! @template core_calendar/event_filter_key Key item for the event filter. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{^hidden}} {{#pix}}i/hide, core, {{#str}}hideeventtype, calendar, {{name}}{{/str}}{{/pix}}   {{#str}}hideeventtype, calendar, {{name}}{{/str}} {{/hidden}} {{#hidden}} {{#pix}}i/show, core, {{#str}}showeventtype, calendar, {{name}}{{/str}}{{/pix}}   {{#str}}showeventtype, calendar, {{name}}{{/str}} {{/hidden}} event_delete_modal.mustache000064400000003301152266502000012111 0ustar00{{! 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 . }} {{! @template core_calendar/event_delete_modal Moodle modal template with save and cancel buttons. The purpose of this template is to render a modal. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * title A cleaned string (use clean_text()) to display. * body HTML content for the boday Example context (json): { "title": "Example delete event seriesmodal", "body": "Do you want to delete this event, or all events in the series?" } }} {{< core/modal }} {{$footer}} {{/footer}} {{/ core/modal }} calendar_upcoming_mini.mustache000064400000002463152266502000012770 0ustar00{{! 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 . }} {{! @template core_calendar/calendar_upcoming_mini Calendar upcoming view. The purpose of this template is to render the calendar upcoming view. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{> core_calendar/upcoming_mini}}
    {{#isloggedin}} {{#js}} require(['jquery', 'core_calendar/calendar_view'], function($, CalendarView) { CalendarView.init($("#calendar-upcoming-block-{{uniqid}}"), 'upcoming'); }); {{/js}} {{/isloggedin}} header.mustache000064400000002421152266502000007524 0ustar00{{! 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 . }} {{! @template core_calendar/header Calendar header. The purpose of this template is to render the month header. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{#showviewselector}} {{> core_calendar/view_selector}} {{/showviewselector}} {{#filter_selector}} {{{filter_selector}}} {{/filter_selector}} {{> core_calendar/add_event_button}}
    export_calendar_url.mustache000064400000003612152266502000012333 0ustar00{{! 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 . }} {{! @template core_calendar/export_calendar_url Template for the URL for the exported calendar. Example context (json): { "calendarexporturl": "https://www.moodle.org" } }}
    {{#js}} require(['core_calendar/export'], function(calendarExport) { calendarExport.init(); }); {{/js}} modal_event_form.mustache000064400000003152152266502000011616 0ustar00{{! 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 . }} {{! @template core_calendar/modal_event_form Moodle modal template with save and cancel buttons. The purpose of this template is to render a modal. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * title A cleaned string (use clean_text()) to display. * body HTML content for the boday Example context (json): { "title": "Example save cancel modal", "body": "Some example content for the body" } }} {{< core/modal }} {{$footer}} {{/footer}} {{/ core/modal }} view_selector.mustache000064400000005155152266502000011155 0ustar00{{! 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 . }} {{! @template core_calendar/view_selector This template renders display dropdown. Example context (json): { "viewingmonth": true, "viewingday": false, "viewingupcoming": false } }}
    event_summary_body.mustache000064400000002770152266502000012216 0ustar00{{! 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 . }} {{! @template core_calendar/event_summary_body This template renders the body of calendar events summary modal. Example context (json): { "timestart": 1490320388, "description": "An random event description", "location": "13th floor, building 42", "eventtype": "User", "source": "Ical imported", "groupname": "Group 1" } }}
    {{> core_calendar/event_details }}
    humantimeperiod.mustache000064400000003666152266502000011502 0ustar00{{! 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 . }} {{! @template core_calendar/humantimeperiod Print a human readable time period. Example context (json): { "startdate": { "userdate": "2021-09-01", "date": "Tomorrow 12:00 AM", "timestamp": "1630512000", "ispast": false, "isnear": true, "nearicon": { "extraclasses": "me-0 pb-1", "attributes": [ {"name": "src", "value": "../../../pix/i/warning.svg"}, {"name": "alt", "value": "Warning"} ] }, "needtitle": true }, "enddate": { "userdate": "2021-09-01", "date": "Tomorrow 12:00 AM", "timestamp": "1630512000", "ispast": false, "isnear": true, "nearicon": { "extraclasses": "me-0 pb-1", "attributes": [ {"name": "src", "value": "../../../pix/i/warning.svg"}, {"name": "alt", "value": "Warning"} ] }, "needtitle": true } } }} {{#startdate}} {{> core_calendar/humandate }} {{/startdate}} {{#enddate}} » {{> core_calendar/humandate }} {{/enddate}} event_subscription.mustache000064400000002702152266502000012223 0ustar00{{! 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 . }} {{! @template core_calendar/event_subscription Calendar event subscription. The purpose of this template is to render the event subscription data. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#subscription}} {{#displayeventsource}}
    {{#subscriptionurl}}

    {{#str}}subscriptionsource, core_calendar, {{{subscriptionname}}}{{/str}}

    {{/subscriptionurl}} {{^subscriptionurl}}

    {{#str}}subscriptionsource, core_calendar, {{{subscriptionname}}}{{/str}}

    {{/subscriptionurl}}
    {{/displayeventsource}} {{/subscription}} upload_dialogue.mustache000064400000002224152266527330011447 0ustar00{{! 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 . }} {{! @template repository_googledocs/upload_dialogue Google repository upload dialogue. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
    {{#str}} attachedfiles, repository {{/str}}
      formselectall.mustache000064400000011746152266536300011154 0ustar00{{! 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 . }} {{! @template core_backup/formselectall Template that renders the "Select All/None" controls on the backup/restore UI. Example context (json): { "withuserdata": true, "modules": [ { "modname": "assign", "heading": "Assignments" }, { "modname": "book", "heading": "Books" } ] } }}
      {{#withuserdata}} {{/withuserdata}}
      blocksection.mustache000064400000004702152266575450011002 0ustar00{{! 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 . }} {{! @template block_social_activities/blocksection This mustache emulates a course single section structure inside a block. It requires to include several divs to emulate the structure of a course format. Example context (json): { "cmlist": "Sample", "siteid": 1, "sectionid": 1, "sectionname": "Sample", "sectionnum": 1, "editing": true } }}
      {{! The section list is used by the content module to init the sections.}}
      {{! The section need some bottom padding and margin for the dropzone. Otherwise the activities will cover the area. }}
      {{#editing}} {{! The section header is used as a dropzone when the section is empty.}}
       
      {{/editing}} {{{cmlist}}}
      {{#js}} {{! The block should be fast to load, we only load the editor when needed.}} {{#editing}} require(['core_courseformat/local/content'], function(component) { // We want to include both block content and block footer in the selector // because the footer has the add activity button. component.init('.block_social_activities', {}); }); {{/editing}} {{/js}} missing_capabilities.mustache000064400000002636152266576030012504 0ustar00{{! 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 . }} {{! @template core_webservice/missing_capabilities Display missing capabilities in Manage tokens system report Example context (json): { "missingcapabilities": [ { "capabilityname": "capabilityname", "capabilitylink": "capabilityname" } ], "helpicon": "" } }}
        {{#missingcapabilities}}
      • {{{link}}}
        {{name}}
      • {{/missingcapabilities}}
      {{{helpicon}}}
      form-user-selector-suggestion.mustache000064400000002741152266577470014252 0ustar00{{! 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 . }} {{! @template mod_forum/form-user-selector-suggestion Moodle template for the list of valid options in an autocomplate form element. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * fullname string Users full name * email string user email field Example context (json): { "fullname": "Admin User", "extrafields": [ { "name": "email", "value": "admin@example.com" }, { "name": "phone1", "value": "0123456789" } ] } }} {{fullname}} {{#extrafields}} {{value}} {{/extrafields}} core/user_menu.mustache000064400000011442152266601420011237 0ustar00{{! 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 . }} {{! @template core/user_menu Action link template. Context variables required for this template: * unauthenticateduseruser - (Optional) Items to be displayed if an an unautheticated user is accessing the site * content - The content to be displayed in the header. * url - The login url * items - Array of user menu items used in user_action_menu_items. Required if the above not provided. * metadata - Array of additional metadata to be displayed in the dropdown button. * avatardata - Array of avatars to be displayed. Usually only the current user's avatar. If viewing as another user, includes that user's avatar. * userfullname - The name of the logged in user * submenus - Array of submenus within the user menu. * id - The id of the submenu. * title - The title of the submenu. * items - Array of the submenu items used in core/user_action_menu_submenu_items. Example context (json): { "unauthenticateduser": { "content": "You are not logged in", "url": "https://yourmoodlesite/login/index.php" }, "items": [], "metadata": [], "avatardata": [], "userfullname": "Admin User", "submenus": [ { "id": "86cebd87", "title": "Submenu title", "items": [] } ] } }}
      {{#unauthenticateduser}} {{/unauthenticateduser}} {{^unauthenticateduser}} {{/unauthenticateduser}}
      {{#js}} require(['core/usermenu'], function(UserMenu) { UserMenu.init(); }); {{/js}} core/full_header.mustache000064400000004717152266601420011516 0ustar00{{! 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 . }} {{! @template core/full_header This template renders the header. Example context (json): { "contextheader": "context_header_html", "hasnavbar": false, "navbar": "navbar_if_available", "courseheader": "course_header_html", "welcomemessage": "welcomemessage" } }} navbar-secure.mustache000064400000003550152266601420011043 0ustar00{{! 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 . }} {{! @template theme_classic/navbar-secure This template renders the top navbar. Example context (json): { "output": { "should_display_navbar_logo": "true", "get_compact_logo_url": "http://example.com/image.png" }, "sitename": "Moodle Site" } }} secure.mustache000064400000010037152266601420007572 0ustar00{{! 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 . }} {{! @template theme_classic/secure Classic secure layout template. Context variables required for this template: * sitename - The name of the site * output - The core renderer for the page * bodyattributes - Attributes for the body tag as a string of html attributes * sidepreblocks - HTML for the pre blocks * sidepostblocks - HTML for the post blocks * haspreblocks - true if there are pre blocks on this page * haspostblocks - true if there are post blocks on this page * bodyattributes - attributes for the body tag as a string of html attributes Example context (json): { "sitename": "Moodle", "output": { "doctype": "", "page_title": "Test page", "favicon": "favicon.ico", "main_content": "

      Headings make html validators happier

      " }, "bodyattributes":"", "sidepreblocks": "

      Pre blocks html goes here

      ", "sidepostblocks": "

      Post blocks html goes here

      ", "haspreblocks":true, "haspostblocks":true, "bodyattributes": "" } }} {{> theme_boost/head }}
      {{{ output.standard_top_of_body_html }}} {{>theme_classic/navbar-secure}}
      {{! Secured full header }}
      {{{ output.course_content_header }}} {{#headercontent}} {{> core/activity_header }} {{/headercontent}} {{{ output.main_content }}} {{{ output.course_content_footer }}}
      {{{ sidepreblocks }}}
      {{{ sidepostblocks }}}
      {{{ output.standard_end_of_body_html }}}
      {{#js}} M.util.js_pending('theme_boost/loader'); require(['theme_boost/loader'], function() { M.util.js_complete('theme_boost/loader'); }); {{/js}} columns.mustache000064400000007663152266601420007777 0ustar00{{! 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 . }} {{! @template theme_classic/columns Admin time setting template. Classic 1-3 column layout template. Context variables required for this template: * sitename - The name of the site * output - The core renderer for the page * bodyattributes - attributes for the body tag as a string of html attributes * sidepreblocks - HTML for the blocks * hasblocks - true if there are blocks on this page * regionmainsettingsmenu - HTML for the region main settings menu * hasregionmainsettingsmenu - There is a region main settings menu on this page. Example context (json): { "sitename": "Moodle", "output": { "doctype": "", "page_title": "Test page", "favicon": "favicon.ico", "main_content": "

      Headings make html validators happier

      " }, "bodyattributes":"", "sidepreblocks": "

      Blocks html goes here

      ", "sidepostblocks": "

      Blocks html goes here

      ", "haspreblocks":true, "haspostblocks":true } }} {{> theme_boost/head }}
      {{{ output.standard_top_of_body_html }}} {{>theme_classic/navbar}}
      {{{ output.full_header }}}
      {{#hasregionmainsettingsmenu}}
      {{{ output.region_main_settings_menu }}}
      {{/hasregionmainsettingsmenu}}
      {{#hasregionmainsettingsmenu}}
      {{/hasregionmainsettingsmenu}} {{{ output.course_content_header }}} {{#headercontent}} {{> core/activity_header }} {{/headercontent}} {{{ output.main_content }}} {{{ output.activity_navigation }}} {{{ output.course_content_footer }}}
      {{{ sidepreblocks }}}
      {{{ sidepostblocks }}}
      {{{ output.standard_after_main_region_html }}} {{> theme_classic/footer }}
      {{#js}} M.util.js_pending('theme_boost/loader'); require(['theme_boost/loader'], function() { M.util.js_complete('theme_boost/loader'); }); {{/js}} contentonly.mustache000064400000004751152266601420010666 0ustar00{{! 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 . }} {{! @template theme_classic/contentonly Classic 1 column layout template. Context variables required for this template: * sitename - The name of the site * output - The core renderer for the page * bodyattributes - attributes for the body tag as a string of html attributes Example context (json): { "sitename": "Moodle", "output": { "doctype": "", "page_title": "Test page", "favicon": "favicon.ico", "main_content": "

      Headings make html validators happier

      " }, "bodyattributes":"" } }} {{{ output.doctype }}} {{{ output.page_title }}} {{{ output.standard_head_html }}}
      {{{ output.standard_top_of_body_html }}}
      {{{ output.course_content_header }}} {{#headercontent}} {{> core/activity_header }} {{/headercontent}} {{{ output.main_content }}} {{{ output.activity_navigation }}} {{{ output.course_content_footer }}}
      {{{ output.standard_end_of_body_html }}} {{#js}} M.util.js_pending('theme_boost/loader'); require(['theme_boost/loader'], function() { M.util.js_complete('theme_boost/loader'); }); {{/js}} navbar.mustache000064400000005102152266601420007552 0ustar00{{! 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 . }} {{! @template theme_classic/navbar This template renders the top navbar. Example context (json): { "output": { "should_display_navbar_logo": true, "get_compact_logo_url": "http://example.com/image.png", "custom_menu": "
    • ..
    • ", "page_heading_menu": "
    • ..
    • ", "search_box": "
      ", "navbar_plugin_output": "", "user_menu": "" }, "config": { "wwwroot": "#", "homeurl": "/my/" }, "sitename": "Moodle Site" } }} footer.mustache000064400000006212152266601420007602 0ustar00{{! 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 . }} {{! @template theme_classic/footer Page footer. Example context (json): { "output": { "course_footer": "More information about this course", "page_doc_link": "Documentation for this page", "login_info": "You are logged in as cute kitten", "supportemail": "Contact site support", "services_support_link": "Services and support" } } }}
      modal_gateways.mustache000064400000002762152266604720011320 0ustar00{{! 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 . }} {{! @template core_payment/modal_gateways Moodle modal template with save and cancel buttons. The purpose of this template is to render a modal. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * title A cleaned string (use clean_text()) to display. * body HTML content for the boday Example context (json): { "title": "Example gateways modal", "body": "Some example content for the body" } }} {{< core/modal }} {{$footer}} {{/footer}} {{/ core/modal }} gateway.mustache000064400000003302152266604720007750 0ustar00{{! 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 . }} {{! @template core_payment/gateway This template will render the gateway option in the gateway selector modal. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * shortname * name * description * surcharge * image Example context (json): { "shortname": "paypal", "name": "PayPal", "description": "A description for PayPal.", "surcharge": "3" } }}
      gateways_modal.mustache000064400000002376152266604720011321 0ustar00{{! 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 . }} {{! @template core_payment/gateways_modal This template will render the gateway selector modal. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): {} }}
      {{> core_payment/gateways_placeholder }}
      gateways_placeholder.mustache000064400000002623152266604720012502 0ustar00{{! 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 . }} {{! @template core_payment/gateways_placeholder Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): {} }}
      gateways.mustache000064400000003113152266604720010133 0ustar00{{! 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 . }} {{! @template core_payment/gateways This template will render the list of gateways in the gateway selector modal. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * gateways Example context (json): { "gateways" : [ { "shortname": "paypal", "name": "PayPal", "description": "A description for PayPal.", "image": "../../../pix/help.svg" }, { "shortname": "stripe", "name": "Stripe", "description": "A description for Stripe.", "image": "../../../pix/help.svg" } ] } }} {{#gateways}} {{> core_payment/gateway }} {{/gateways}} {{^gateways}}

      {{#str}}nogateway, core_payment{{/str}}

      {{/gateways}}fee_breakdown.mustache000064400000002035152266604720011104 0ustar00{{! 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 . }} {{! @template core_payment/fee_breakdown Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * surchargestr Example context (json): { "surchargestr": "Cost: $10.00" } }}
      {{surchargestr}}
      view_penalty_rule_action_bar.mustache000064400000004270152266631350014231 0ustar00{{! 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 . }} {{! @template gradepenalty_duedate/penalty_rule_action_bar Actions bar for the penalty rule page. Example context (json): { "title": "Penalty rule", "editbutton": { "id": "single_button123", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Edit", "attributes": [] }, "resetbutton": { "id": "single_button456", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Reset", "attributes": [] }, "info": { "message": "This is a notification message.", "classes": "alert-info" } } }}
      {{{title}}}
      {{#info}} {{>core/notification}} {{/info}}
      edit_penalty_rule_action_bar.mustache000064400000003643152266631350014207 0ustar00{{! 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 . }} {{! @template gradepenalty_duedate/penalty_rule_action_bar Actions bar for the penalty rule page. Example context (json): { "title": "Penalty rule", "deleteallrulebutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Reset", "attributes": [] }, "info": { "message": "This is a notification message.", "classes": "alert-info" } } }}
      {{{title}}}
      linked_glossary_entry.mustache000064400000004402152266744010012720 0ustar00{{! 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 . }} {{! @template filter_glossary/linked_glossary_entry Renders the linked glossary entry. Context variables required for this template: * definition - The definition of the linked glossary entry. * taglistdata - The data for the tag list related to the linked glossary entry. * hasattachments - Whether the linked glossary entry has attachments. * attachments - The data for the attachments related to the linked glossary entry. Example context (json): { "definition": 1, "taglistdata": { "tags": [ { "id": 1, "name": "Cats", "viewurl": "http://moodle.org/tag/index.php?tag=Cats", "isstandard": true, "flag": 0 } ], "label": "Tags", "tagscount": 1, "overflow": false }, "hasattachments": true, "attachments": [ { "filename": "example.jpg", "fileurl": "www.example.com/example.jpg", "icon": "f/image" } ] } }}

      {{{definition}}}

      {{#taglistdata}}
      {{> core_tag/taglist }}
      {{/taglistdata}} {{#hasattachments}} {{#str}} attachments, filter_glossary {{/str}}:
        {{#attachments}}
      • {{#pix}} {{icon}}, core {{/pix}} {{filename}}
      • {{/attachments}}
      {{/hasattachments}} defaulttemplate_asearchtemplate.mustache000064400000003767152267007540014726 0ustar00{{! 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 . }} {{! @template mod_data/defaulttemplate_asearchtemplate Default template for the advanced search view in the database activity. Context variables required for this template: * fields - The database fields to display Example context (json): { "fields": [ { "fieldname": "Field1", "fieldcontent": "[[Field1]]" }, { "fieldname": "Field2", "fieldcontent": "[[Field2]]" } ] } }}
      {{#str}}authorfirstname, mod_data{{/str}}
      ##firstname##
      {{#str}}authorlastname, mod_data{{/str}}
      ##lastname##
      {{#fields}}
      {{fieldname}}
      {{{fieldcontent}}}
      {{/fields}} {{#tags}}
      {{#str}}tags{{/str}}
      {{.}}
      {{/tags}}
      template_editor_tools.mustache000064400000011212152267007540012705 0ustar00{{! 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 . }} {{! @template mod_data/template_editor_tools Tag tool box for the template editor in the mod_data. Example context (json): { "toolshelp": "Available tags", "hastools": true, "tools": [ { "name": "Fields", "tags": [ { "tag": "[[Checkme]]", "tagname": "Checkme - [[Checkme]]" }, { "tag": "[[Description]]", "tagname": "Description - [[Description]]" }, { "tag": "[[Name]]", "tagname": "Name - [[Name]]" } ] }, { "name": "Actions", "tags": [ { "tag": "##actionsmenu##", "tagname": "Actions menu - ##actionsmenu##" }, { "tag": "##edit##", "tagname": "Edit - ##edit##" }, { "tag": "##delete##", "tagname": "Delete - ##delete##" }, { "tag": "##approve##", "tagname": "Approve - ##approve##" }, { "tag": "##disapprove##", "tagname": "Undo approval - ##disapprove##" }, { "tag": "##export##", "tagname": "Export - ##export##" }, { "tag": "##more##", "tagname": "More - ##more##" }, { "tag": "##moreurl##", "tagname": "More URL - ##moreurl##" }, { "tag": "##delcheck##", "tagname": "Bulk delete checkbox - ##delcheck##" } ] }, { "name": "Other", "tags": [ { "tag": "##tags##", "tagname": "Tags - ##tags##" }, { "tag": "##timeadded##", "tagname": "Time added - ##timeadded##" }, { "tag": "##timemodified##", "tagname": "Time modified - ##timemodified##" }, { "tag": "##user##", "tagname": "User - ##user##" }, { "tag": "##userpicture##", "tagname": "User picture - ##userpicture##" }, { "tag": "##approvalstatus##", "tagname": "Approval status - ##approvalstatus##" }, { "tag": "##id##", "tagname": "Entry ID - ##id##" }, { "tag": "##comments##", "tagname": "Comments - ##comments##" } ] } ] } }} {{#hastools}}
      {{{toolshelp}}}
      {{/hastools}} template_editor.mustache000064400000007777152267007540011512 0ustar00{{! 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 . }} {{! @template mod_data/template_editor Template editor in the database activity. Example context (json): { "title": "Defines browsing interface for multiple entries", "sesskey": "XXXXX", "disableeditor": true, "url": {}, "usehtmleditor": true, "toolbar": { "toolshelp": "Available tags help", "hastools": true, "tools": [ { "name": "Fields", "tags": [ { "tag": "[[Checkme]]", "tagname": "Checkme - [[Checkme]]" }, { "tag": "[[Description]]", "tagname": "Description - [[Description]]" }, { "tag": "[[Name]]", "tagname": "Name - [[Name]]" } ] } ] }, "editors": [ { "name": "Header", "fieldname": "listtemplateheader", "value": "" }, { "name": "Repeated entry", "fieldname": "listtemplate", "value": "Template content" }, { "name": "Footer", "fieldname": "listtemplatefooter", "value": "" } ] } }}
      {{title}}
      {{#toolbar}} {{> mod_data/template_editor_tools }} {{/toolbar}}
      {{#editors}}
      {{/editors}}
      {{#disableeditor}}
      {{/disableeditor}} {{< core/sticky_footer }} {{$ stickycontent }}
      {{/ stickycontent }} {{/ core/sticky_footer }}
      defaulttemplate_singletemplate.mustache000064400000005226152267007540014571 0ustar00{{! 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 . }} {{! @template mod_data/defaulttemplate_singletemplate Default template for the single view page in the database activity. Context variables required for this template: * fields - The database fields to display Example context (json): { "fields": [ { "fieldname": "Field1", "fieldcontent": "[[Field1]]" }, { "fieldname": "Field2", "fieldcontent": "[[Field2]]" } ] } }}
      ##userpicture##
      ##user##
      ##timeadded##
      {{#str}}datemodified, mod_data{{/str}} ##timemodified##
      ##actionsmenu##
      ##approvalstatus##

      {{#fields}}
      {{fieldname}}

      {{{fieldcontent}}}

      {{/fields}} ##otherfields## {{#tags}}
      {{#str}}tags{{/str}}

      {{.}}

      {{/tags}}
      template_editor_resetmodal.mustache000064400000002231152267007540013705 0ustar00{{! 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 . }} {{! @template mod_data/template_editor_resetmodal Reset template modal content. Example context (json): { "resetallname": "resetallcheck" } }}

      {{#str}} resettemplateconfirm, mod_data, {{templatename}} {{/str}}

      defaulttemplate_rsstemplate.mustache000064400000002750152267007540014116 0ustar00{{! 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 . }} {{! @template mod_data/defaulttemplate_rsstemplate Default template for the RSS page in the database activity. Context variables required for this template: * fields - The database fields to display Example context (json): { "fields": [ { "fieldname": "Field1", "fieldcontent": "[[Field1]]" }, { "fieldname": "Field2", "fieldcontent": "[[Field2]]" } ] } }}
      {{#fields}}
      {{fieldname}}

      {{{fieldcontent}}}

      {{/fields}}
      save_as_preset.mustache000064400000002433152267007540011314 0ustar00{{! 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 . }} {{! @template mod_data/save_as_preset Trigger button for the save as preset modal form. Classes required for JS: * none Data attributes required for JS: * All data attributes are required Context variables required for this template: * d - The database id. Example context (json): { "d": 1 } }} {{#js}} require(['mod_data/saveaspreset'], function(saveAsPreset) { saveAsPreset.init(); }); {{/js}} fields_footer.mustache000064400000002210152267007540011126 0ustar00{{! 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 . }} {{! @template mod_data/fields_footer The mod_data fields sticky footer content. Example context (json): { "pageurl": "http://yoursite/mod/data/field.php" } }} {{< core/sticky_footer }} {{$ stickyclasses }} justify-content-start{{/ stickyclasses }} {{$ stickycontent }} {{/ stickycontent }} {{/ core/sticky_footer }} fields_otherfields.mustache000064400000002271152267007540012147 0ustar00{{! 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 . }} {{! @template mod_data/fields_otherfields The ##otherfields## template. Example context (json): { "fieldname": "This is the field name", "fieldcontent": "This is the field name", "classes": "added_fields" } }}
      {{#fields}}
      {{fieldname}}

      {{{fieldcontent}}}

      {{/fields}}
      view_footer.mustache000064400000003050152267007540010635 0ustar00{{! 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 . }} {{! @template mod_data/view_footer The mod_data sticky footer content. Example context (json): { "selectall": "", "deleteselected": "", "pagination": "1, 2, 3...", "addentrybutton": { "disabled": false, "url": "#", "id": "test-id", "classes": "btn btn-link", "attributes": [ { "name": "title", "value": "Add entry" } ], "text": "Add" } } }} {{#selectall}} {{/selectall}} {{#addentrybutton}} {{/addentrybutton}} templates_action_bar.mustache000064400000006724152267007540012477 0ustar00{{! 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 . }} {{! @template mod_data/templates_action_bar Actions bar at the top of the template pages in the database activity. Context variables required for this template: * d - The database id. * selectmenu - The data object containing the required properties to render core/selectmenu. * actionsselect - The presets actions selector. Example context (json): { "d": 1, "selectmenu": { "name": "Templates tertiary navigation selector", "value": "opt", "baseid": "select-menu1", "selectedoption": "Single view template", "options": [ { "selected": false, "name": "Add entry template", "id": "select-menu-group1" }, { "selected": true, "name": "Single view template", "value": "opt2", "id": "select-menu-option2" } ] }, "actionsselect": { "classes": "moodle-actionmenu", "instance": "1", "triggerrole": "button", "primary": { "attributes": [ {"name": "id", "value": "action-menu-1"}, {"name": "role", "value": "menu"} ], "items": [ { "attributes": [ {"name": "role", "value": "menuitem"} ], "rawhtml": "Actions" } ] }, "secondary": { "attributes": [ {"name": "id", "value": "action-menu-1-menu"}, {"name": "role", "value": "menuitem"} ], "items": [ { "rawhtml": "Import preset" }, { "rawhtml": "Export preset" } ] } } } }}
      {{#actionsselect}} {{/actionsselect}}

      {{#js}} require(['mod_data/saveaspreset', 'mod_data/resetalltemplates'], function(saveAsPreset, resetAll) { saveAsPreset.init(); resetAll.init(); }); {{/js}} view_noentries.mustache000064400000004605152267007540011354 0ustar00{{! 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 . }} {{! @template mod_data/view_noentries Form containing all database presets displayed within a table. Context variables required for this template: * noitemsimgurl - The image url. * importentriesbutton stdClass - Import entries single button to be rendered * addentrybutton stdClass - Add entry single button to be rendered Example context (json): { "noitemsimgurl": "https://moodlesite/theme/image.php/boost/mod_data/1535727318/nofields", "importentriesbutton": { "id" : "id1", "method" : "get", "url" : "#", "primary" : false, "tooltip" : "This is a tooltip", "label" : "Button1", "attributes": [ { "name": "data-attribute", "value": "no" } ] }, "addentrybutton": { "id" : "id2", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] } } }}
      {{#str}} norecords, mod_data {{/str}}
      {{#importentriesbutton}} {{> core/single_button }} {{/importentriesbutton}} {{#addentrybutton}} {{> core/single_button }} {{/addentrybutton}}
      presets.mustache000064400000011073152267007540007776 0ustar00{{! 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 . }} {{! @template mod_data/presets Form containing all database presets displayed within a table. Context variables required for this template: * formactionurl - The form action url. * id - The database course module id (cmid). * presets - List of presets containing id, name, fullname, shortname and actions. Example context (json): { "formactionurl": "http://www.example.com", "id": 1, "presets": [ { "id": 1, "cmid": 1, "name": "Image gallery", "shortname": "imagegallery", "fullname": "Image gallery", "description": "Use this preset to collect images", "userid": 0, "url": "http://www.example.com", "actions": [], "presetindex": 0 }, { "id": 2, "cmid": 2, "name": "Preset saved manually", "shortname": "Preset saved manually", "fullname": "Preset saved manually (admin)", "userid": 2, "url": "http://www.example.com", "actions": [], "presetindex": 1 } ] } }} {{#str}}presetshelp, mod_data{{/str}}
      {{#str}}presets, mod_data{{/str}} {{#presets}} {{/presets}}
      {{#str}}select{{/str}} {{#str}} name {{/str}} {{#str}} description {{/str}} {{#str}}actions{{/str}}
      {{fullname}} {{description}} {{#actions}}
      {{>core/action_menu}}
      {{/actions}}
      {{< core/sticky_footer }} {{$ stickycontent }} {{/ stickycontent }} {{/ core/sticky_footer }}
      {{#js}} require(['mod_data/selectpreset'], function(selectPreset) { selectPreset.init(); }); require(['mod_data/editpreset'], function(editPreset) { editPreset.init(); }); require(['mod_data/importmappingdialogue'], function(importPreset) { importPreset.init(); }); {{/js}} fields_mapping_body.mustache000064400000003311152267007540012303 0ustar00{{! 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 . }} {{! @template mod_data/fields_mapping_body Display a modal to decide on field mapping Example context (json): { "presetname": "Image gallery", "fieldstocreate": "A, B, C", "fieldstodelete": "A, B, C", "cancelbutton": "", "mapfieldsbutton": "", "applybutton": "" } }}
      {{#fieldstocreate}}
      {{#str}}mapping:fieldstocreate, mod_data, {{.}}{{/str}}
      {{/fieldstocreate}} {{#fieldstoremove}}
      {{#str}}mapping:fieldstodelete, mod_data, {{.}}{{/str}}
      {{#fieldstocreate}}
      {{#str}}mapping:warningmessagedeleteandcreate, mod_data{{/str}}
      {{/fieldstocreate}} {{^fieldstocreate}}
      {{#str}}mapping:warningmessagedelete, mod_data{{/str}}
      {{/fieldstocreate}} {{/fieldstoremove}}
      view_action_bar.mustache000064400000007065152267007540011452 0ustar00{{! 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 . }} {{! @template mod_data/view_action_bar Actions bar at the top of the view pages in the database activity. Context variables required for this template: * urlselect - The data object containing the required properties to render core/url_select. * actionsselect - The presets actions selector. Example context (json): { "urlselect": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "classes": "urlselect", "label": "", "helpicon": false, "showbutton": null, "options": [ { "name": "List view", "value": "/mod/data/someurl.php", "selected": false }, { "name": "Single view", "value": "/mod/data/someurl.php", "selected": true } ], "disabled": false, "title": null }, "actionsselect": { "classes": "moodle-actionmenu", "instance": "1", "triggerrole": "button", "primary": { "attributes": [ {"name": "id", "value": "action-menu-1"}, {"name": "role", "value": "menu"} ], "items": [ { "attributes": [ {"name": "role", "value": "menuitem"} ], "rawhtml": "Actions" } ] }, "secondary": { "attributes": [ {"name": "id", "value": "action-menu-1-menu"}, {"name": "role", "value": "menuitem"} ], "items": [ { "rawhtml": "Import entries" }, { "rawhtml": "Export entries" } ] } } } }}
      {{#addentrybutton}} {{/addentrybutton}}
      {{#urlselect}} {{/urlselect}}
      {{#actionsselect}} {{/actionsselect}}

      fields/requiredfield.mustache000064400000002617152267007540012407 0ustar00{{! 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 . }} {{! @template mod_data/fields/requiredfield The purpose of this template is to enable the user to define the 'required' field. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "required": false } }}
      fields/basicfields.mustache000064400000003356152267007540012034 0ustar00{{! 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 . }} {{! @template mod_data/fields/basicfields The purpose of this template is to enable the user to define the two values which every field has. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * name string The field's name. * description string The field's description. Example context (json): { "name": "A name", "description": "A description" } }}
      preset_preview.mustache000064400000003562152267007540011360 0ustar00{{! 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 . }} {{! @template mod_data/preset_preview The preset preview. Example context (json): { "formactionurl": "#", "cmid": "42", "description": "Preset description", "preview": "

      The preset preview HTML

      ", "userid": "0", "shortname": "imagegallery" } }}
      {{{preview}}}
      {{< core/sticky_footer }} {{$ stickycontent }}
      {{/ stickycontent }} {{/ core/sticky_footer }} {{#js}} require(['mod_data/importmappingdialogue'], function(importPreset) { importPreset.init(); }); {{/js}} presets_action_bar.mustache000064400000005222152267007540012156 0ustar00{{! 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 . }} {{! @template mod_data/presets_action_bar Actions bar at the top of the presets page in the database activity. Context variables required for this template: * actionsselect - The presets actions selector. * id - The database course module id (cmid). Example context (json): { "actionsselect": { "classes": "moodle-actionmenu", "instance": "1", "triggerrole": "button", "primary": { "attributes": [ {"name": "id", "value": "action-menu-1"}, {"name": "role", "value": "menu"} ], "items": [ { "attributes": [ {"name": "role", "value": "menuitem"} ], "rawhtml": "Actions" } ] }, "secondary": { "attributes": [ {"name": "id", "value": "action-menu-1-menu"}, {"name": "role", "value": "menuitem"} ], "items": [ { "rawhtml": "Import preset" }, { "rawhtml": "Export preset" } ] } }, "id" : 1 } }}

      {{#str}}presets, mod_data{{/str}}

      {{#actionsselect}} {{/actionsselect}}

      {{#js}} require(['mod_data/saveaspreset', 'mod_data/importpresets'], (saveAsPreset, importPresets) => { saveAsPreset.init(); importPresets.init(); }); {{/js}} fields_action_bar.mustache000064400000005570152267007540011745 0ustar00{{! 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 . }} {{! @template mod_data/fields_action_bar Actions bar at the top of the field pages in the database activity. Context variables required for this template: * d - The database id. * fieldselect - The data object containing the required properties to render core/single_select. Example context (json): { "tertiarytitle": "Manage fields", "fieldselect": { "id": "single_select_test", "name": "fieldselector", "method": "get", "action": "https://example.com/post", "formid": "single_select_form", "sesskey": "sesskey", "classes": "singleselect", "label": "", "helpicon": false, "options": [ { "name": "Some name", "value": "somevalue", "selected": false, "optgroup": false } ], "disabled": false, "title": null }, "hasback" : true, "backurl": "https://moodlesite.com/mod/data/preset.php", "backtitle": "Back" } }}
      {{#hasback}} {{/hasback}} {{#urlselect}} {{/urlselect}} {{#tertiarytitle}} {{/tertiarytitle}}
      {{#fieldselect}} {{/fieldselect}}

      fields_mapping_footer.mustache000064400000002366152267007540012655 0ustar00{{! 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 . }} {{! @template mod_data/fields_mapping_footer Display a modal to decide on field mapping Example context (json): { "mapfieldsbutton": "", "applybutton": "" } }} {{#str}} mapping:mapfields, mod_data {{/str}} {{#str}} mapping:applypresets, mod_data {{/str}} defaulttemplate_listtemplate.mustache000064400000005125152267007540014261 0ustar00{{! 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 . }} {{! @template mod_data/defaulttemplate_listtemplate Default template for the list view page in the database activity. Context variables required for this template: * fields - The database fields to display Example context (json): { "fields": [ { "fieldname": "Field1", "fieldcontent": "[[Field1]]" }, { "fieldname": "Field2", "fieldcontent": "[[Field2]]" } ] } }}
      ##userpicture##
      ##user##
      ##timeadded##
      {{#str}}datemodified, mod_data{{/str}} ##timemodified##
      ##actionsmenu##
      ##approvalstatus##

      {{#fields}}
      {{fieldname}}
      {{{fieldcontent}}}
      {{/fields}} {{#tags}}
      {{#str}}tags{{/str}}

      {{.}}

      {{/tags}}
      defaulttemplate_addtemplate.mustache000064400000003065152267007540014037 0ustar00{{! 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 . }} {{! @template mod_data/defaulttemplate_addtemplate Default template for the add page in the database activity. Context variables required for this template: * fields - The database fields to display Example context (json): { "fields": [ { "fieldname": "Field1", "fieldcontent": "[[Field1]]" }, { "fieldname": "Field2", "fieldcontent": "[[Field2]]" } ] } }}
      {{#fields}}
      {{fieldname}}
      {{{fieldcontent}}}
      {{/fields}} ##otherfields## {{#tags}}
      {{#str}}tags{{/str}}
      {{{.}}}
      {{/tags}}
      modal_add_random_question.mustache000064400000004635152267015270013511 0ustar00{{! 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 . }} {{! @template mod_quiz/modal_add_random_question Modal for adding a random question to a quiz activity. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * title A cleaned string (use clean_text()) to display. * body HTML content for the boday Example context (json): { "title": "Example modal", "body": "Some example content for the body" } }} {{< core/modal }} {{$body}}
      {{> core/loading }}
      {{#hidden}}
      {{/hidden}}
      {{/body}} {{/ core/modal }} list_of_attempts.mustache000064400000005210152267015270011664 0ustar00{{! 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 . }} {{! @template mod_quiz/list_of_attempts This template renders summary information about a list of quiz attempts. The structure for each attempt should be what is required by mod_quiz/attempt_summary_information. Example context (json): { "hasattempts": true, "attempts": [ { "name": "Attempt 1", "reviewlink": "Review", "summarydata": { "hasitems": true, "items": [ { "title": "It is me!", "content": "Sam Student" }, {"title": "Status", "content": "Finished"}, {"title": "Started", "content": "Thursday, 23 November 2023, 9:29 AM"}, {"title": "Completed", "content": "Thursday, 23 November 2023, 9:32 AM"}, {"title": "Duration", "content": "3 minutes"}, {"title": "Grade", "content": "Not yet graded"} ] } } ] } }} {{#hasattempts}}

      {{# str}}summaryofattempts, quiz{{/str}}

        {{#attempts}}
      • {{name}}

        {{#summarydata}} {{> mod_quiz/attempt_summary_information}} {{/summarydata}}
        {{{reviewlink}}}
      • {{/attempts}}
      {{/hasattempts}} edit_nav_actions.mustache000064400000003436152267015270011625 0ustar00{{! 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 . }} {{! @template mod_quiz/edit_nav_actions Actions bar at the top of the various quiz edit pages. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * overridesnav - must alwasy be present. * addoverridebutton - should only be present if the user has permission to add a new override. Example context (json): { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "navmenu": { "options": [{ "name": "Questions", "value": "/mod/quiz/edit.php?cmid=123" }, { "name": "Complex grading", "value": "/mod/quiz/editgrading.php?cmid=123" } ] } } }}
      {{#navmenu}} {{/navmenu}}
      submission_confirmation.mustache000064400000002326152267015270013254 0ustar00{{! 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 . }} {{! @template mod_quiz/submission_confirmation Submission confirmation dialogue template Example context (json): { "hasunanswered": false, "totalunanswered": 0 } }}
      {{#str}} confirmclose, mod_quiz {{/str}}
      {{#hasunanswered}}
      {{#str}} submission_confirmation_unanswered, mod_quiz, {{totalunanswered}} {{/str}}
      {{/hasunanswered}}
      overrides_actions.mustache000064400000005243152267015270012034 0ustar00{{! 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 . }} {{! @template mod_quiz/overrides_actions Actions bar at the top of the overrides page UI. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * overridesnav - must alwasy be present. * addoverridebutton - should only be present if the user has permission to add a new override. Example context (json): { "overridesnav": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "options": [{ "name": "User overrides", "value": "/mod/quiz/overrides.php?cmid=71&mode=user" }, { "name": "Group overrides", "value": "/mod/quiz/overrides.php?cmid=71&mode=group" } ], "disabled": false, "title": "Some cool title" }, "addoverridebutton": { "id": "single_button1234", "type": "primary", "method": "get", "url": "http://localhost/moodle/mod/quiz/overrideedit.php", "label": "Add user override", "classes": "singlebutton", "disabled": false, "params": [ { "name": "cmid", "value": "73" }, { "name": "action", "value": "adduser" } ] } } }}
      {{#overridesnav}} {{/overridesnav}} {{#addoverridebutton}} {{/addoverridebutton}}
      switch_bank_header.mustache000064400000002642152267015270012116 0ustar00{{! 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 . }} {{! @template mod_quiz/switch_bank_header Template for showing the currently selected bank as a header with a switch bank button. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * title A cleaned string (use clean_text()) to display. * body HTML content for the boday Example context (json): { "currentbank": "Quiz 1" } }}
      {{#str}}currentbank, mod_quiz, {{currentbank}} {{/str}}
      add_random_question_form.mustache000064400000013026152267015270013352 0ustar00{{! 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 . }} {{! @template mod_quiz/add_random_question_form From to add random questions. Example context (json): { "returnurl": "http://example.com", "randomoptions": [ {"name": "1", "value": "1"}, {"name": "2", "value": "2"} ], "questioncategoryoptions": { "label": "Category 1", "options": [ {"name": "Category 2", "value": "1"}, {"name": "Category 3", "value": "2"} ] }, "questioncategoryhelp": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon": { "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "questionbank": "
      Question bank HTML goes here
      " } }}
      {{^slotid}} {{#str}} randomfromexistingcategory, mod_quiz {{/str}} {{/slotid}} {{{questionbank}}} {{^slotid}} {{/slotid}}
      {{^slotid}}
      {{#str}} randomquestionusinganewcategory, mod_quiz {{/str}}
      {{#questioncategoryhelp}} {{>core/help_icon}} {{/questioncategoryhelp}}
      {{/slotid}}
      question_chooser.mustache000064400000001623152267015270011701 0ustar00{{! 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 . }} {{! Question chooser. }} {{> core/chooser }} {{#js}} require([ 'core/yui' ], function(Y) { Y.use('moodle-mod_quiz-questionchooser', function() { M.mod_quiz.init_questionchooser(); }); }); {{/js}} update_filter_condition_form.mustache000064400000003026152267015270014227 0ustar00{{! 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 . }} {{! @template mod_quiz/update_filter_condition_form From to add random questions. Example context (json): { "questionbank": "
      Question bank HTML goes here
      ", "returnurl": "https://example.com", "cmid": "1234", "slotid": "5678" } }}
      {{{questionbank}}}
      random_question_container.mustache000064400000001620152267015270013556 0ustar00{{! 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 . }} {{! @template mod_quiz/random_question_container Container for list of filtered questions. Example context (json): { } }}
      random_question_form_preview_question_list.mustache000064400000003344152267015270017267 0ustar00{{! 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 . }} {{! @template mod_quiz/random_question_form_preview_question_list A preview section for the list of questions that match the random question criteria in the random question form. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * title A cleaned string (use clean_text()) to display. * body HTML content for the boday Example context (json): { "questions": [ { "name":"Example question 1" }, { "name":"Example question 2" }, { "name":"Example question 3" }, { "name":"Example question 4" } ] } }}
        {{#questions}}
      • {{#icon}}{{#pix}} {{key}}, {{component}}, {{{alttext}}} {{/pix}}{{/icon}} {{{name}}}
      • {{/questions}}
      question_slot.mustache000064400000006676152267015270011235 0ustar00{{! 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 . }} {{! @template mod_quiz/question_slot This template renders the question slot content. Example context (json): { "slotid": "1", "canbeedited": true, "checkbox": "", "questionnumber": "Question 1", "questionname": "This is a test question", "questionicons": "", "questiondependencyicon": "", "versionselection": true, "draftversion": false, "bankname": "Question bank 1", "issharedbank": true, "bankurl": "http://example.com/question/edit.php?cmid=1&cat=1%2C1", "versionoptions": [], "versionoption": [ { "versionid": 0, "version": 0, "versionvalue": "Always latest", "selected": true }, { "versionid": "1", "version": "1", "questionid": "1", "selected": false, "versionvalue": "v1 (latest)" } ] } }}
      {{{checkbox}}} {{{questionnumber}}}
      {{{questionname}}}
      {{#issharedbank}} {{/issharedbank}}
      {{#versionselection}} {{/versionselection}} {{{questionicons}}}
      {{#canbeedited}} {{{questiondependencyicon}}} {{/canbeedited}}
      {{#draftversion}} {{/draftversion}} timer.mustache000064400000002351152267015270007427 0ustar00{{! 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 . }} {{! @template mod_quiz/timer Login page template Example context (json): { } }}
      {{#str}} timeleft, quiz {{/str}}
      edit_grading_page.mustache000064400000017306152267015270011731 0ustar00{{! 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 . }} {{! @template mod_quiz/edit_grading_page Display the Quiz complex grading page, from below tertiary nav, to above the footer. Classes required for JS: * none. Data attributes required for JS: * Many. See mod_quiz/edit_grading module. Context variables required for this template: * TBC Example context (json): { "quizid": 42, "hasgradeitems": true, "gradeitems": [ { "id": 123, "sortorder": 1, "name": "Reading & writing", "displayname": "Reading & writing", "summarks": "10.00", "isused": true } ], "hasslots": true, "sections": [ { "displayname": "Section title", "slots": [ { "id": 234, "displaynumber": "1", "displayname": "Question name", "maxmark": "10.00", "choices": [ { "id": 0, "choice": "[none]", "isselected": false }, { "id": 123, "choice": "Reading & writing", "isselected": true } ] } ] } ], "nogradeitems": { "message": "This quiz does not yet have any grade items defined." }, "noslots": { "message": "No questions have been added to the quiz yet. Please add the questions to the quiz before setting up grading." } } }}

      {{#str}} gradeitemsetup, quiz {{/str}}

      {{^hasgradeitems}} {{#nogradeitems}} {{> core/notification_info}} {{/nogradeitems}} {{/hasgradeitems}} {{#hasgradeitems}} {{#gradeitems}} {{/gradeitems}}
      {{#str}} gradeitems, grades {{/str}}
      {{#str}} gradeitem, grades {{/str}} {{#str}} totalmarks, quiz {{/str}} {{#str}} actions {{/str}}
      {{{displayname}}} {{#pix}}t/editstring, core{{/pix}} {{summarks}} {{^isused}} {{#pix}} t/delete, core, {{#str}} gradeitemdelete, quiz, {{{name}}} {{/str}} {{/pix}} {{/isused}}
      {{/hasgradeitems}}
      {{^hasgradeitems}} {{#hasmultiplesections}} {{/hasmultiplesections}} {{/hasgradeitems}}

      {{#str}} gradeitemmarkscheme, quiz {{/str}}

      {{^hasslots}} {{#noslots}} {{> core/notification_info}} {{/noslots}} {{/hasslots}} {{#hasslots}} {{#sections}} {{#slots}} {{/slots}} {{/sections}}
      {{#str}} gradeitemmarkscheme, quiz {{/str}}
      {{#str}} numberabbr, quiz {{/str}} {{#str}} question, quiz {{/str}} {{#str}} marks, quiz {{/str}} {{#str}} gradeitem, grades {{/str}}

      {{{displayname}}}

      {{displaynumber}} {{maxmark}}
      {{/hasslots}}
      {{#hasgradeitems}}

      {{#str}} gradeitemsremovealltitle, quiz {{/str}}

      {{/hasgradeitems}}
      attempt_summary_information.mustache000064400000003737152267015270014160 0ustar00{{! 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 . }} {{! @template mod_quiz/attempt_summary_information This template renders summary information about a single quiz attempt. Example context (json): { "hasitems": true, "items": [ { "title": "It is me!", "content": "Sam Student" }, {"title": "Status", "content": "Finished"}, {"title": "Started", "content": "Thursday, 23 November 2023, 9:29 AM"}, {"title": "Completed", "content": "Thursday, 23 November 2023, 9:32 AM"}, {"title": "Duration", "content": "3 minutes"}, {"title": "Grade", "content": "Not yet graded"} ], "caption": "Summary of attempt" } }} {{#hasitems}} {{#caption}} {{/caption}} {{#items}} {{/items}}
      {{caption}}
      {{{title}}} {{{content}}}
      {{/hasitems}} loading.mustache000064400000002153152267023150007720 0ustar00{{! 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 . }} {{! @template quizaccess_seb/loading Loading container. Example context (json): { "extraclasses": "class" } }} text.mustache000064400000002626152267102470007277 0ustar00{{! 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 . }} {{! @template datafield_text/text The purpose of this template is to enable the user to define a text field. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * name string The field's name. * description string The field's description. * required bool The field's requiredness. * param1 string The field's auto link value. Example context (json): { "name": "A name", "description": "A description", "required": true, "param1": 1 } }}
      {{> mod_data/fields/basicfields }} {{> mod_data/fields/requiredfield }} {{> datafield_text/autolink }}
      autolink.mustache000064400000002673152267102470010143 0ustar00{{! 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 . }} {{! @template datafield_text/autolink The purpose of this template is to enable the user to define the 'auto link' field. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * name string The field's name. * description string The field's description. Example context (json): { "param1": false } }}
      discussion_times.mustache000064400000003604152267106050011672 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_times Template to display the discussion times. Note that this template is used only as a partial from within discussion_list, which requires the language strings be passed through the cleanstr helper Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * start int - The discussion start timestamp * end int - The discussion end timestamp * visible boolean - Whether the discussion is visible to students or not. Example context (json): { "start": 1, "end": 1, "visible": true } }}
        {{#start}}
      • {{#cleanstr}} displaystartdate, mod_forum, {{#userdate}}{{.}}, {{#str}}strftimerecentfull {{/str}}{{/userdate}} {{/cleanstr}}
      • {{/start}} {{#end}}
      • {{#cleanstr}} displayenddate, mod_forum, {{#userdate}}{{.}}, {{#str}}strftimerecentfull {{/str}}{{/userdate}} {{/cleanstr}}
      • {{/end}}
      • {{#visible}} {{#cleanstr}} timedvisible, mod_forum {{/cleanstr}} {{/visible}} {{^visible}} {{#cleanstr}} timedhidden, mod_forum {{/cleanstr}} {{/visible}}
      frontpage_news_discussion_list.mustache000064400000002202152267106050014616 0ustar00{{! 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 . }} {{! @template mod_forum/frontpage_news_discussion_list Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/news_discussion_list }} {{$discussion_create_text}} {{#str}}addanewtopic, forum{{/str}} {{/discussion_create_text}} {{/ mod_forum/news_discussion_list }} discussion_favourite_toggle.mustache000064400000004112152267106050014111 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_favourite_toggle Template to display the discussion subscription toggle. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * TODO Example context (json): { } }} {{#capabilities.favourite}} {{$favouritecontent}} {{#userstate.favourited}} {{#str}}removefromfavourites, mod_forum{{/str}} {{/userstate.favourited}} {{^userstate.favourited}} {{#str}}addtofavourites, mod_forum{{/str}} {{/userstate.favourited}} {{/favouritecontent}} {{/capabilities.favourite}}discussion_settings_drawer.mustache000064400000002767152267106050013766 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_settings_drawer This template will render the discussion settings drawer. Classes required for JS: * none Data attributes required for JS: * All data attributes are required Context variables required for this template: * userid The logged in user id * urls The URLs for the popover Example context (json): {} }} {{ {{> mod_forum/settings_header}}
      {{> mod_forum/discussion_settings_body_content}}
      {{/drawercontent}} {{/core/drawer}} grades/grade_button.mustache000064400000003366152267106050012235 0ustar00{{! 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 . }} {{! @template mod_forum/grades/grade_button Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#js}} require(['mod_forum/grades/grader'], function(Grader) { Grader.registerLaunchListeners(); }); {{/js}} grades/view_grade_button.mustache000064400000002740152267106050013262 0ustar00{{! 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 . }} {{! @template mod_forum/grades/view_grade_button Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#js}} require(['mod_forum/grades/grader'], function(Grader) { Grader.registerLaunchListeners(); }); {{/js}} grades/grader/discussion/posts.mustache000064400000010660152267106050014352 0ustar00{{! 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 . }} {{! @template mod_forum/grades/grader/discussion/posts Template to render a list of posts for a discussion. Classes required for JS: * none Data attributes required for JS: * data-region="posts" Example context (json): { } }}
      {{#discussions}}

      {{#str}} discussionstartedby, mod_forum, {{authorfullname}} {{/str}}

      {{#userdate}} {{timecreated}}, {{#str}} strftimedate, core_langconfig {{/str}} {{/userdate}}

      {{name}}

      {{#posts}}
      {{#parent}}
      {{#experimentaldisplaymode}}{{> mod_forum/forum_discussion_nested_v2_first_post }}{{/experimentaldisplaymode}} {{^experimentaldisplaymode}}{{> mod_forum/forum_discussion_nested_post }}{{/experimentaldisplaymode}}
      {{/parent}} {{#post}}
      {{#experimentaldisplaymode}}{{> mod_forum/forum_discussion_nested_v2_first_post }}{{/experimentaldisplaymode}} {{^experimentaldisplaymode}}{{> mod_forum/forum_discussion_nested_post }}{{/experimentaldisplaymode}}
      {{/post}}
      {{/posts}}

      {{/discussions}} {{^discussions}}
      {{#pix}} no-posts, mod_forum {{/pix}}

      {{#str}} noposts, mod_forum {{/str}}

      {{/discussions}}
      {{#js}} require(['mod_forum/grades/expandconversation'], function(Conversation) { Conversation.registerEventListeners(document.querySelector('#post-region-{{uniqid}}')); }); {{/js}} grades/grader/discussion/post_modal.mustache000064400000002514152267106050015342 0ustar00{{! 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 . }} {{! @template mod_forum/grades/grader/discussion/post_modal Template to render a single post from a discussion. Classes required for JS: * none Data attributes required for JS: * data-region="posts-modal" Example context (json): { } }}
      {{#posts}} {{#experimentaldisplaymode}}{{> mod_forum/forum_discussion_nested_v2_first_post }}{{/experimentaldisplaymode}} {{^experimentaldisplaymode}}{{> mod_forum/forum_discussion_nested_post }}{{/experimentaldisplaymode}} {{/posts}}
      forum_post_emaildigestfull_htmlemail.mustache000064400000007343152267106050015775 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_emaildigestfull_htmlemail Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * courselink * coursename * forumindexlink * forumviewlink * forumname * discussionlink * discussionname * showdiscussionname * firstpost * subject * authorlink * authorpicture * authorfullname * postdate * grouppicture * attachments * message * parentpostlink * canreply * replylink * permalink * unsubscribeforumlink * unsubscribediscussionlink Example context (json): { "courselink": "https://example.com/course/view.php?id=2", "coursename": "Example course", "forumindexlink": "https://example.com/mod/forum/index.php?id=2", "forumviewlink": "https://example.com/mod/forum/view.php?f=2", "forumname": "Lorem ipsum dolor", "discussionlink": "https://example.com/mod/forum/discuss.php?d=70", "discussionname": "Is Lorem ipsum Latin?", "showdiscussionname": 1, "firstpost": 1, "subject": "Is Lorem ipsum Latin?", "authorlink": "https://example.com/user/view.php?id=2&course=2", "authorpicture": "\"Picture", "authorfullname": "Lucius Caecilius lucundus", "postdate": "Sunday, 13 September 2015, 2:22 pm", "grouppicture": "", "attachments": "", "message": "

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et auctor libero. Quisque porta egestas neque, et bibendum libero dignissim at. Nulla facilisi. Morbi eget accumsan felis. Nunc et vulputate odio, vel venenatis nisl. Nunc maximus ipsum sed tincidunt mollis. Integer nunc erat, luctus sit amet arcu tincidunt, volutpat dignissim mi. Sed ut magna quam. Mauris accumsan porta turpis sed aliquam. Etiam at justo tristique, imperdiet augue quis, consectetur sapien. Ut nec erat malesuada sem suscipit lobortis. Vivamus posuere nibh eu ipsum porta fringilla. Sed vitae dapibus ipsum, ac condimentum enim. Sed dignissim ante at elit mollis, ac tempor lacus iaculis. Etiam nec lectus vitae nibh vulputate volutpat. Nulla quis tellus aliquam, commodo nisi et, dictum est.


      ", "parentpostlink": "", "canreply": 1, "replylink": "https://example.com/mod/forum/post.php?reply=2", "permalink": "https://example.com/mod/forum/discuss.php?d=2#2", "unsubscribeforumlink": "https://example.com/mod/forum/subscribe.php?id=2", "unsubscribediscussionlink": "https://example.com/mod/discussion/subscribe.php?id=2&d=2" } }} {{> mod_forum/forum_post_email_htmlemail_body }} discussion_list.mustache000064400000062016152267106050011526 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_list Template to display the list of forum discussions. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * TODO Example context (json): { } }}
      {{#notifications}} {{> core/notification}} {{/notifications}} {{{groupchangemenu}}}
      {{#forum.capabilities.create}} {{#enablediscussioncreation}} {{$discussion_create_text}} {{#str}}addanewdiscussion, forum{{/str}} {{/discussion_create_text}} {{/enablediscussioncreation}} {{/forum.capabilities.create}} {{^forum.capabilities.create}} {{#forum.capabilities.selfenrol}} {{#enablediscussioncreation}} {{$discussion_create_text}} {{#str}}addanewdiscussion, forum{{/str}} {{/discussion_create_text}} {{/enablediscussioncreation}} {{/forum.capabilities.selfenrol}} {{/forum.capabilities.create}} {{#forum.capabilities.grade}} {{#forum.state.gradingenabled}} {{> mod_forum/grades/grade_button }} {{/forum.state.gradingenabled}} {{/forum.capabilities.grade}} {{^forum.capabilities.grade}} {{#forum.state.gradingenabled}} {{> mod_forum/grades/view_grade_button }} {{/forum.state.gradingenabled}} {{/forum.capabilities.grade}}
      {{#forum.capabilities.create}}
      {{{newdiscussionhtml}}}
      {{/forum.capabilities.create}} {{#state.hasdiscussions}} {{$discussion_top_pagination}} {{{ pagination }}} {{/discussion_top_pagination}} {{$discussion_list_output}}
      {{$discussion_list_header}} {{#forum.state.groupmode}} {{/forum.state.groupmode}} {{#forum.capabilities.viewdiscussions}} {{/forum.capabilities.viewdiscussions}} {{#forum.capabilities.subscribe}} {{/forum.capabilities.subscribe}} {{/discussion_list_header}} {{$discussion_list_body}} {{#summaries}} {{! The discussion class is only required for behat tests to identify the row. }} {{#forum.state.groupmode}} {{/forum.state.groupmode}} {{#forum.capabilities.viewdiscussions}} {{/forum.capabilities.viewdiscussions}} {{#forum.capabilities.subscribe}} {{/forum.capabilities.subscribe}} {{/summaries}} {{/discussion_list_body}}
      {{#str}} showingcountoftotaldiscussions, mod_forum, {"count": "{{visiblediscussioncount}}", "total":"{{totaldiscussioncount}}"} {{/str}}
      {{#str}}status{{/str}} {{#state.sortorder.isdiscussiondesc}} {{#str}}discussion, mod_forum{{/str}} {{#pix}}t/downlong, core, {{#str}}desc, core{{/str}}{{/pix}} {{/state.sortorder.isdiscussiondesc}} {{#state.sortorder.isdiscussionasc}} {{#str}}discussion, mod_forum{{/str}} {{#pix}}t/uplong, core, {{#str}}asc, core{{/str}}{{/pix}} {{/state.sortorder.isdiscussionasc}} {{^state.sortorder.isdiscussiondesc}} {{^state.sortorder.isdiscussionasc}} {{#str}}discussion, mod_forum{{/str}} {{/state.sortorder.isdiscussionasc}} {{/state.sortorder.isdiscussiondesc}} {{#state.sortorder.isgroupdesc}} {{#str}}group{{/str}} {{#pix}}t/downlong, core, {{#str}}desc, core{{/str}}{{/pix}} {{/state.sortorder.isgroupdesc}} {{#state.sortorder.isgroupasc}} {{#str}}group{{/str}} {{#pix}}t/uplong, core, {{#str}}asc, core{{/str}}{{/pix}} {{/state.sortorder.isgroupasc}} {{^state.sortorder.isgroupdesc}} {{^state.sortorder.isgroupasc}} {{#str}}group{{/str}} {{/state.sortorder.isgroupasc}} {{/state.sortorder.isgroupdesc}} {{#state.sortorder.isstarterdesc}} {{#str}}startedby, mod_forum{{/str}} {{#pix}}t/downlong, core, {{#str}}desc, core{{/str}}{{/pix}} {{/state.sortorder.isstarterdesc}} {{#state.sortorder.isstarterasc}} {{#str}}startedby, mod_forum{{/str}} {{#pix}}t/uplong, core, {{#str}}asc, core{{/str}}{{/pix}} {{/state.sortorder.isstarterasc}} {{^state.sortorder.isstarterdesc}} {{^state.sortorder.isstarterasc}} {{#str}}startedby, mod_forum{{/str}} {{/state.sortorder.isstarterasc}} {{/state.sortorder.isstarterdesc}} {{#state.sortorder.islastpostdesc}} {{#str}}lastpost, mod_forum{{/str}} {{#pix}}t/downlong, core, {{#str}}desc, core{{/str}}{{/pix}} {{/state.sortorder.islastpostdesc}} {{#state.sortorder.islastpostasc}} {{#str}}lastpost, mod_forum{{/str}} {{#pix}}t/uplong, core, {{#str}}asc, core{{/str}}{{/pix}} {{/state.sortorder.islastpostasc}} {{^state.sortorder.islastpostdesc}} {{^state.sortorder.islastpostasc}} {{#str}}lastpost, mod_forum{{/str}} {{/state.sortorder.islastpostasc}} {{/state.sortorder.islastpostdesc}} {{#state.sortorder.isrepliesdesc}} {{#str}}replies, mod_forum{{/str}} {{#pix}}t/downlong, core, {{#str}}desc, core{{/str}}{{/pix}} {{/state.sortorder.isrepliesdesc}} {{#state.sortorder.isrepliesasc}} {{#str}}replies, mod_forum{{/str}} {{#pix}}t/uplong, core, {{#str}}asc, core{{/str}}{{/pix}} {{/state.sortorder.isrepliesasc}} {{^state.sortorder.isrepliesdesc}} {{^state.sortorder.isrepliesasc}} {{#str}}replies, mod_forum{{/str}} {{/state.sortorder.isrepliesasc}} {{/state.sortorder.isrepliesdesc}} {{#forum.userstate.tracked}} {{#pix}}t/markasread, core, {{#str}}markallread, mod_forum{{/str}}{{/pix}} {{/forum.userstate.tracked}} {{#str}} notsubscribed, mod_forum {{/str}} {{#str}}actions{{/str}}
      {{#discussion}} {{> mod_forum/forum_discussion_favourite_toggle}} {{/discussion}}
      {{#discussion.pinned}} {{#pix}}i/pinned, mod_forum, {{#str}}discussionpinned, mod_forum{{/str}}{{/pix}} {{/discussion.pinned}} {{#shortentext}}100, {{{discussion.name}}}{{/shortentext}}
      {{#str}}locked, forum{{/str}} {{#discussion.timed.istimed}} {{/discussion.timed.istimed}}
      {{#discussion.group}} {{#str}} pictureof, core, {{name}} {{/str}} {{#urls.userlist}} {{#shortentext}}30, {{name}}{{/shortentext}} {{/urls.userlist}} {{^urls.userlist}} {{name}} {{/urls.userlist}} {{/discussion.group}} {{#firstpostauthor}}
      {{#str}}pictureof, moodle, {{fullname}}{{/str}}
      {{fullname}}
      {{< core/time_element }} {{$elementid}}created-{{discussion.id}}{{/elementid}} {{$timestampval}}{{discussion.times.created}}{{/timestampval}} {{$userdateformatval}}{{#str}}strftimedatemonthabbr, langconfig{{/str}}{{/userdateformatval}} {{/core/time_element}}
      {{/firstpostauthor}}
      {{! TODO Check q&a, eachuser }} {{#latestpostauthor}} {{/latestpostauthor}} {{replies}} {{#forum.userstate.tracked}} {{#unread}} {{! TODO Rewrite as AJAX}} {{unread}} {{/unread}} {{/forum.userstate.tracked}} {{#discussion}}
      {{/discussion}}
      {{#discussion}}
      {{#hasanyactions}}
      {{> mod_forum/forum_action_menu}}
      {{/hasanyactions}}
      {{/discussion}}
      {{/discussion_list_output}} {{$discussion_bottom_pagination}} {{{ pagination }}} {{/discussion_bottom_pagination}} {{#can_create_discussion}} {{/can_create_discussion}} {{/state.hasdiscussions}} {{^state.hasdiscussions}}
      {{$no_discussions_text}} {{#str}}nodiscussions, forum{{/str}} {{/no_discussions_text}}
      {{/state.hasdiscussions}}
      {{#js}} require(['jquery', 'mod_forum/discussion_list'], function($, View) { var root = $('#discussion-list-{{uniqid}}'); View.init(root); }); {{/js}} setting_switch.mustache000064400000002674152267106050011352 0ustar00{{! 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 . }} {{! @template mod_forum/setting_switch This template will render a toggle switch, which can be used for the forum settings drawer. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): {} }}
      blog_discussion_list.mustache000064400000002174152267106050012530 0ustar00{{! 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 . }} {{! @template mod_forum/blog_discussion_list Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/social_discussion_list }} {{$discussion_create_text}} {{#str}}addanewtopic, forum{{/str}} {{/discussion_create_text}} {{/ mod_forum/social_discussion_list }} local/grades/local/grader/status.mustache000064400000002410152267106050014520 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/status Classes required for JS: * none Data attributes required for JS: * Context variables required for this template: * Example context (json): { "status": "Graded", "index": 1, "total": 10 } }}

      {{#status}} {{#str}}graded, forum{{/str}} {{/status}} {{^status}} {{#str}}notgraded, forum{{/str}} {{/status}}

      {{#str}} indexoutoftotal, mod_forum, {"index": "{{index}}", "total":"{{total}}"}{{/str}}
      local/grades/local/grader/user_picker.mustache000064400000005574152267106050015526 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/user_picker Classes required for JS: * none Data attributes required for JS: * data-region="user_picker/user" * data-action="change-user" * data-direction="-1" * data-direction="1" * data-action="search-user" Context variables required for this template: * none Example context (json): { } }}
      local/grades/local/grader/module_content_placeholder.mustache000064400000021052152267106050020561 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/module_content_placeholder Classes required for JS: * none Data attributes required for JS: * Context variables required for this template: * Example context (json): {} }}




      local/grades/local/grader/content.mustache000064400000002377152267106050014663 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/content Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { } }}
      {{> mod_forum/local/grades/local/grader/module_content_placeholder }}
      local/grades/local/grader/user_picker_placeholder.mustache000064400000003366152267106050020065 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/user_picker_placeholder Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { } }}
      local/grades/local/grader/user_picker/user_search.mustache000064400000004722152267106050020023 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/user_picker/user_search Classes required for JS: * none Data attributes required for JS: * data-action="select-user" Context variables required for this template: * expandedUsers: Array of users to show, limited to 10 * profileimage: Profile image for the user * fullname: User's full name * id: User's ID * hasCollapsed: T/F if there are more users to show * collapsedUsers: Array of users after index 9 Example context (json): { "expandedUsers": [ { "id": 4, "fullname": "Phillip J. Fry", "profileimage": "/pluginfile.php/4/user/icon/boost/f1?rev=58" }, { "id": 5, "fullname": "Turanga Leela", "profileimage": "/pluginfile.php/5/user/icon/boost/f1?rev=58" } ], "hasCollapsed": true, "collapsedUsers": [ { "id": 14, "fullname": "Bender B. Rodriguez", "profileimage": "/pluginfile.php/14/user/icon/boost/f1?rev=58" } ] } }}
      {{#users}} {{/users}} {{^users}}
      {{#pix}} no-search-results, mod_forum {{/pix}}
      {{#str}}nousersmatch, mod_forum{{/str}}
      {{/users}}
      local/grades/local/grader/user_picker/user.mustache000064400000003117152267106050016473 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/user_picker/user Classes required for JS: * none Data attributes required for JS: * data-userid="42" * data-region="index" Context variables required for this template: * id: The ID of the user * fullname: The user's full name * displayIndex: The index of the user in the userpicker array + 1 * total: The length of the user array in the userpicker Example context (json): { "id": 4, "fullname": "Phillip J. Fry", "displayIndex": 3, "total": 7 } }} {{#profileimageurl}} {{/profileimageurl}}
      {{fullname}}
      local/grades/local/grader/navigation.mustache000064400000011643152267106050015344 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/navigation Classes required for JS: * none Data attributes required for JS: * data-action="togglefullscreen" * data-action="closegrader" * data-action="savegrade" * data-action="expandgrader" Context variables required for this template: * moduleName: The name of the module this grading interface is for i.e. "Chef the Forum" Example context (json): { "moduleName": "Chef the Forum" } }} local/grades/local/grader/grade_placeholder.mustache000064400000034613152267106050016633 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/grade_placeholder Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { } }}
      local/grades/local/grader/status_placeholder.mustache000064400000002122152267106050017062 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/status_placeholder Classes required for JS: * none Data attributes required for JS: * Context variables required for this template: * Example context (json): {} }}
      local/grades/local/grader/gradingpanel/error.mustache000064400000002336152267106050016770 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/gradingpanel/error Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * error.message: The returned message on error Example context (json): { "error": { "message": "The item (Safe) in (magic school bus trips) does not exist" } } }}
      {{{error.message}}}
      local/grades/local/grader/grading.mustache000064400000015463152267106050014624 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/local/grader/grading Classes required for JS: * none Data attributes required for JS: * data-region="user_picker" * data-region="grade" * data-region="grade-errors" Context variables required for this template: * none Example context (json): { } }} {{
      {{> mod_forum/local/grades/local/grader/status_placeholder }}
      {{> mod_forum/local/grades/local/grader/user_picker_placeholder }}

      {{#pix}} i/grading, core {{/pix}}{{#str}} gradingmodulename, core_grades, {{moduleName}} {{/str}}

      {{> mod_forum/local/grades/local/grader/grade_placeholder }}

      {{#pix}} i/gradingnotifications, core {{/pix}}{{#str}}notifications, core{{/str}}

      {{#helpicon}} {{>core/help_icon}} {{/helpicon}}

      {{/drawercontent}} {{/core/drawer}} local/grades/view_grade.mustache000064400000005173152267106050012764 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/view_grade Classes required for JS: * none Data attributes required for JS: * data-region="grade-template" Context variables required for this template: * none Example context (json): { "templatename": "core_grades/grades/grader/gradingpanel/point", "grade": { "usergrade": 55, "maxgrade": 100, "timemodified": 1573543598 }, "hasgrade": true } }}
      {{#grade}}
      {{#str}}gradenoun{{/str}}:

      {{usergrade}}

      {{#str}}gradedby, forum{{/str}}:

      {{#gradedby}} {{gradedby}} {{/gradedby}} {{^gradedby}} - {{/gradedby}}

      {{#str}}date{{/str}}:

      {{#userdate}}{{timemodified}}, {{#str}} strftimedate, langconfig {{/str}}{{/userdate}}

      {{/grade}}
      {{#str}}gradingstatus, forum{{/str}}

      {{#hasgrade}} {{#str}}graded, forum{{/str}} {{/hasgrade}} {{^hasgrade}} {{#str}}notgraded, forum{{/str}} {{/hasgrade}}

      local/grades/grader.mustache000064400000005017152267106050012111 0ustar00{{! 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 . }} {{! @template mod_forum/local/grades/grader Classes required for JS: * TODO Data attributes required for JS: * data-first-userid="350" * data-cmid="1337" Context variables required for this template: * userid: ID of the first user to jump to * cmid: ID of the course module we want to grade Example context (json): { "userid": 350, "cmid": 1337 } }}
      {{> mod_forum/local/grades/local/grader/navigation }}
      {{> mod_forum/local/grades/local/grader/content }} {{#drawer}}{{> mod_forum/local/grades/local/grader/grading }}{{/drawer}}
      {{#js}} require(['jquery', 'core/drawer'], function($, Drawer) { var root = $('#grader-container-{{uniqid}}'); var drawer = root.find('[data-region="right-hand-drawer"]'); var expandButtons = root.find('[data-action="expand-grading-drawer"]'); var collapseButtons = root.find('[data-action="collapse-grading-drawer"]'); expandButtons.click(function() { collapseButtons.removeClass('active'); expandButtons.addClass('active'); collapseButtons.attr('aria-expanded', true); expandButtons.attr('aria-expanded', true); Drawer.show(drawer); }); collapseButtons.click(function() { expandButtons.removeClass('active'); collapseButtons.addClass('active'); collapseButtons.attr('aria-expanded', false); expandButtons.attr('aria-expanded', false); Drawer.hide(drawer); }); }); {{/js}} qanda_discussion_list.mustache000064400000002331152267106050012664 0ustar00{{! 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 . }} {{! @template mod_forum/qanda_discussion_list Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/discussion_list }} {{$discussion_create_text}} {{#str}}addanewquestion, forum{{/str}} {{/discussion_create_text}} {{$no_discussions_text}} ({{#str}}noquestions, forum{{/str}}) {{/no_discussions_text}} {{/ mod_forum/discussion_list }} forum_action_menu.mustache000064400000010220152267106050012007 0ustar00{{! 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 . }} {{! @template mod_forum/forum_action_menu This template renders action menu for a forum discussion. Context variables required for this template: * capabilities Object - Uses the following attributes: * manage boolean - Whether to render the lock action. * favourite boolean - Whether to render the star/unstar action. * pin boolean - Whether to render the star/unstar action. * subscribe boolean - Whether to render the subscribe action. * id int - The discussion ID. * forumid int - The forum ID. * istimelocked boolean - Whether this forum is time locked. * settings Object - Uses the following attributes: * excludetext boolean - Whether to show an icon only. * togglemoreicon - Whether to show a toggle-more icon or not. Example context (json): { "capabilities": { "manage": true, "favourite": true, "pin": true, "subscribe": true }, "id": 1, "forumid": 1, "istimelocked": false, "settingsselector": true, "settings": { "excludetext": false, "togglemoreicon": false } } }} forum_post_emaildigestfull_textemail.mustache000064400000003150152267106050016005 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_emaildigestfull_textemail Template which defines a forum post for sending in a single-post text email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * discussionlink * subject * permalink * authorfullname * postdate * message * attachments * forumindexlink }} {{ discussionlink }} {{{ subject }}} ({{{ permalink }}}) {{# str }} bynameondate, forum, { "name": {{# quote }}{{{ authorfullname }}}{{/ quote }}, "date": {{# quote }}{{ postdate }}{{/ quote }} } {{/ str }} --------------------------------------------------------------------- {{{ message }}} {{# attachments }} {{{ attachments }}} {{/ attachments }} --------------------------------------------------------------------- {{# str }} digestmailpostlink, forum, {{{ forumindexlink }}} {{/ str }} forum_actionbar.mustache000064400000005321152267106050011456 0ustar00{{! 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 . }} {{! @template mod_forum/forum_actionbar Simple search input. Context variables required for this template: * see mod/forum/classes/output/forum_actionbar.php Example context (json): { "action": "https://moodle.local/mod/forum/search.php", "inputname": "search", "searchstring": "Search settings", "query": "themedesigner", "hiddenfields": [{ "name": "id", "value": "11" }], "helpicon": { "heading": "Search", "text": "

      For basic searching .

      ", "alt": "Help with search", "icon": [{ "attributes": [{ "name": "alt", "value": "Help with Search" }, { "name": "src", "value": "http://localhost/theme/image.php?theme=boost&component=core&image=help" }] }] }, "newdiscussionbtn": "Add discussion topic", "subscribetoforum": "http://localhost/moodle/mod/forum/subscribe.php?id=7&sesskey=abcd&returnurl=http//localhost/moodle/mod/forum/view.php?id=4", "unsubscribefromforum": "http://localhost/moodle/mod/forum/subscribe.php?id=7&sesskey=abcd&returnurl=http//localhost/moodle/mod/forum/view.php?id=4" } }}
      forum_discussion_posts.mustache000064400000001753152267106050013134 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_posts Template to render a list of posts for a discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#posts}} {{> mod_forum/forum_discussion_post }} {{/posts}} forum_post_emaildigestbasic_htmlemail.mustache000064400000003264152267106050016112 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_emaildigestbasic_htmlemail Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * permalink * subject * authorlink * authorfullname * postdate Example context (json): { "permalink": "https://example.com/mod/forum/discuss.php?d=2#2", "subject": "Is Lorem ipsum Latin?", "authorlink": "https://example.com/user/view.php?id=2&course=2", "authorfullname": "Lucius Caecilius lucundus", "postdate": "Sunday, 13 September 2015, 2:22 pm" } }}
      {{{ subject }}} {{# str }} bynameondate, forum, { "name": {{# quote }}{{ authorfullname }}{{/ quote }}, "date": {{# quote }}{{ postdate }}{{/ quote }} } {{/ str }}
      inpage_reply_v2.mustache000064400000010753152267106050011376 0ustar00{{! 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 . }} {{! @template mod_forum/inpage_reply_v2 In page reply HTML for the nested v2 discussion display mode. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "postid": 0, "reply_url": "", "sesskey": "", "parentsubject": "" } }} discussion_subscription_toggle.mustache000064400000004577152267106050014650 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_subscription_toggle Template to display the discussion subscription toggle. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * capabilities Object - Uses the "subscribe" attribute to determine whether to render the subscribe action. * urls Object - Uses the "subscribe" attribute for the subscription URl. * id int - The discussion ID. * forumid int - The forum ID. * userstate Object - Uses the "subscribed" attribute to determine the action that will be performed upon toggling. Example context (json): { "capabilities": { "subscribe": true }, "urls": { "subscribe": "#" }, "id": 1, "forumid": 1, "userstate": { "subscribed": true } } }} {{#capabilities.subscribe}} {{#userstate.subscribed}} {{#str}}unsubscribediscussion, forum{{/str}} {{/userstate.subscribed}} {{^userstate.subscribed}} {{#str}}subscribediscussion, forum{{/str}} {{/userstate.subscribed}} {{/capabilities.subscribe}} forum_discussion_favourite_toggle.mustache000064400000002742152267106050015330 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_favourite_toggle Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/discussion_favourite_toggle }} {{$classes}}btn btn-link{{/classes}} {{$role}}button{{/role}} {{$favouritecontent}} {{#userstate.favourited}} {{#pix}}t/star, mod_forum, {{#str}}removefromfavourites, mod_forum{{/str}}{{/pix}} {{/userstate.favourited}} {{^userstate.favourited}} {{#pix}}t/emptystar, core, {{#str}}addtofavourites, mod_forum{{/str}}{{/pix}} {{/userstate.favourited}} {{/favouritecontent}} {{/ mod_forum/discussion_favourite_toggle }} forum_discussion_nested_v2_post_reply.mustache000064400000006432152267106050016134 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_nested_v2_post_reply Template to render a single post from a discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/forum_discussion_nested_v2_first_post }} {{$subject}}

      {{{subject}}}

      {{/subject}} {{$footer}} {{^isdeleted}} {{^readonly}} {{#capabilities.reply}}
      {{/capabilities.reply}} {{/readonly}} {{/isdeleted}} {{/footer}} {{$replies}}
      {{#hasreplies}} {{#replies}} {{> mod_forum/forum_discussion_nested_v2_post_reply }} {{/replies}} {{/hasreplies}}
      {{/replies}} {{/ mod_forum/forum_discussion_nested_v2_first_post }} settings_header.mustache000064400000003033152267106050011452 0ustar00{{! 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 . }} {{! @template mod_forum/settings_header This template will render the header for the discussion/forum settings drawer. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): {} }}

      {{#str}} settings, core {{/str}}

      forum_post_email_textemail.mustache000064400000004667152267106050013740 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_email_textemail Template which defines a forum post for sending in a single-post text email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * coursename * forumname * showdiscussionname * discussionname * permalink * subject * authorfullname * postdate * message * attachments * canreply * replylink * unsubscribeforumlink * unsubscribediscussionlink * forumindexlink * isprivatereply }} {{{ coursename }}} -> {{# str }} forums, forum {{/ str }} -> {{{ forumname }}}{{# showdiscussionname }} -> {{{ discussionname }}} {{/ showdiscussionname }} {{ permalink }} {{{ subject }}} {{# str }} bynameondate, forum, { "name": {{# quote }}{{{ authorfullname }}}{{/ quote }}, "date": {{# quote}}{{ postdate }}{{/ quote }} } {{/ str }} {{# isprivatereply }} {{# str }} postisprivatereply, forum {{/ str }} {{/ isprivatereply }} --------------------------------------------------------------------- {{{ message }}} {{{ attachments }}} --------------------------------------------------------------------- {{# str }} postmailinfo, forum, {{{ coursename }}} {{/ str }} {{# canreply }} {{^ isprivatereply }} {{# str }} postmailreply, forum, {{{ replylink }}} {{/ str }} {{/ isprivatereply }} {{/ canreply }} {{# unsubscribeforumlink }} {{# str }} unsubscribelink, forum, {{{ unsubscribeforumlink }}} {{/ str }} {{/ unsubscribeforumlink }} {{# unsubscribediscussionlink }} {{# str }} unsubscribediscussionlink, forum, {{{ unsubscribediscussionlink }}} {{/ str }} {{/ unsubscribediscussionlink }} {{# str }} digestmailpostlink, forum, {{{ forumindexlink }}} {{/ str }} quick_search_form.mustache000064400000002155152267106050011772 0ustar00{{! 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 . }} {{! @template mod_forum/quick_search_form This template renders the search form within forums. Example context (json): { "action": "https://domain.example/mod/forum/search.php", "helpicon": "", "query": "find this post", "inputname": "search" } }} {{#helpicon}} {{>core/help_icon}} {{/helpicon}} {{>core/search_input}} forum_post_emaildigestbasic_textemail.mustache000064400000002470152267106050016130 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_emaildigestbasic_textemail Template which defines a forum post for sending in a single-post text email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * discussionlink * subject * authorfullname * postdate }} {{ discussionlink }} {{{ subject }}} {{# str }} bynameondate, forum, { "name": {{# quote }}{{{ authorfullname }}}{{/ quote }}, "date": {{# quote }}{{ postdate }}{{/ quote }} } {{/ str }} --------------------------------------------------------------------- discussion_pin_toggle.mustache000064400000003473152267106050012704 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_pin_toggle Template to display the discussion subscription toggle. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * TODO Example context (json): { } }} {{#capabilities.pin}} {{#pinned}} {{#str}}unpindiscussion, mod_forum{{/str}} {{/pinned}} {{^pinned}} {{#str}}pindiscussion, mod_forum{{/str}} {{/pinned}} {{/capabilities.pin}}big_search_form.mustache000064400000017470152267106050011425 0ustar00{{! 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 . }} {{! @template mod_forum/big_search_form Big search form. Example context (json): { "actionurl": "https://example.com/mod/forum/search.php", "courseid": "2", "words": "apples", "phrase": "Lorem ipsum dolor", "notwords": "Not these words", "showfullwords": [ { "fullwords": "Exactly" } ], "datefromchecked": 1, "datetochecked": "", "forumoptions": [ { "name": "Forum One", "value": "23" }, { "name": "Forum Two", "value": "34" } ], "subject": "Help me please", "user": "Helpy McUser" } }}
      {{#showfullwords}}
      {{/showfullwords}}
      {{#str}}searchdatefrom, forum{{/str}}
      {{{datefromfields}}}
      {{#str}}searchdateto, forum{{/str}}
      {{{datetofields}}}
      {{^guestuser}}
      {{/guestuser}} {{#tagsenabled}}
      {{/tagsenabled}}
      {{#js}} require(['jquery'], function($) { var toggleDateFields = function(prefix, disabled) { $('#searchform select[name^=' + prefix + ']').prop('disabled', disabled); $('#searchform input[name^=h' + prefix + ']').val(disabled ? 1 : 0); }; toggleDateFields('from', !$("#searchform input[name='timefromrestrict']").prop('checked')); $("#searchform input[name='timefromrestrict']").click(function() { toggleDateFields('from', !this.checked); }); toggleDateFields('to', !$("#searchform input[name='timetorestrict']").prop('checked')); $("#searchform input[name='timetorestrict']").click(function() { toggleDateFields('to', !this.checked); }); }); {{/js}} mark_as_read.mustache000064400000002345152267106050010717 0ustar00{{! 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 . }} {{! @template mod_forum/mark_as_read Template to mark as read menu item. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * urls Object - Uses the 'markasread' attribute for the URL. Example context (json): { "urls": { "markasread": "#" } } }} {{#str}}markasread, mod_forum{{/str}} forum_post_subject_with_context_links.mustache000064400000004240152267106050016216 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_subject_with_context_links Template to render a breadcrumb-style subject. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "coursename": "Test course", "forumname": "Test forum", "discussionname": "Test discussion", "subject": "Test post subject", "urls": { "viewcourse": "#", "viewforum": "#", "viewdiscussion": "#", "viewparent": "#" }, "showdiscussionname": true, "hasparent": true } }} {{#coursename}} {{#urls.viewcourse}} {{{coursename}}} -> {{/urls.viewcourse}} {{^urls.viewcourse}} {{coursename}} -> {{/urls.viewcourse}} {{/coursename}} {{#urls.viewforum}} {{{forumname}}} {{/urls.viewforum}} {{^urls.viewforum}} {{{forumname}}} {{/urls.viewforum}} {{#showdiscussionname}} {{#urls.viewdiscussion}} -> {{{discussionname}}} {{/urls.viewdiscussion}} {{^urls.viewdiscussion}} {{{discussionname}}} {{/urls.viewdiscussion}} {{#hasparent}} {{#urls.viewparent}} -> {{{subject}}} {{/urls.viewparent}} {{^urls.viewparent}} {{{subject}}} {{/urls.viewparent}} {{/hasparent}} {{/showdiscussionname}} forum_discussion_nested_posts.mustache000064400000001772152267106050014477 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_nested_posts Template to render a list of posts in a nested format. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#posts}} {{> mod_forum/forum_discussion_nested_post }} {{/posts}}forum_posts_with_context_links.mustache000064400000002565152267106050014672 0ustar00{{! 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 . }} {{! @template mod_forum/forum_posts_with_context_links Template to render a list of posts with breadcrumb style subject and a link in the footer to the full discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#posts}} {{< mod_forum/forum_discussion_post }} {{$subject}} {{> mod_forum/forum_post_subject_with_context_links }} {{/subject}} {{$replies}}{{/replies}} {{$footer}} {{/footer}} {{/ mod_forum/forum_discussion_post }} {{/posts}} forum_discussion_nested_v2.mustache000064400000004767152267106050013665 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_nested_v2 Template for displaying a single forum discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "html": { "hasanyactions": true, "posts": "
      ", "modeselectorform": "
      ", "subscribe": null, "movediscussion": null, "pindiscussion": null, "neighbourlinks": "
      ", "exportdiscussion": null }, "throttlingwarningmsg": "You are approaching the posting threshold. You have posted 3 times in the last 1 week and the limit is 4 posts." } }}
      {{#html}} {{> mod_forum/discussion_settings_drawer}} {{/html}} {{#notifications}} {{> core/notification}} {{/notifications}}
      {{{html.modeselectorform}}}
      {{{html.posts}}}
      {{#js}} require(['jquery', 'mod_forum/discussion_nested_v2'], function($, Discussion) { var root = $('#discussion-container-{{uniqid}}'); Discussion.init(root, { {{#throttlingwarningmsg}} throttlingwarningmsg: {{#quote}}{{throttlingwarningmsg}}{{/quote}}, {{/throttlingwarningmsg}} {{#loggedinuser}} loggedinuser: { profileimageurl: '{{{profileimageurl}}}', fullname: '{{fullname}}', firstname: '{{firstname}}' } {{/loggedinuser}} }); }); {{/js}} forum_post_email_htmlemail_body.mustache000064400000014035152267106050014723 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_email_htmlemail_body Template which defines the body component of a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * courselink * coursename * forumindexlink * forumviewlink * forumname * discussionlink * discussionname * showdiscussionname * firstpost * subject * authorlink * authorpicture * authorfullname * postdate * grouppicture * attachments * message * parentpostlink * canreply * replylink * permalink * unsubscribeforumlink * unsubscribediscussionlink * isprivatereply Example context (json): { "courselink": "https://example.com/course/view.php?id=2", "coursename": "Example course", "forumindexlink": "https://example.com/mod/forum/index.php?id=2", "forumviewlink": "https://example.com/mod/forum/view.php?f=2", "forumname": "Lorem ipsum dolor", "discussionlink": "https://example.com/mod/forum/discuss.php?d=70", "discussionname": "Is Lorem ipsum Latin?", "showdiscussionname": 1, "firstpost": 1, "subject": "Is Lorem ipsum Latin?", "authorlink": "https://example.com/user/view.php?id=2&course=2", "authorpicture": "\"Picture", "authorfullname": "Lucius Caecilius lucundus", "postdate": "Sunday, 13 September 2015, 2:22 pm", "grouppicture": "", "attachments": "", "message": "

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et auctor libero. Quisque porta egestas neque, et bibendum libero dignissim at. Nulla facilisi. Morbi eget accumsan felis. Nunc et vulputate odio, vel venenatis nisl. Nunc maximus ipsum sed tincidunt mollis. Integer nunc erat, luctus sit amet arcu tincidunt, volutpat dignissim mi. Sed ut magna quam. Mauris accumsan porta turpis sed aliquam. Etiam at justo tristique, imperdiet augue quis, consectetur sapien. Ut nec erat malesuada sem suscipit lobortis. Vivamus posuere nibh eu ipsum porta fringilla. Sed vitae dapibus ipsum, ac condimentum enim. Sed dignissim ante at elit mollis, ac tempor lacus iaculis. Etiam nec lectus vitae nibh vulputate volutpat. Nulla quis tellus aliquam, commodo nisi et, dictum est.


      ", "parentpostlink": "", "canreply": 1, "replylink": "https://example.com/mod/forum/post.php?reply=2", "permalink": "https://example.com/mod/forum/discuss.php?d=2#2", "unsubscribeforumlink": "https://example.com/mod/forum/subscribe.php?id=2", "unsubscribediscussionlink": "https://example.com/mod/discussion/subscribe.php?id=2&d=2" } }}
      {{{ authorpicture }}}
      {{{ subject }}}
      {{# str }} bynameondate, forum, { "name": {{# quote }}{{ authorfullname }}{{/ quote }}, "date": {{# quote }}{{ postdate }}{{/ quote }} } {{/ str }}
      {{# isprivatereply }}
      {{# str }} postisprivatereply, forum {{/ str }}
      {{/ isprivatereply }}
      {{# grouppicture }} {{{ grouppicture }}} {{/ grouppicture }} {{^ grouppicture }}   {{/ grouppicture }} {{# attachments }}
      {{{ attachments }}}
      {{/ attachments }} {{{ message }}}
      {{^ firstpost }} {{# str }} parent, forum {{/ str }} {{# canreply }} {{^ isprivatereply }} | {{/ isprivatereply }} {{/ canreply }} {{/ firstpost }} {{# canreply }} {{^ isprivatereply }} {{# str }} reply, forum {{/ str }} {{/ isprivatereply }} {{/ canreply }}
      forum_discussion_post.mustache000064400000045034152267106050012751 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_post Template to render a single post from a discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
      {{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
      {{#isfirstunread}}{{/isfirstunread}}
      {{^isdeleted}} {{#author}}
      {{#urls.profileimage}} {{/urls.profileimage}}
      {{/author}} {{/isdeleted}}
      {{#parentauthorname}} {{#str}} inreplyto, mod_forum, {{.}} {{/str}} {{/parentauthorname}} {{$subjectheading}}

      {{$subject}}{{{subject}}}{{/subject}}

      {{/subjectheading}} {{^isdeleted}}
      {{#html.authorsubheading}}{{{.}}}{{/html.authorsubheading}} {{^html.authorsubheading}} {{< core/time_element }} {{$elementid}}created-{{id}}-{{uniqid}}{{/elementid}} {{$timestampval}}{{timecreated}}{{/timestampval}} {{$userdateformatval}}{{#str}} strftimedaydatetime, core_langconfig {{/str}}{{/userdateformatval}} {{/core/time_element}} {{/html.authorsubheading}}
      {{/isdeleted}} {{#isprivatereply}}
      {{#str}}postisprivatereply, forum{{/str}}
      {{/isprivatereply}} {{#hasreplycount}} {{#str}} numberofreplies, mod_forum, {{replycount}} {{/str}} {{/hasreplycount}}
      {{^isdeleted}} {{#author}}
      {{#groups}} {{#urls.group}} {{#urls.image}} {{/urls.image}} {{/urls.group}} {{^urls.group}} {{#urls.image}} {{#str}} pictureof, core, {{name}} {{/str}} {{/urls.image}} {{/urls.group}} {{/groups}}
      {{/author}} {{/isdeleted}}
      {{{message}}}
      {{^isdeleted}} {{#haswordcount}}

      {{#str}} numwords, core, {{wordcount}} {{/str}}

      {{/haswordcount}} {{#attachments}} {{#isimage}}
      {{#str}} attachmentname, mod_forum, {{filename}} {{/str}} {{#urls.export}} {{#pix}} t/portfolioadd, core {{/pix}} {{/urls.export}} {{#html.plagiarism}}
      {{{.}}}
      {{/html.plagiarism}}
      {{/isimage}} {{/attachments}} {{{html.taglist}}} {{#attachments}} {{^isimage}}
      {{#pix}} {{icon}}, core {{/pix}} {{filename}} {{#urls.export}} {{#pix}} t/portfolioadd, core {{/pix}} {{/urls.export}} {{#html.plagiarism}}
      {{{.}}}
      {{/html.plagiarism}}
      {{/isimage}} {{/attachments}} {{^readonly}}
      {{#html.rating}}
      {{{.}}}
      {{/html.rating}} {{$actions}} {{/actions}}
      {{/readonly}} {{$footer}}{{/footer}} {{/isdeleted}}
      {{$replies}}
      {{#hasreplies}} {{#replies}} {{> mod_forum/forum_discussion_post }} {{/replies}} {{/hasreplies}}
      {{/replies}}
      frontpage_social_discussion_list.mustache000064400000002631152267106050015122 0ustar00{{! 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 . }} {{! @template mod_forum/frontpage_social_discussion_list Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/social_discussion_list }} {{$discussion_create_text}} {{#str}}addanewtopic, forum{{/str}} {{/discussion_create_text}} {{$discussion_top_pagination}}{{/discussion_top_pagination}} {{$discussion_bottom_pagination}} {{#hasmore}} {{#str}}oldertopics, mod_forum{{/str}}... {{/hasmore}} {{/discussion_bottom_pagination}} {{/ mod_forum/social_discussion_list }} single_discussion_list.mustache000064400000002371152267106050013065 0ustar00 {{! 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 . }} {{! @template mod_forum/single_discussion_list Template to render a discussion for a single discussion forum. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/discussion_list }} {{$discussion_create_text}} {{#str}}addanewtopic, forum{{/str}} {{/discussion_create_text}} {{$discussion_list_output}} {{#posts}} {{> mod_forum/forum_discussion_post }} {{/posts}} {{/discussion_list_output}} {{/ mod_forum/discussion_list }} inpage_reply.mustache000064400000006636152267106050010774 0ustar00{{! 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 . }} {{! @template mod_forum/inpage_reply Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "postid": 0, "reply_url": "", "sesskey": "", "parentsubject": "", "throttlingwarningmsg": "You are approaching the posting threshold. You have posted 3 times in the last 1 week and the limit is 4 posts." } }}
      {{#throttlingwarningmsg}} {{/throttlingwarningmsg}}
      {{#canreplyprivately}}
      {{/canreplyprivately}}
      forum_discussion_threaded_posts.mustache000064400000002573152267106050014775 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_threaded_posts Template to render a list of posts in a threaded format. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#posts}} {{< mod_forum/forum_discussion_post }} {{$replies}} {{! The forumthread class is only added for behat. }}
      {{#replies}} {{> mod_forum/forum_discussion_threaded_post }} {{/replies}}
      {{/replies}} {{/ mod_forum/forum_discussion_post }} {{/posts}} forum_subscription_action.mustache000064400000005375152267106050013606 0ustar00{{! 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 . }} {{! @template mod_forum/forum_subscription_action Actions bar for the subscribers page UI. Classes required for JS: * none Data attributes required for JS: * data-region Context variables required for this template: * see mod/forum/classes/output/subscription_actionbar.php Example context (json): { "subscriptionoptions": { "formid": "selectsubscriptions", "classes": "urlselect float-end", "disabled": false, "sesskey": "abcdef", "action": "http://localhost/course/jumpto.php", "helpicon": false, "options": [ { "name": "Subscription disabled", "value": "" }, { "name": "Optional subscrition", "value": "/mod/forum/subscribe.php?id=3&mode=0&sesskey=abc123" } ] }, "viewandmanageselect": { "formid": "selectviewandmanagesubscribers", "classes": "urlselect", "label": "Subscribers", "disabled": false, "sesskey": "abcdef", "action": "http://localhost/course/jumpto.php", "options": [ { "name": "View subscribers", "value": "/mod/forum/subscribers.php?id=3&edit=off", "selected": true }, { "name": "Manage subscribers", "value": "/mod/forum/subscribers.php?id=3&edit=on", "selected": false } ] } } }}
      {{#viewandmanageselect}} {{/viewandmanageselect}} {{#subscriptionoptions}} {{/subscriptionoptions}}

      forum_search_results.mustache000064400000004421152267106050012542 0ustar00{{! 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 . }} {{! @template mod_forum/forum_search_results Template to render results for the forum post search. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "posts": [ { "id": 1, "subject": "Re: Test discussion", "message": "Reply to post by Sam Student", "author": { "id": 2, "fullname": "Sam Student" }, "discussionid": 3, "capabilities": { "view": true, "edit": true, "delete": true, "split": true, "reply": true }, "html": { "authorsubheading": "by Sam Student<\/a> -
      {{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
      {{#isfirstunread}}{{/isfirstunread}}
      {{^isdeleted}} {{#author}} {{#urls.profileimage}} {{/urls.profileimage}} {{/author}} {{/isdeleted}} {{#unread}}
      {{#pix}} i/flagged, core {{/pix}}
      {{/unread}}
      {{^isdeleted}}
      {{#author}}

      {{#parentauthorname}} {{#isprivatereply}} {{#str}} authorreplyingprivatelytoauthor, mod_forum, { "respondant":"{{fullname}}", "author":"{{parentauthorname}}" } {{/str}} {{/isprivatereply}} {{^isprivatereply}} {{#str}} authorreplyingtoauthor, mod_forum, { "respondant":"{{fullname}}", "author":"{{parentauthorname}}" } {{/str}} {{/isprivatereply}} {{/parentauthorname}} {{^parentauthorname}} {{fullname}} {{/parentauthorname}}

      {{/author}} {{< core/time_element }} {{$elementid}}created-{{id}}-{{uniqid}}{{/elementid}} {{$elementclass}}text-muted{{/elementclass}} {{$timestampval}}{{timecreated}}{{/timestampval}} {{$userdateformatval}}{{#str}} strftimerecentfull, core_langconfig {{/str}}{{/userdateformatval}} {{/core/time_element}}
      {{#author.groups}} {{#urls.image}}
      {{#urls.group}} {{/urls.group}} {{^urls.group}} {{#str}} pictureof, core, {{name}} {{/str}} {{/urls.group}}
      {{/urls.image}} {{/author.groups}} {{^readonly}} {{#showactionmenu}} {{/showactionmenu}} {{/readonly}}
      {{/isdeleted}} {{$subject}}

      {{{subject}}}

      {{/subject}} {{#hasreplycount}} {{#str}} numberofreplies, mod_forum, {{replycount}} {{/str}} {{/hasreplycount}}
      {{{message}}}
      {{^isdeleted}} {{#attachments}} {{#isimage}}
      {{#str}} attachmentname, mod_forum, {{filename}} {{/str}} {{#urls.export}} {{#pix}} t/portfolioadd, core {{/pix}} {{/urls.export}} {{#html.plagiarism}}
      {{{.}}}
      {{/html.plagiarism}}
      {{/isimage}} {{/attachments}} {{#attachments}} {{^isimage}}
      {{#pix}} {{icon}}, core {{/pix}}
      {{/isimage}} {{/attachments}}
      {{^readonly}} {{#html.rating}}
      {{{.}}}
      {{/html.rating}} {{/readonly}}
      {{#haswordcount}} {{#str}} numwords, core, {{wordcount}} {{/str}} {{/haswordcount}} {{#html.taglist}}
      {{{.}}}
      {{/html.taglist}}
      {{/isdeleted}} {{$footer}} {{^isdeleted}} {{^readonly}}
      {{#capabilities.reply}} {{/capabilities.reply}} {{^capabilities.reply}} {{#discussionlocked}} {{/discussionlocked}} {{/capabilities.reply}}
      {{/readonly}} {{/isdeleted}} {{#discussionlocked}}
      {{#str}} locked, mod_forum {{/str}}
      {{/discussionlocked}} {{/footer}}
      {{$replies}}
      {{#hasreplies}} {{#replies}} {{> mod_forum/forum_discussion_nested_v2_post_reply }} {{/replies}} {{/hasreplies}}
      {{/replies}}
      forum_discussion_nested_post.mustache000064400000002325152267106050014307 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_nested_post Template to render a post in a nested format. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/forum_discussion_post }} {{$replies}}
      {{#replies}} {{> mod_forum/forum_discussion_nested_post }} {{/replies}}
      {{/replies}} {{/ mod_forum/forum_discussion_post }} forum_new_discussion_actionbar.mustache000064400000003616152267106050014577 0ustar00{{! 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 . }} {{! @template mod_forum/forum_new_discussion_actionbar Add button to create a new discussion in the forum activity. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * see mod/forum/classes/output/activity_actionbar.php Example context (json): { "forum": { "id": 3, "name": "Forum test", "state": [], "userstate": "", "capabilities": [{ "viewdiscussions": true, "create": true, "selfenrol": false }], "urls": [{ "create": "http://localhost/mod/forum/post.php?forum=11" }] } } }} {{#forum.capabilities.create}} {{#str}}addanewdiscussion, forum{{/str}} {{/forum.capabilities.create}} {{^forum.capabilities.create}} {{#forum.capabilities.selfenrol}} {{#str}}addanewdiscussion, forum{{/str}} {{/forum.capabilities.selfenrol}} {{/forum.capabilities.create}} news_discussion_list.mustache000064400000002275152267106050012563 0ustar00{{! 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 . }} {{! @template mod_forum/news_discussion_list Template to render a list of discussions for a news forum Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/discussion_list }} {{$discussion_create_text}} {{#str}}addanewtopic, forum{{/str}} {{/discussion_create_text}} {{$no_discussions_text}} ({{#str}}nonews, forum{{/str}}) {{/no_discussions_text}} {{/ mod_forum/discussion_list }} forum_discussion_nested_v2_posts.mustache000064400000002005152267106050015074 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_nested_v2_posts Template to render a list of posts for a discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{#posts}} {{> mod_forum/forum_discussion_nested_v2_first_post }} {{/posts}} discussion_lock_toggle.mustache000064400000003227152267106050013043 0ustar00{{! 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 . }} {{! @template mod_forum/discussion_lock_toggle Template to display the discussion subscription toggle. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * none Example context (json): { "id": 0, "locked": 1 } }} {{#locked}} {{#str}}unlockdiscussion, forum{{/str}} {{/locked}} {{^locked}} {{#str}}lockdiscussion, forum{{/str}} {{/locked}} forum_discussion.mustache000064400000007404152267106050011703 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion Template for displaying a single forum discussion. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "html": { "hasanyactions": true, "posts": "
      ", "modeselectorform": "
      ", "subscribe": null, "movediscussion": null, "pindiscussion": null, "neighbourlinks": "
      ", "exportdiscussion": null }, "throttlingwarningmsg": "You are approaching the posting threshold. You have posted 3 times in the last 1 week and the limit is 4 posts." } }}
      {{#html}}
      {{{exportdiscussion}}}
      {{{modeselectorform}}}
      {{{movediscussion}}}
      {{#hasanyactions}} {{/hasanyactions}}
      {{/html}} {{#notifications}} {{> core/notification}} {{/notifications}} {{{html.posts}}} {{#html.neighbourlinks}}{{{.}}}{{/html.neighbourlinks}}
      {{#js}} require( [ 'jquery', 'core/templates', 'mod_forum/discussion', 'mod_forum/posts_list', 'mod_forum/lock_toggle', 'mod_forum/favourite_toggle', 'mod_forum/pin_toggle', 'mod_forum/subscription_toggle' ], function( $, Templates, Discussion, PostsList, LockToggle, FavouriteToggle, Pin, SubscribeToggle ) { var root = $("[data-content='forum-discussion']"); Discussion.init(root); PostsList.init(root, {{#quote}}{{throttlingwarningmsg}}{{/quote}}); root = $('[data-container="discussion-tools"]'); LockToggle.init(root, true); FavouriteToggle.init(root, true, function(toggleElement, context) { return Templates.render('mod_forum/discussion_favourite_toggle', context) .then(function(html, js) { return Templates.replaceNode(toggleElement, html, js); }); }); Pin.init(root, true, function(toggleElement, context) { return Templates.render('mod_forum/discussion_pin_toggle', context) .then(function(html, js) { return Templates.replaceNode(toggleElement, html, js); }); }); SubscribeToggle.init(root, true, function(toggleElement, context) { return Templates.render('mod_forum/discussion_subscription_toggle', context) .then(function(html, js) { return Templates.replaceNode(toggleElement, html, js); }); }); }); {{/js}} forum_discussion_threaded_post.mustache000064400000002634152267106050014610 0ustar00{{! 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 . }} {{! @template mod_forum/forum_discussion_threaded_post Template to render a single post from a discussion in a threaded format. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }}
      {{subject}} {{^isdeleted}} {{{html.authorsubheading}}} {{/isdeleted}}
      {{#replies}} {{> mod_forum/forum_discussion_threaded_post }} {{/replies}}
      social_discussion_list.mustache000064400000004456152267106050013064 0ustar00{{! 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 . }} {{! @template mod_forum/social_discussion_list Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { } }} {{< mod_forum/discussion_list }} {{$discussion_create_text}} {{#str}}addanewdiscussion, forum{{/str}} {{/discussion_create_text}} {{$discussion_list_output}} {{#posts}} {{< mod_forum/forum_discussion_post }} {{$footer}} {{/footer}} {{$replyoutput}}{{/replyoutput}} {{/ mod_forum/forum_discussion_post }} {{/posts}} {{/discussion_list_output}} {{/ mod_forum/discussion_list }} forum_post_email_htmlemail.mustache000064400000011273152267106050013707 0ustar00{{! 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 . }} {{! @template mod_forum/forum_post_email_htmlemail Template which defines a forum post for sending in a single-post HTML email. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * courselink * coursename * forumindexlink * forumviewlink * forumname * discussionlink * discussionname * showdiscussionname * firstpost * subject * authorlink * authorpicture * authorfullname * postdate * grouppicture * attachments * message * parentpostlink * canreply * replylink * permalink * unsubscribeforumlink * unsubscribediscussionlink Example context (json): { "courselink": "https://example.com/course/view.php?id=2", "coursename": "Example course", "forumindexlink": "https://example.com/mod/forum/index.php?id=2", "forumviewlink": "https://example.com/mod/forum/view.php?f=2", "forumname": "Lorem ipsum dolor", "discussionlink": "https://example.com/mod/forum/discuss.php?d=70", "discussionname": "Is Lorem ipsum Latin?", "showdiscussionname": 1, "firstpost": 1, "subject": "Is Lorem ipsum Latin?", "authorlink": "https://example.com/user/view.php?id=2&course=2", "authorpicture": "\"Picture", "authorfullname": "Lucius Caecilius lucundus", "postdate": "Sunday, 13 September 2015, 2:22 pm", "grouppicture": "", "attachments": "", "message": "

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et auctor libero. Quisque porta egestas neque, et bibendum libero dignissim at. Nulla facilisi. Morbi eget accumsan felis. Nunc et vulputate odio, vel venenatis nisl. Nunc maximus ipsum sed tincidunt mollis. Integer nunc erat, luctus sit amet arcu tincidunt, volutpat dignissim mi. Sed ut magna quam. Mauris accumsan porta turpis sed aliquam. Etiam at justo tristique, imperdiet augue quis, consectetur sapien. Ut nec erat malesuada sem suscipit lobortis. Vivamus posuere nibh eu ipsum porta fringilla. Sed vitae dapibus ipsum, ac condimentum enim. Sed dignissim ante at elit mollis, ac tempor lacus iaculis. Etiam nec lectus vitae nibh vulputate volutpat. Nulla quis tellus aliquam, commodo nisi et, dictum est.


      ", "parentpostlink": "", "canreply": 1, "replylink": "https://example.com/mod/forum/post.php?reply=2", "permalink": "https://example.com/mod/forum/discuss.php?d=2#2", "unsubscribeforumlink": "https://example.com/mod/forum/subscribe.php?id=2", "unsubscribediscussionlink": "https://example.com/mod/discussion/subscribe.php?id=2&d=2" } }} {{> mod_forum/forum_post_email_htmlemail_body }}
      standard_action_menu.mustache000064400000013406152267106720012474 0ustar00{{! 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 . }} {{! @template mod_glossary/standard_action_menu Actions panel at the bottom of the assignment grading UI. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * see mod/glossary/classes/output/standard_action_bar.php Example context (json): { "addnewbutton": { "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "This is a the button text", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, "tools": { "button": { "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "This is a the button text", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, "select": { "options": [ { "url": "www.google.com", "string": "Google" }, { "url": "www.yahoo.com", "string": "Yahoo" } ] } }, "tabjumps": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "helpicon": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon":{ "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "showbutton": "Go", "options": [{ "name": "Group 1", "isgroup": true, "options": [ {"name": "Item 1", "isgroup": false, "value": "1"}, {"name": "Item 2", "isgroup": false, "value": "2"} ]}, {"name": "Group 2", "isgroup": true, "options": [ {"name": "Item 3", "isgroup": false, "value": "3"}, {"name": "Item 4", "isgroup": false, "value": "4"} ]}], "disabled": false, "title": "Some cool title" }, "searchbox": { "action": "http://localhost/stable/mod/glossary/view.php", "hiddenfields": [ { "name": "id", "value": 23 }, { "name": "mode", "value": "search" } ], "otherfields": "Rendered checkbox", "inputname": "hook", "query": "hook", "searchstring": "Search" } } }}
      {{#addnewbutton}} {{/addnewbutton}}
      {{#tools}} {{#button}} {{/button}} {{#select}} {{/select}} {{/tools}}
      {{#tabjumps}} {{/tabjumps}} {{#searchbox}} {{/searchbox}}
      user_report_actionbar.mustache000064400000003605152267110020012672 0ustar00{{! 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 . }} {{! @template mod_scorm/user_report_actionbar Actions bar for the user reports page UI. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * see mod/scorm/classes/output/userreportsactionbar.php Example context (json): { "userreport": { "id": "url_select_test", "options": [ {"name": "Learning objects", "value": "/mod/scorm/report/userreport.php?id=70&user=13&attempt=1"}, {"name": "Interactions", "value": "/mod/scorm/report/userreportinteractions.php?id=70&user=13&attempt=1"} ] }, "backurl": "http://localhost/moodle/mod/scorm/report.php?id=70&mode=interactions", "heading": "Sub page heading" } }}
      {{#userreport}} {{/userreport}}
      {{#heading}}

      {{heading}}

      {{/heading}} report_actionbar.mustache000064400000006025152267110020011633 0ustar00{{! 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 . }} {{! @template mod_scorm/report_actionbar Actions bar for the reports page UI. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * see mod/scorm/classes/output/actionbar.php Example context (json): { "heading": "Heading", "scormreports": { "id": "url_select_test", "options": [ {"name": "Basic Report", "value": "/mod/scorm/report.php?id=69&mode=basic"}, {"name": "Graph Report", "value": "/mod/scorm/report.php?id=69&mode=graphs"}, {"name": "Interactions Report", "value": "/mod/scorm/report.php?id=69&mode=interactions"}, {"name": "Objectives Report", "value": "/mod/scorm/report.php?id=69&mode=objectives"} ] }, "candownload": true, "downloadods": "http://localhost/moodle/mod/scorm/report.php?id=143&mode=basic&attemptsmode=0&sesskey=AmfcC7riSb&download=ODS", "downloadexcel": "http://localhost/moodle/mod/scorm/report.php?id=143&mode=basic&attemptsmode=0&sesskey=AmfcC7riSb&download=Excel", "downloadtext": "http://localhost/moodle/mod/scorm/report.php?id=143&mode=basic&attemptsmode=0&sesskey=AmfcC7riSb&download=CSV" } }}
      {{#scormreports}} {{/scormreports}} {{#candownload}} {{/candownload}}
      player_exitbar.mustache000064400000002371152267110020011310 0ustar00{{! 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 . }} {{! @template mod_scorm/player_exitbar Actions bar for the user reports page UI. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * action Example context (json): { "action": "http://localhost/moodle/mod/scorm/report.php?id=70&mode=interactions" } }} folder.mustache000064400000005623152267111450007564 0ustar00{{! 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 . }} {{! @template mod_folder/folder Template for displaying folder resource. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "id": 42, "showexpanded": true, "buttons": { "edit_button": { "id": "edit_button", "label": "Edit", "url": "/mod/folder/edit.php", "classes": "navitem" }, "download_button": { "id": "download_button", "label": "Download", "url": "/mod/folder/download.php", "classes": "navitem" } }, "dir": [ { "name": "Folder", "icon": "alt", "hassubdirs": true, "subdirs": [ { "name": "File1", "icon": "alt", "hassubdirs": false, "subdirs": null } ] }, { "name": "File2", "icon": "alt", "hassubdirs": false, "subdirs": null } ] } }}
      {{{intro}}} {{#hasbuttons}}
      {{#edit_button}} {{>core/single_button}} {{/edit_button}} {{#download_button}} {{>core/single_button}} {{/download_button}}
      {{/hasbuttons}}
      {{#dir}}
      • {{>mod_folder/tree}}
      {{/dir}}
      {{#js}} // Init tree JS. require(['mod_folder/folder'], function(Folder) { Folder.initTree('{{{id}}}', '{{{showexpanded}}}'); }); {{/js}} tree.mustache000064400000003232152267111450007242 0ustar00{{! 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 . }} {{! @template mod_folder/tree Template for displaying a folder content subdirs and files tree. Classes required for JS: * none Data attributes required for JS: * none Example context (json): { "name": "Folder", "icon": "alt", "hassubdirs": true, "subdirs": [ { "name": "File1", "icon": "alt", "hassubdirs": false, "subdirs": null } ] } }}
      {{{icon}}} {{#url}} {{{name}}} {{/url}} {{^url}} {{{name}}} {{/url}}
      {{#hassubdirs}}
        {{#subdirs}}
      • {{>mod_folder/tree}}
      • {{/subdirs}}
      {{/hassubdirs}} override_action_menu.mustache000064400000005646152267117610012522 0ustar00{{! 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 . }} {{! @template mod_lesson/override_action_menu A select menu and button for user and group overrides. Classes required for JS: * none Context variables required for this template: * see mod/lesson/classes/output/override_action_menu.php Example context (json): { "urlselect": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "helpicon": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon":{ "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "showbutton": "Go", "options": [{ "name": "Group 1", "isgroup": true, "options": [ {"name": "Item 1", "isgroup": false, "value": "1"}, {"name": "Item 2", "isgroup": false, "value": "2"} ]}, {"name": "Group 2", "isgroup": true, "options": [ {"name": "Item 3", "isgroup": false, "value": "3"}, {"name": "Item 4", "isgroup": false, "value": "4"} ]}], "disabled": false, "title": "Some cool title" }, "addoverride": { "link": "https://moodle.org", "text": "Add override" }, "headinglevel": 3, "heading": "Some heading" } }}
      {{#urlselect}} {{/urlselect}} {{#addoverride}} {{/addoverride}}
      {{heading}} edit_action_area.mustache000064400000005505152267117610011566 0ustar00{{! 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 . }} {{! @template mod_lesson/edit_action_area Edit navigation for the lesson. Classes required for JS: * none Context variables required for this template: * see mod/lesson/classes/output/edit_action_area.php Example context (json): { "back": { "link": "https://moodle.org", "text": "Back" }, "viewselect": { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "helpicon": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon":{ "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "showbutton": "Go", "options": [{ "name": "Group 1", "isgroup": true, "options": [ {"name": "Item 1", "isgroup": false, "value": "1"}, {"name": "Item 2", "isgroup": false, "value": "2"} ]}, {"name": "Group 2", "isgroup": true, "options": [ {"name": "Item 3", "isgroup": false, "value": "3"}, {"name": "Item 4", "isgroup": false, "value": "4"} ]}], "disabled": false, "title": "Some cool title" }, "headinglevel": 3, "heading": "Some heading" } }}
      {{#viewselect}} {{/viewselect}}
      {{heading}} report_action_menu.mustache000064400000004732152267117610012211 0ustar00{{! 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 . }} {{! @template mod_lesson/report_action_menu Navigation element for different reports. Classes required for JS: * none Context variables required for this template: * see mod/lesson/classes/output/report_action_menu.php Example context (json): { "id": "url_select_test", "action": "https://example.com/post", "formid": "url_select_form", "sesskey": "sesskey", "label": "core/url_select", "helpicon": { "title": "Help with something", "text": "Help with something", "url": "http://example.org/help", "linktext": "", "icon":{ "extraclasses": "", "attributes": [ {"name": "src", "value": "../../../pix/help.svg"}, {"name": "alt", "value": "Help icon"} ] } }, "showbutton": "Go", "options": [{ "name": "Group 1", "isgroup": true, "options": [ {"name": "Item 1", "isgroup": false, "value": "1"}, {"name": "Item 2", "isgroup": false, "value": "2"} ]}, {"name": "Group 2", "isgroup": true, "options": [ {"name": "Item 3", "isgroup": false, "value": "3"}, {"name": "Item 4", "isgroup": false, "value": "4"} ]}], "disabled": false, "title": "Some cool title", "headinglevel": 3, "heading": "Some heading" } }}
      {{#reportselect}}
      {{/reportselect}}
      {{heading}} edit_action_buttons.mustache000064400000005245152267117610012355 0ustar00{{! 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 . }} {{! @template mod_lesson/edit_action_buttons Actions panel for essay grading. Classes required for JS: * none Context variables required for this template: * see mod/lesson/classes/output/edit_action_buttons.php Example context (json): { "edit": { "button": { "id" : "id1", "method" : "get", "url" : "#", "formid": "1", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Edit", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] } }, "gradeessays": { "button": { "id" : "id2", "method" : "get", "url" : "#", "formid": "2", "primary" : false, "tooltip" : "This is a tooltip", "label" : "Grade essays", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] } } } }}
      {{#edit}} {{#button}} {{/button}} {{/edit}} {{#editcontents}} {{#button}} {{/button}} {{/editcontents}} {{#gradeessays}} {{#button}} {{/button}} {{/gradeessays}}
      {{#notification}} {{> core/notification }} {{/notification}} main_action_menu.mustache000064400000003551152267157730011627 0ustar00{{! 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 . }} {{! @template mod_book/main_action_menu Previous and next buttons for the book. Classes required for JS: * none Context variables required for this template: * see mod/book/classes/output/main_actionbar.php Example context (json): { "previous": { "url": "https://moodle.org", "title": "Chapter 1: First of many" }, "next": { "url": "https://moodle.org", "title": "Chapter 3: Last of many" } } }}
      {{#previous}} {{/previous}} {{#next}} {{/next}}
      print_book_chapter.mustache000064400000003605152267161300012162 0ustar00{{! 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 comments. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template booktool_print/print_book_chapter Print book chapter page. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * printdialoglink string The URL pointing to the print book chapter popup window. * booktitle string The HTML of the book title. * parentchaptertitle string The HTML of the parent chapter title (if exists). * chapter object The object containing the HTML of the chapter content and chapter's visibility. Example context (json): { "printdialoglink": "Print book", "booktitle": "

      Book title

      ", "parentchaptertitle": "

      Parent chapter title

      ", "chapter": { "content": "
      Chapter content
      ", "visible": "true" } } }}
      {{{ printdialoglink }}}
      {{{ booktitle }}}
      {{#parentchaptertitle}}
      {{{parentchaptertitle}}}
      {{/parentchaptertitle}} {{{chapter.content}}}
      print_book.mustache000064400000010701152267161300010447 0ustar00{{! 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 comments. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template booktool_print/print_book Print book page. Classes required for JS: * none Data attributes required for JS: * none * printdialoglink string The URL pointing to the print book chapter popup window. * booktitle string The HTML of the book title. * bookintro string The book description. * sitelink string The HTML link pointing to the site's dashboard. * coursename string The name of the course. * modulename string The name of the module. * username string The user name. * printdate string The print date. * chaptertitle string The title of the chapter. * toc object The HTML of the table of contents. * chapters array The array of book chapters, their content and visibility information. Example context (json): { "printdialoglink": "Print book", "booktitle": "

      Book title

      ", "bookintro": "Book description", "sitelink" : "Site title", "coursename" : "Course name", "modulename" : "Module name", "username" : "User name", "printdate" : "Tuesday, 22 January 2019, 10:17 AM", "chaptertitle": "Chapter title", "toc" : "
      Table of contents
      ", "chapters": [ { "content": "
      Chapter1 content
      ", "visible": "true" }, { "content": "
      Chapter2 content
      ", "visible": "false" } ] } }}
      {{{ printdialoglink }}}
      {{{ booktitle }}}
      {{# str }} site {{/ str }}: {{{ sitelink }}}
      {{# str }} course {{/ str }}: {{{ coursename }}}
      {{# str }} modulename, mod_book {{/ str }}: {{{ modulename }}}
      {{# str }} printedby, booktool_print {{/ str }}: {{{ username }}}
      {{# str }} printdate, booktool_print {{/ str }}: {{{ printdate }}}
      {{#bookintro}}

      {{#str}} description {{/str}}

      {{{ bookintro }}}

      {{/bookintro}}
      {{{ toc }}}
      {{#chapters}} {{#visible }}
      {{{ content }}}
      {{/visible}} {{/chapters}}
      admin_action_settings.mustache000064400000002030152267174170012653 0ustar00{{! 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 . }} {{! @template core_ai/admin_action_settings Template to display a headings for per provider actions. Context variables required for this template: * none Example context (json): { } }}

      {{#str}}actionsettings, core_ai{{/str}}

      {{#str}}actionsettings_desc, core_ai{{/str}}
      policymodal.mustache000064400000003514152267174170010632 0ustar00{{! 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 . }} {{! @template core_ai/policymodal Modal to allow acceptance of the AI Policy. To be used in combination with core_ai/policy ESM monly. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * elementid: The id of the element that will be used to create the modal. Example context (json): { "elementid": "exampleId" } }} {{< core/modal }} {{$title}} {{#str}} aiusagepolicy, core_ai{{/str}} {{/title}} {{$body}}
      {{#str}} userpolicy, core_ai{{/str}}
      {{/body}} {{$footer}} {{/footer}} {{/ core/modal }} policyblock.mustache000064400000003100152267174170010617 0ustar00{{! 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 . }} {{! @template core_ai/policyblock Template to display AI policy in the block drawer. Context variables required for this template: * none Example context (json): { } }}

      {{#str}} aiusagepolicy, core_ai {{/str}}

      {{#str}} userpolicy, core_ai {{/str}}
      admin_noproviders.mustache000064400000002137152267174170012040 0ustar00{{! 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 . }} {{! @template core_ai/admin_noproviders Template to display a message when there are no AI providers configured. Context variables required for this template: * providerurl - URL to the AI provider settings page. Example context (json): { "providerurl": "http://example.com" } }}
      {{#str}}noproviders, core_ai, {{{providerurl}}}{{/str}}
      admin_add_provider.mustache000064400000002367152267174170012135 0ustar00{{! 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 . }} {{! @template core_ai/admin_add_provider Template to display a call to action to create new AI providers. Context variables required for this template: * addnewproviderurl - URL to the AI provider setup page. Example context (json): { "addnewproviderurl": "http://example.com" } }} admin_delete_provider.mustache000064400000003062152267174170012640 0ustar00{{! 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 . }} {{! @template core_ai/admin_delete_provider Template to display a call render the delete button for a provider. Context variables required for this template: * id - provider instance id. * name - provider instance name. * provider - provider name. * delete-method - Webservice method name for delete. Example context (json): { "id": 1, "name": "Provider 1", "provider": "aiprovider_openai", "delete-method": "core_ai_delete_provider_instance" } }}  {{#str}}delete, core{{/str}} element-choicedropdown.mustache000064400000012346152267361060012753 0ustar00{{! 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 . }} {{! @template core_form/element-choicedropdown Choice dialog form element template. Context variables required for this template: * id - Element id, * nameraw - Raw Element name without '[]' * name - Element name, * label - Element label, * multiple - multi select?, * checked - checked?, * error - Is there an error associated with this element?, * size - Element size, * value - Element value, * helpbutton - Helpbutton, * hiddenlabel - Element hidden flag, * frozen - Element frozen flag, * hardfrozen - Element hard fronzen flag, * extraclasses - Extra classes assocaited, * type - Element type, * attributes - Element attributes, * options - [ { text - Option text, value - Option value, selected - Selected?, disabled - Disabled?, optionattributes - Option attributes } ] Example context (json): { "element": { "wrapperid": "fitem_id_choicedropdownfield", "iderror": "error_id_choicedropdownfield", "id": "id_choicedropdownfield", "nameraw": "choicedropdownfield", "name": "choicedropdownfield", "label": null, "multiple": null, "checked": null, "error": null, "size": null, "value": null, "helpbutton": "", "hiddenlabel": false, "frozen": false, "hardfrozen": false, "extraclasses": null, "type": "select", "attributes": "", "fieldicon": "", "options": [ { "rawoptionid": "1", "text": "Hidden", "value": 0, "selected": false, "disabled": false, "optionattributes": "" }, { "rawoptionid": "2", "text": "Visible to everyone", "value": 1, "selected": true, "disabled": false, "optionattributes": "" }, { "rawoptionid": "3", "text": "Allow only other course members to see my email address", "value": 2, "selected": false, "disabled": false, "optionattributes": "" } ] } } }} {{< core_form/element-template }} {{$element}} {{^element.frozen}} {{#element.dropdown}} {{< core/local/dropdown/status}} {{$ buttonclasses }} btn btn-outline-secondary dropdown-toggle {{/ buttonclasses }} {{/ core/local/dropdown/status}} {{/element.dropdown}} {{/element.frozen}} {{#element.frozen}} {{#element.options}} {{#selected}} {{{text}}} {{^element.hardfrozen}} {{/element.hardfrozen}} {{/selected}} {{/element.options}} {{/element.frozen}} {{/element}} {{/ core_form/element-template }} {{#js}} require(['core_form/choicedropdown'], function(ChioceDropdown) { ChioceDropdown.init('{{element.id}}'); }); {{/js}} element-questioncategory.mustache000064400000000046152267361060013343 0ustar00{{> core_form/element-selectgroups }} element-date_selector.mustache000064400000000752152267361060012557 0ustar00{{< core_form/element-group }} {{$element}}
      {{label}} {{#element.elements}} {{{separator}}} {{{html}}} {{/element.elements}}
      {{/element}} {{/ core_form/element-group }} element-select-inline.mustache000064400000003025152267361060012471 0ustar00{{< core_form/element-template-inline }} {{$element}} {{^element.frozen}} {{#element.multiple}} {{/element.multiple}} {{/element.frozen}} {{#element.frozen}} {{#element.options}} {{#selected}} {{{text}}} {{^element.hardfrozen}} {{/element.hardfrozen}} {{/selected}} {{/element.options}} {{/element.frozen}} {{/element}} {{/ core_form/element-template-inline }} element-warning.mustache000064400000000200152267361060011373 0ustar00{{< core_form/element-template }} {{$element}} {{{element.html}}} {{/element}} {{/ core_form/element-template }}element-textarea.mustache000064400000001227152267361060011555 0ustar00{{< core_form/element-template }} {{$element}} {{/element}} {{/ core_form/element-template }} element-button.mustache000064400000001320152267361060011245 0ustar00{{< core_form/element-template }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{/element}} {{/ core_form/element-template }} element-grading.mustache000064400000000201152267361060011342 0ustar00{{< core_form/element-template }} {{$element}} {{{element.html}}} {{/element}} {{/ core_form/element-template }} element-checkbox.mustache000064400000005314152267361060011527 0ustar00
      {{#text}} {{/text}}
      {{^element.hardfrozen}} {{#element.frozen}} {{/element.frozen}} {{/element.hardfrozen}} {{#text}} {{{.}}} {{/text}} {{^text}} {{/text}}
      {{#required}} {{/required}} {{{helpbutton}}}
      {{^element.frozen}} {{#js}} require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} {{/element.frozen}} element-submit.mustache000064400000002217152267361060011243 0ustar00{{< core_form/element-template }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{/element}} {{/ core_form/element-template }} {{# js }} {{^element.frozen}} require(['core_form/submit'], function(Submit) { Submit.init("{{ element.id }}"); }); {{/element.frozen}} {{/ js }} element-date_time_selector-inline.mustache000064400000000500152267361060015040 0ustar00{{< core_form/element-template-inline }} {{$element}}
      {{#element.elements}} {{{separator}}} {{{html}}} {{/element.elements}}
      {{/element}} {{/ core_form/element-template-inline }} element-password-inline.mustache000064400000003452152267361060013060 0ustar00{{! 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 . }} {{! @template core_form/element-password-inline Password inline form element template. Example context (json): { "element": { "name": "test", "id": "test0", "size": null, "error": null, "value": "Sample text", "frozen": false, "iderror": "test0_error", "attributes": "" } } }} {{< core_form/element-template-inline }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{/element}} {{/ core_form/element-template-inline }} element-filetypes.mustache000064400000000037152267361060011742 0ustar00{{> core_form/element-group }} element-defaultcustom-inline.mustache000064400000002564152267361060014100 0ustar00{{! 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 . }} {{! @template core_form/element-defaultcustom-inline Defaultcustom form element template. Example context (json): { "element": { "elements": [ {"html": "", "separator": ""}, {"html": "", "separator": ""} ] } } }} {{< core_form/element-template-inline }} {{$element}} {{#element.elements}} {{{separator}}} {{{html}}} {{/element.elements}} {{/element}} {{/ core_form/element-template-inline }} element-filemanager.mustache000064400000001513152267361060012210 0ustar00{{< core_form/element-template }} {{$label}} {{^element.hiddenlabel}} {{/element.hiddenlabel}} {{/label}} {{$element}}
      {{label}} {{{element.html}}}
      {{/element}} {{/ core_form/element-template }} {{#js}} (function() { var label = document.getElementById('{{element.id}}_label'); if (label) { label.style.cursor = 'default'; label.addEventListener('click', function() { document.querySelectorAll('#{{element.id}}_fieldset div.fp-toolbar a')[0].focus(); }); } })(); {{/js}} element-selectyesno.mustache000064400000000040152267361060012265 0ustar00{{> core_form/element-select }} element-selectgroups-inline.mustache000064400000002322152267361060013730 0ustar00{{< core_form/element-template-inline }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{#element.frozen}} {{#element.optiongroups}} {{#options}} {{#selected}}{{{text}}}{{/selected}} {{/options}} {{/element.optiongroups}} {{/element.frozen}} {{/element}} {{/ core_form/element-template-inline }} element-checkbox-inline.mustache000064400000002435152267361060013004 0ustar00 {{#text}} {{{.}}} {{/text}} {{{helpbutton}}} {{^element.frozen}} {{#js}} require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} {{/element.frozen}} element-tags-inline.mustache000064400000003363152267361060012155 0ustar00{{< core_form/element-template-inline }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{#element.frozen}} {{#element.options}} {{#selected}}{{{text}}}{{/selected}} {{/element.options}} {{/element.frozen}} {{#element.managestandardtagsurl}} {{#str}}managestandardtags, core_tag{{/str}} {{/element.managestandardtagsurl}} {{/element}} {{/ core_form/element-template-inline }} {{^element.frozen}} {{#js}} require(['core/form-autocomplete'], function(module) { module.enhance({{#quote}}#{{element.id}}{{/quote}}, {{element.tags}}, {{#quote}}{{element.ajax}}{{/quote}}, {{#quote}}{{element.placeholder}}{{/quote}}, {{element.casesensitive}}, {{element.showsuggestions}}, {{#quote}}{{element.noselectionstring}}{{/quote}}); }); {{/js}} {{/element.frozen}} element-modgrade.mustache000064400000000037152267361060011520 0ustar00{{> core_form/element-group }} element-duration-inline.mustache000064400000000417152267361060013041 0ustar00{{< core_form/element-template-inline }} {{$element}}
      {{#element.elements}} {{{separator}}} {{{html}}} {{/element.elements}}
      {{/element}} {{/ core_form/element-template-inline }}element-template-inline.mustache000064400000001473152267361060013032 0ustar00
      {{#label}} {{/label}} {{$ element }} {{/ element }}
      {{#js}} require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} filetypes-trigger.mustache000064400000002620152267361060011754 0ustar00{{! 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 . }} {{! @template core_form/filetypes-trigger Renders the button to open the file types browser element. This template uses element of the type "button" as that one seems to be well styled by default (especially when compared to alternatives like {{/element.frozen}} {{/element}} {{/ core_form/element-template-inline }} element-autocomplete.mustache000064400000003465152267361060012447 0ustar00{{< core_form/element-template }} {{$element}} {{^element.frozen}} {{#element.multiple}} {{/element.multiple}} {{/element.frozen}} {{#element.frozen}} {{#element.options}} {{#selected}} {{{text}}} {{^element.hardfrozen}} {{/element.hardfrozen}} {{/selected}} {{/element.options}} {{/element.frozen}} {{/element}} {{/ core_form/element-template }} {{^element.frozen}} {{#js}} require(['core/form-autocomplete'], function(module) { module.enhance({{#quote}}#{{element.id}}{{/quote}}, {{element.tags}}, {{#quote}}{{element.ajax}}{{/quote}}, {{#quote}}{{element.placeholder}}{{/quote}}, {{element.casesensitive}}, {{element.showsuggestions}}, {{#quote}}{{element.noselectionstring}}{{/quote}}); }); {{/js}} {{/element.frozen}} element-submit-inline.mustache000064400000001761152267361060012522 0ustar00{{< core_form/element-template-inline }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{/element}} {{/ core_form/element-template-inline }} {{# js }} {{^element.frozen}} require(['core_form/submit'], function(Submit) { Submit.init("{{ element.id }}"); }); {{/element.frozen}} {{/ js }} element-tags.mustache000064400000003345152267361060010701 0ustar00{{< core_form/element-template }} {{$element}} {{^element.frozen}} {{/element.frozen}} {{#element.frozen}} {{#element.options}} {{#selected}}{{{text}}}{{/selected}} {{/element.options}} {{/element.frozen}} {{#element.managestandardtagsurl}} {{#str}}managestandardtags, core_tag{{/str}} {{/element.managestandardtagsurl}} {{/element}} {{/ core_form/element-template }} {{^element.frozen}} {{#js}} require(['core/form-autocomplete'], function(module) { module.enhance({{#quote}}#{{element.id}}{{/quote}}, {{element.tags}}, {{#quote}}{{element.ajax}}{{/quote}}, {{#quote}}{{element.placeholder}}{{/quote}}, {{element.casesensitive}}, {{element.showsuggestions}}, {{#quote}}{{element.noselectionstring}}{{/quote}}); }); {{/js}} {{/element.frozen}} element-template.mustache000064400000006017152267361060011555 0ustar00{{! 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 . }} {{! @template core_form/element-template Template for the form element wrapper template. Context variables required for this template: * label * required * advanced * helpbutton * error * element * id * name Example context (json): { "label": "Course full name", "required": true, "advanced": false, "error": null, "element": { "wrapperid": "fitem_id_fullname", "id": "id_fullname", "name": "fullname" } } }}
      {{# label}}{{$ label }} {{^element.staticlabel}} {{/element.staticlabel}} {{#element.staticlabel}} {{{label}}} {{/element.staticlabel}} {{/ label }}{{/ label}}
      {{#required}} {{/required}} {{{helpbutton}}}
      {{$ element }} {{/ element }}
      {{#js}} require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} modal.mustache000064400000006653152270157730007416 0ustar00{{! 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 . }} {{! @template tiny_link/modal Modal to manage a link within the Tiny Editor. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: Example context (json): { "elementid": "exampleId", "setLinkOnElement": false, "showfilepicker": true, "urltext": "Abc", "url": "https://moodle.org/", "newwindow": false, "isupdating": true } }} {{< core/modal }} {{$title}} {{#str}} createlink, tiny_link {{/str}} {{/title}} {{$body}}
      {{#showfilepicker}}
      {{/showfilepicker}} {{^showfilepicker}} {{/showfilepicker}}
      {{/body}} {{$footer}} {{/footer}} {{/ core/modal }} embed_link.mustache000064400000001766152270157730010413 0ustar00{{! 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 . }} {{! @template tiny_link/embed_link Embed media link template. Example context (json): { } }} {{! }}{{#name}}{{{.}}}{{/name}}{{! }}{{^name}}{{url}}{{/name}}{{! }}