mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-14448_m32v1' of https://github.com/sbourget/moodle
This commit is contained in:
commit
ae76b9ed17
3 changed files with 11 additions and 1 deletions
|
@ -96,4 +96,13 @@ $capabilities = array(
|
||||||
'manager' => CAP_ALLOW
|
'manager' => CAP_ALLOW
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
'mod/lesson:view' => array(
|
||||||
|
'captype' => 'read',
|
||||||
|
'contextlevel' => CONTEXT_MODULE,
|
||||||
|
'archetypes' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
|
'guest' => CAP_ALLOW
|
||||||
|
)
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
|
@ -253,6 +253,7 @@ $string['lesson:edit'] = 'Edit a lesson activity';
|
||||||
$string['lessonformating'] = 'Lesson formatting';
|
$string['lessonformating'] = 'Lesson formatting';
|
||||||
$string['lesson:manage'] = 'Manage a lesson activity';
|
$string['lesson:manage'] = 'Manage a lesson activity';
|
||||||
$string['lesson:manageoverrides'] = 'Manage lesson overrides';
|
$string['lesson:manageoverrides'] = 'Manage lesson overrides';
|
||||||
|
$string['lesson:view'] = 'View lesson activity';
|
||||||
$string['lesson:viewreports'] = 'View lesson reports';
|
$string['lesson:viewreports'] = 'View lesson reports';
|
||||||
$string['lessonname'] = 'Lesson: {$a}';
|
$string['lessonname'] = 'Lesson: {$a}';
|
||||||
$string['lessonmenu'] = 'Lesson menu';
|
$string['lessonmenu'] = 'Lesson menu';
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
defined('MOODLE_INTERNAL') || die();
|
||||||
|
|
||||||
$plugin->version = 2016052300; // The current module version (Date: YYYYMMDDXX)
|
$plugin->version = 2016071300; // The current module version (Date: YYYYMMDDXX)
|
||||||
$plugin->requires = 2016051900; // Requires this Moodle version
|
$plugin->requires = 2016051900; // Requires this Moodle version
|
||||||
$plugin->component = 'mod_lesson'; // Full name of the plugin (used for diagnostics)
|
$plugin->component = 'mod_lesson'; // Full name of the plugin (used for diagnostics)
|
||||||
$plugin->cron = 0;
|
$plugin->cron = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue