Merge branch 'MDL-55464_m32v1' of https://github.com/sbourget/moodle
This commit is contained in:
@@ -38,4 +38,12 @@ $capabilities = array(
|
||||
'clonepermissionsfrom' => 'moodle/course:manageactivities'
|
||||
),
|
||||
|
||||
'mod/label:view' => array(
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_MODULE,
|
||||
'archetypes' => array(
|
||||
'user' => CAP_ALLOW,
|
||||
'guest' => CAP_ALLOW
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
@@ -32,6 +32,7 @@ $string['dndresizewidth'] = 'Resize drag and drop width';
|
||||
$string['dnduploadlabel'] = 'Add image to course page';
|
||||
$string['dnduploadlabeltext'] = 'Add a label to the course page';
|
||||
$string['label:addinstance'] = 'Add a new label';
|
||||
$string['label:view'] = 'View labels';
|
||||
$string['labeltext'] = 'Label text';
|
||||
$string['modulename'] = 'Label';
|
||||
$string['modulename_help'] = 'The label module enables text and multimedia to be inserted into the course page in between links to other resources and activities. Labels are very versatile and can help to improve the appearance of a course if used thoughtfully.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2016052300; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2016080400; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->requires = 2016051900; // Requires this Moodle version
|
||||
$plugin->component = 'mod_label'; // Full name of the plugin (used for diagnostics)
|
||||
$plugin->cron = 0;
|
||||
|
||||
Reference in New Issue
Block a user