���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home3/cpr76684/public_html/cm.tar
���ѧ٧ѧ�
activity.mustache 0000644 00000011202 15152100553 0010124 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_courseformat/local/content/cm/activity Display the activity content of a cm. Example context (json): { "cmname": { "displayvalue" : "<a class=\"aalink\" href=\"#\"><span class=\"instancename\">Activity example</span></a>" }, "hasname": "true", "afterlink": "<span class=\"badge badge-primary\">30 unread messages</span>", "hasextras": true, "extras": ["<span class=\"badge badge-secondary\">[extras]</span>"], "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 } }} {{#moveicon}} {{{moveicon}}} {{/moveicon}} <div class="activity-basis d-flex align-items-center"> <div class="d-flex flex-column flex-md-row w-100 align-self-start"> {{^hasname}} {{$ core_courseformat/local/content/cm/badges }} {{> core_courseformat/local/content/cm/badges }} {{/ core_courseformat/local/content/cm/badges }} {{/hasname}} {{#cmname}} {{$ core_courseformat/local/content/cm/cmname }} {{> core_courseformat/local/content/cm/cmname }} {{/ core_courseformat/local/content/cm/cmname }} {{/cmname}} {{#afterlink}} <div class="afterlink d-flex align-items-center ml-3"> {{{afterlink}}} </div> {{/afterlink}} {{#activityinfo}} <div class="activity-info mt-1 mt-md-0"> {{$ core_courseformat/local/content/cm/activity_info}} {{> core_courseformat/local/content/cm/activity_info}} {{/ core_courseformat/local/content/cm/activity_info}} </div> {{/activityinfo}} </div> {{#controlmenu}} <div class="activity-actions align-self-start"> {{$ core_courseformat/local/content/cm/controlmenu }} {{> core_courseformat/local/content/cm/controlmenu }} {{/ core_courseformat/local/content/cm/controlmenu }} </div> {{/controlmenu}} </div> {{#hasname}} {{$ core_courseformat/local/content/cm/badges }} {{> core_courseformat/local/content/cm/badges }} {{/ core_courseformat/local/content/cm/badges }} {{/hasname}} <div class="description"> {{#activityinfo}} {{#hasdates}} <div data-region="activity-dates" class="activity-dates small course-description-item"> <div class="description-inner"> {{#activitydates}} {{$core_course/activity_date}} {{>core_course/activity_date}} {{/core_course/activity_date}} {{/activitydates}} </div> </div> {{/hasdates}} {{/activityinfo}} {{#altcontent}} <div class="activity-altcontent {{#hasname}}course-description-item small{{/hasname}}{{^hasname}}contentwithoutlink{{/hasname}} d-flex"> <div class="flex-fill description-inner"> {{{altcontent}}} </div> </div> {{/altcontent}} {{#modavailability}} {{$ core_courseformat/local/content/cm/availability }} {{> core_courseformat/local/content/cm/availability }} {{/ core_courseformat/local/content/cm/availability }} {{/modavailability}} </div> availability.mustache 0000644 00000003217 15152100553 0010751 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_courseformat/local/content/cm/availability Displays a activity availability. Example context (json): { "info": [ { "classes": "", "text": "Not available unless: <ul><li>It is on or after <strong>8 June 2012</strong></li></ul>", "ishidden": 0, "isstealth": 0, "isrestricted": 1, "isfullinfo": 1 } ], "hasmodavailability": true } }} {{#hasmodavailability}} {{#info}} <div class="availabilityinfo small course-description-item {{classes}}"> {{^isrestricted}} <span class="badge badge-pill badge-warning">{{{text}}}</span> {{/isrestricted}} {{#isrestricted}} <div class="description-inner"> {{#pix}}t/unlock, core{{/pix}} {{{text}}} </div> {{/isrestricted}} </div> {{/info}} {{/hasmodavailability}} cmname.mustache 0000644 00000005014 15152100553 0007534 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_courseformat/local/content/cm/cmname Convenience mustache to displays a course module inplcae editable from the format renderer. Format plugins are free to implement an alternative inplace editable for activities. Example context (json): { "url": "#", "icon": "../../../pix/help.svg", "iconclass": "", "pluginname": "File", "textclasses": "", "purpose": "content", "modname": "resource", "activityname": { "displayvalue" : "<a href=\"#\">Moodle</a>", "value" : "Moodle", "itemid" : "1", "component" : "core_unknown", "itemtype" : "unknown", "edithint" : "Edit this", "editlabel" : "New name for this", "type" : "text", "options" : "", "linkeverything": 0 } } }} {{#url}} <div class="activity-instance d-flex flex-column"> <div class="activitytitle media {{textclasses}} modtype_{{modname}} position-relative align-self-start"> <div class="activityiconcontainer {{purpose}} courseicon align-self-start mr-3"> <img src="{{{icon}}}" class="activityicon {{iconclass}}" alt="{{{modname}}} icon"> </div> <div class="media-body align-self-center"> {{#pluginname}} <div class="text-uppercase small"> {{{pluginname}}} </div> {{/pluginname}} <div class="activityname"> {{#activityname}} {{$ core/inplace_editable }} {{> core/inplace_editable }} {{/ core/inplace_editable }} {{/activityname}} </div> </div> </div> </div> {{/url}} title.mustache 0000644 00000002574 15152100553 0007425 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_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}} <a href="{{url}}" class="{{linkclasses}} aalink stretched-link" onclick="{{{onclick}}}"> <span class="instancename">{{{instancename}}} {{{altname}}}</span> </a> {{/uservisible}} {{^uservisible}} <span class="instancename"> {{{instancename}}} {{{altname}}} </span> {{/uservisible}} badges.mustache 0000644 00000002632 15152100553 0007524 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_courseformat/local/content/cm/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): { "modhiddenfromstudents" : "1", "modstealth" : "1" } }} {{#modhiddenfromstudents}} <div class="my-1 d-flex align-items-center"> <span class="badge badge-pill badge-warning">{{#str}}hiddenfromstudents{{/str}}</span> </div> {{/modhiddenfromstudents}} {{#modstealth}} <div class="my-1 d-flex align-items-center"> <span class="badge badge-pill badge-warning">{{#str}}hiddenoncoursepage{{/str}}</span> </div> {{/modstealth}} activity_info.mustache 0000644 00000005111 15152100553 0011141 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_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): { "activityname": "Course announcements", "hascompletion": true, "uservisible": true, "isautomatic": true, "showmanualcompletion": true, "completiondetails": [ { "statuscomplete": 1, "description": "Viewed" }, { "statusincomplete": 1, "description": "Receive a grade" } ] } }} <div data-region="activity-information" data-activityname="{{activityname}}" class="activity-information"> {{#hascompletion}} {{#uservisible}} <div data-region="completion-info"> {{#isautomatic}} <div class="automatic-completion-conditions" data-region ="completionrequirements" role="list" aria-label="{{#str}}completionrequirements, core_course, {{activityname}}{{/str}}"> {{#completiondetails}} {{$ core_course/completion_automatic }} {{> core_course/completion_automatic }} {{/ core_course/completion_automatic }} {{/completiondetails}} </div> {{/isautomatic}} {{^isautomatic}} {{#showmanualcompletion}} {{$ core_course/completion_manual }} {{> core_course/completion_manual }} {{/ core_course/completion_manual }} {{/showmanualcompletion}} {{/isautomatic}} </div> {{/uservisible}} {{/hascompletion}} </div> controlmenu.mustache 0000644 00000002372 15152100553 0010645 0 ustar 00 {{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_courseformat/local/content/cm/controlmenu Displays an activity control menu (dropdown menu). Example context (json): { "menu": "<a href=\"#\" class=\"d-inline-block dropdown-toggle icon-no-margin\">Edit<b class=\"caret\"></b></a>", "hasmenu": true } }} {{#hasmenu}} <div class="cm_action_menu actions" data-cmid="{{id}}"> {{#menu}} {{$ core/action_menu }} {{> core/action_menu }} {{/ core/action_menu }} {{/menu}} {{#afterediticons}} {{{.}}} {{/afterediticons}} </div> {{/hasmenu}}
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�