Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
eLearning
Moodle
moodle-theme_unige
Commits
00f64e17
Commit
00f64e17
authored
Jun 28, 2018
by
Camille Tardy
Browse files
change page title add course --> create Course (idem button)
Signed-off-by:
Camille Tardy
<
camille.tardy@unige.ch
>
parent
f1b86a8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
classes/output/core_renderer.php
View file @
00f64e17
...
...
@@ -215,7 +215,7 @@ class core_renderer extends \theme_boost\output\core_renderer {
$heading
=
get_string
(
'notifications'
,
'moodle'
);
}
elseif
((
$this
->
page
->
pagetype
==
"course-edit"
AND
isset
(
$_GET
[
"category"
]))
OR
(
$this
->
page
->
pagetype
==
"course-edit"
AND
!
isset
(
$_REQUEST
[
"id"
]))
)
{
// if category is set or if Request does not return a course id then its a new course creation
$heading
=
get_string
(
'
add
newcourse'
,
'moodle'
);
$heading
=
get_string
(
'
create
newcourse'
,
'moodle'
);
}
elseif
(
$this
->
page
->
pagetype
==
"course-edit"
AND
isset
(
$_GET
[
"id"
]))
{
// if id is set then its an edition and not a creation
$heading
=
get_string
(
'editcoursesettings'
,
'moodle'
);
...
...
Write
Preview
Supports
Markdown
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