Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iena-mahara-link
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
iena
iena-mahara-link
Commits
058b53ba
Commit
058b53ba
authored
Jun 29, 2020
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix : les membres d'un groupe mahara peuvent désormais créer des pages par défaut
parent
9340f28a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
mahara_iena.php
mahara_iena.php
+2
-2
mahara_iena_groups.php
mahara_iena_groups.php
+3
-1
No files found.
mahara_iena.php
View file @
058b53ba
...
...
@@ -75,7 +75,6 @@ if (count($students) == 0) {
'role'
=>
"admin"
,
));
}
//All params used for mahara_group_create_groups her we can add/change some lines
$params
=
array
(
'groups'
=>
...
...
@@ -88,7 +87,8 @@ if (count($students) == 0) {
'request'
=>
true
,
'public'
=>
false
,
'institution'
=>
$CFG
->
instution_mahara
,
'members'
=>
$usersTab
'members'
=>
$usersTab
,
'editroles'
=>
'all'
)
)
);
...
...
mahara_iena_groups.php
View file @
058b53ba
...
...
@@ -71,6 +71,7 @@ if (count($students) == 0) {
continue
;
}
array_push
(
$mahara_groups
,
array
(
'name'
=>
get_string
(
'course_group'
,
'block_mahara_iena'
)
.
" "
.
$COURSE
->
shortname
.
" – "
.
$group
->
name
,
'description'
=>
get_string
(
'course_group'
,
'block_mahara_iena'
)
.
" "
.
$COURSE
->
shortname
.
" – "
.
$group
->
name
,
...
...
@@ -78,7 +79,8 @@ if (count($students) == 0) {
'request'
=>
true
,
'public'
=>
false
,
'institution'
=>
$CFG
->
instution_mahara
,
'members'
=>
$usersTab
'members'
=>
$usersTab
,
'editroles'
=>
'all'
));
array_push
(
$name_groups
,
array
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment