Commit adc9628f authored by Myriam Delaruelle's avatar Myriam Delaruelle
Browse files

Groupe name and rights on pages for members fix

parent 058b53ba
......@@ -196,7 +196,7 @@ class block_mahara_iena_connexion
$mo_group_name = groups_get_group_name($mo_user_group_id);
$group = new stdClass();
$group->name = get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $mo_group_name;
$group->name = $COURSE->shortname . " – " . $mo_group_name;
$group->description = get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $mo_group_name;
$group->grouptype = 'course';
$group->request = true;
......@@ -277,7 +277,7 @@ class block_mahara_iena_connexion
$mo_group_name = $mo_group->name;
$group = new stdClass();
$group->name = get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $mo_group_name;
$group->name = $COURSE->shortname . " – " . $mo_group_name;
$group->description = get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $mo_group_name;
$group->grouptype = 'course';
$group->request = true;
......@@ -336,7 +336,7 @@ class block_mahara_iena_connexion
$mo_group_name = groups_get_group_name($mo_user_group_id);
$group = new stdClass();
$group->name = get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $mo_group_name;
$group->name = $COURSE->shortname . " – " . $mo_group_name;
$group->description = get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $mo_group_name;
$group->grouptype = 'course';
$group->request = true;
......
......@@ -81,7 +81,7 @@ if (count($students) == 0) {
array (
0 =>
array (
'name' => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname,
'name' => $COURSE->shortname,
'description' => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname,
'grouptype' => 'course',
'request' => true,
......
......@@ -73,7 +73,7 @@ if (count($students) == 0) {
array_push($mahara_groups, array(
'name' => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $group->name,
'name' =>$COURSE->shortname . " – " . $group->name,
'description' => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $group->name,
'grouptype' => 'course',
'request' => true,
......@@ -85,7 +85,7 @@ if (count($students) == 0) {
array_push($name_groups, array(
"group_id" => $group->id,
"group_name" => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $group->name,
"group_name" => $COURSE->shortname . " – " . $group->name,
));
}
......
......@@ -28,7 +28,7 @@
*/
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2019062101;
$plugin->version = 2021102500;
$plugin->requires = 2014051200;
$plugin->component = 'block_mahara_iena';
$plugin->release = 'v1.0';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment