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
caseine
moodle-mod_vpl
Commits
42c6d2c9
Commit
42c6d2c9
authored
May 12, 2021
by
Astor Bizard
Browse files
Fixed name display everywhere (not just main page).
parent
5f58b9bb
Changes
1
Show whitespace changes
Inline
Side-by-side
vpl.class.php
View file @
42c6d2c9
...
...
@@ -321,7 +321,7 @@ class mod_vpl {
$ret
.
=
' ('
.
$grouping
->
name
.
')'
;
}
}
return
$ret
;
return
format_string
(
$ret
)
;
}
/**
...
...
@@ -1604,7 +1604,7 @@ class mod_vpl {
*/
public
function
print_name
()
{
global
$OUTPUT
;
echo
$OUTPUT
->
heading
(
format_string
(
$this
->
get_printable_name
())
)
;
echo
$OUTPUT
->
heading
(
$this
->
get_printable_name
());
}
public
function
str_restriction
(
$str
,
$value
=
null
,
$raw
=
false
)
{
...
...
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