Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
a4ca899b
Unverified
Commit
a4ca899b
authored
5 years ago
by
Tobias Reischmann
Browse files
Options
Downloads
Patches
Plain Diff
Rename manage courses link
parent
f5fe6579
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lang/de/tool_lifecycle.php
+1
-0
1 addition, 0 deletions
lang/de/tool_lifecycle.php
lang/en/tool_lifecycle.php
+1
-0
1 addition, 0 deletions
lang/en/tool_lifecycle.php
lib.php
+3
-3
3 additions, 3 deletions
lib.php
with
5 additions
and
3 deletions
lang/de/tool_lifecycle.php
+
1
−
0
View file @
a4ca899b
...
@@ -27,6 +27,7 @@ $string['pluginname'] = 'Kurs-Lebenszyklus';
...
@@ -27,6 +27,7 @@ $string['pluginname'] = 'Kurs-Lebenszyklus';
$string
[
'plugintitle'
]
=
'Kurs-Lebenszyklus'
;
$string
[
'plugintitle'
]
=
'Kurs-Lebenszyklus'
;
$string
[
'lifecycle:managecourses'
]
=
'Darf Kurse in tool_lifecycle verwalten.'
;
$string
[
'lifecycle:managecourses'
]
=
'Darf Kurse in tool_lifecycle verwalten.'
;
$string
[
'managecourses_link'
]
=
'Kurse verwalten'
;
$string
[
'general_config_header'
]
=
"Allgemein & Subplugins"
;
$string
[
'general_config_header'
]
=
"Allgemein & Subplugins"
;
$string
[
'config_delay_duration'
]
=
'Standardlänge eines Kursausschlusses'
;
$string
[
'config_delay_duration'
]
=
'Standardlänge eines Kursausschlusses'
;
...
...
This diff is collapsed.
Click to expand it.
lang/en/tool_lifecycle.php
+
1
−
0
View file @
a4ca899b
...
@@ -27,6 +27,7 @@ $string['pluginname'] = 'Life Cycle';
...
@@ -27,6 +27,7 @@ $string['pluginname'] = 'Life Cycle';
$string
[
'plugintitle'
]
=
'Course Life Cycle'
;
$string
[
'plugintitle'
]
=
'Course Life Cycle'
;
$string
[
'lifecycle:managecourses'
]
=
'May manage courses in tool_lifecycle'
;
$string
[
'lifecycle:managecourses'
]
=
'May manage courses in tool_lifecycle'
;
$string
[
'managecourses_link'
]
=
'Manage courses'
;
$string
[
'general_config_header'
]
=
"General & Subplugins"
;
$string
[
'general_config_header'
]
=
"General & Subplugins"
;
$string
[
'config_delay_duration'
]
=
'Default duration of a course delay'
;
$string
[
'config_delay_duration'
]
=
'Default duration of a course delay'
;
...
...
This diff is collapsed.
Click to expand it.
lib.php
+
3
−
3
View file @
a4ca899b
...
@@ -50,15 +50,15 @@ function tool_lifecycle_extend_navigation_course($navigation, $course, $context)
...
@@ -50,15 +50,15 @@ function tool_lifecycle_extend_navigation_course($navigation, $course, $context)
));
));
// Add the course life cycle link.
// Add the course life cycle link.
$
pluginname
=
get_string
(
'
plugintitle
'
,
'tool_lifecycle'
);
$
linktext
=
get_string
(
'
managecourses_link
'
,
'tool_lifecycle'
);
$node
=
navigation_node
::
create
(
$node
=
navigation_node
::
create
(
$
pluginname
,
$
linktext
,
$url
,
$url
,
navigation_node
::
NODETYPE_LEAF
,
navigation_node
::
NODETYPE_LEAF
,
'tool_lifecycle'
,
'tool_lifecycle'
,
'tool_lifecycle'
,
'tool_lifecycle'
,
new
pix_icon
(
'icon'
,
$
pluginname
,
'tool_lifecycle'
)
new
pix_icon
(
'icon'
,
$
linktext
,
'tool_lifecycle'
)
);
);
if
(
$PAGE
->
url
->
compare
(
$url
,
URL_MATCH_BASE
))
{
if
(
$PAGE
->
url
->
compare
(
$url
,
URL_MATCH_BASE
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment