芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/cepali/lib/form/templates/filetypes-browser.mustache
{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see
. }} {{! @template core_form/filetypes-browser The template is used to render the content of the UI widget allowing the user to select individual file types or their groups. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * groups * key * name * selectable * expanded * ext * types * key * name * selected * expanded * ext Example context (json): { "groups": [ { "key": "web_file", "name": "Web files", "selectable": true, "selected": false, "ext": ".css .html .xhtml .htm .js", "types": [ { "key": ".css", "name": "Cascading Style-Sheet", "selected": true, "ext": ".css" }, { "key": ".htm", "name": "HTML text", "selected": false, "ext": ".htm .xhtml .html" } ] }, { "key": "web_audio", "name": "Web-safe audio files", "selectable": false, "selected": false, "ext": null, "types": [ { "key": "audio/mp3", "name": "Audio file (MP3)", "selected": false, "ext": ".mp3" } ] } ] } }}
{{#groups}}
{{#selectable}}
{{name}}
{{ext}}
{{/selectable}} {{^selectable}}
{{name}}
{{/selectable}}
{{#types.0}} {{! The tree provides its own accessibility controls, these two links are here for mouse users. For that reason, we hide them from assistive technologies. }}
{{#str}}expand{{/str}}
{{#str}}collapse{{/str}}
{{/types.0}}
{{#types}}
{{name}}
{{ext}}
{{/types}}
{{/groups}}