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.
37 lines
1.9 KiB
PHP
37 lines
1.9 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_singleactivity'
|
|
*
|
|
* @package format_singleactivity
|
|
* @copyright 2012 Marina Glancy
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['activitytype'] = 'Type of activity';
|
|
$string['activitytype_help'] = 'Choose the type of activity or resource to use in this course';
|
|
$string['defactivitytype'] = 'Default type of activity';
|
|
$string['defactivitytypedesc'] = 'Specify the activity type that will be selected by default when creating a new course';
|
|
$string['erroractivitytype'] = 'Type of activity is not set up in Course settings';
|
|
$string['orphaned'] = 'Orphaned';
|
|
$string['orphanedwarning'] = 'These activities are unreachable by users!';
|
|
$string['pluginname'] = 'Single activity';
|
|
$string['plugin_description'] = 'The course contains only one activity or resource.';
|
|
$string['sectionname'] = '';
|
|
$string['warningchangeformat'] = 'When changing the existing course format to "Single activity" make sure that you removed all extra activities from the course including "Announcements". Note that sections structure may be modified.';
|
|
$string['privacy:metadata'] = 'The Single activity format plugin does not store any personal data.';
|