Restore div wrapper around print footer

Div with a `printfooter` class that is hidden on normal page views

Bug: T257914
Change-Id: Ibd3e73076f290a92671c7cdd72672921fa64fc05
(cherry picked from commit 56dbfd9a46)
This commit is contained in:
DannyS712 2020-07-14 12:27:00 +00:00 committed by Jforrester
parent b540dadfb3
commit a6445a69c2
1 changed files with 7 additions and 1 deletions

View File

@ -102,6 +102,12 @@ class SkinVector extends SkinTemplate {
];
}
$printFooter = Html::rawElement(
'div',
[ 'class' => 'printfooter' ],
$this->printSource()
);
return [
// Data objects:
'array-indicators' => $indicators,
@ -119,7 +125,7 @@ class SkinVector extends SkinTemplate {
'html-undelete-link' => $this->prepareUndeleteLink() ?: null,
// Result of OutputPage::addHTML calls
'html-body-content' => $this->wrapHTML( $title, $out->mBodytext )
. $this->printSource(),
. $printFooter,
'html-after-content' => $this->afterContentHook(),
];
}