2a708f985a
In MDL-79985 a new form element was created to display a new generic dropdown with extra information like a description or an icon on each option. This commits replaces the select for the course format form element in the Course settings page with this new component.
40 lines
2.0 KiB
PHP
40 lines
2.0 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU 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/>.
|
|
|
|
/**
|
|
* Strings for component 'format_weeks', language 'en', branch 'MOODLE_20_STABLE'
|
|
*
|
|
* @package format_weeks
|
|
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['addsection'] = 'Add week';
|
|
$string['automaticenddate'] = 'Calculate the end date from the number of sections';
|
|
$string['automaticenddate_help'] = 'If enabled, the end date for the course will be automatically calculated from the number of sections and the course start date.';
|
|
$string['currentsection'] = 'Current week';
|
|
$string['hidefromothers'] = 'Hide';
|
|
$string['page-course-view-weeks'] = 'Any course main page in weekly sections format';
|
|
$string['page-course-view-weeks-x'] = 'Any course page in weekly sections format';
|
|
$string['pluginname'] = 'Weekly sections';
|
|
$string['plugin_description'] = 'The course is divided into sections corresponding to each week, beginning from the course start date.';
|
|
$string['privacy:metadata'] = 'The Weekly sections format plugin does not store any personal data.';
|
|
$string['indentation'] = 'Allow indentation on course page';
|
|
$string['indentation_help'] = 'Allow teachers, and other users with the manage activities capability, to indent items on the course page.';
|
|
$string['section0name'] = 'General';
|
|
$string['sectionname'] = 'Week';
|
|
$string['showfromothers'] = 'Show';
|