mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-70579 course: filter site fullname when exporting course content.
This commit is contained in:
parent
56fd8c5125
commit
6fc5f5f1f6
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ class zipwriter {
|
||||||
$templatedata->global = (object) [
|
$templatedata->global = (object) [
|
||||||
'righttoleft' => right_to_left(),
|
'righttoleft' => right_to_left(),
|
||||||
'language' => str_replace('_', '-', current_language()),
|
'language' => str_replace('_', '-', current_language()),
|
||||||
'sitename' => $SITE->fullname,
|
'sitename' => format_string($SITE->fullname, true, ['context' => context_system::instance()]),
|
||||||
'siteurl' => $CFG->wwwroot,
|
'siteurl' => $CFG->wwwroot,
|
||||||
'pathtotop' => $this->get_relative_context_path($context, $this->rootcontext, '/'),
|
'pathtotop' => $this->get_relative_context_path($context, $this->rootcontext, '/'),
|
||||||
'contentexportfooter' => get_string('contentexport_footersummary', 'core', (object) [
|
'contentexportfooter' => get_string('contentexport_footersummary', 'core', (object) [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue