mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-14591 - better handling of variable headers in portfolio export
This commit is contained in:
parent
6b6f1c056d
commit
45b7e6104d
1 changed files with 5 additions and 1 deletions
|
@ -564,7 +564,11 @@ class portfolio_exporter {
|
||||||
$headerstr = get_string('exporting', 'portfolio');
|
$headerstr = get_string('exporting', 'portfolio');
|
||||||
|
|
||||||
print_header($titlestr, $headerstr, $this->navigation);
|
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) {
|
if (!$summary) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue