mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-14591 - better handling of variable headers in portfolio export
This commit is contained in:
parent
6b6f1c056d
commit
45b7e6104d
@ -564,7 +564,11 @@ class portfolio_exporter {
|
||||
$headerstr = get_string('exporting', 'portfolio');
|
||||
|
||||
print_header($titlestr, $headerstr, $this->navigation);
|
||||
print_heading(get_string($headingstr, 'portfolio'));
|
||||
$hstr = get_string($headingstr, 'portfolio');
|
||||
if (strpos($hstr, '[[') === 0) {
|
||||
$hstr = $headingstr;
|
||||
}
|
||||
print_heading($hstr);
|
||||
|
||||
if (!$summary) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user