芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/admin/tool/langimport/templates/langimport.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 tool_langimport/langimport Template for the language import page. Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * sesskey string The session key. * uninstallurl string The URL for the uninstall action. * updateurl string The URL for the update-language-packs action. * installurl string The URL for the install action. * installedoptions array The list of languages installed. * toinstalloptions array The list of languages to be installed. * caninstall boolean Flag to indicate if there are language packs that can be installed. Example context (json): { "sesskey": "sesskey", "uninstallurl": "#", "updateurl": "#", "installurl": "#", "installedoptions": [ { "value": "en", "text": "English", "selected": true } ], "toinstalloptions": [ { "value": "ja", "text": "Japanese" }, { "value": "fr", "text": "French" }, { "value": "es", "text": "Spanish" } ], "caninstall": true } }}
{{#str}}installedlangs, tool_langimport{{/str}}
{{#installedoptions}}
{{{text}}}
{{/installedoptions}}
{{#updateurl}}
{{/updateurl}}
{{#caninstall}}
{{#str}}availablelangs, install{{/str}}
{{#toinstalloptions}}
{{{text}}}
{{/toinstalloptions}}
{{/caninstall}}