diff options
Diffstat (limited to 'www/wiki/skins/chameleon/src/Components/MainContent.php')
-rw-r--r-- | www/wiki/skins/chameleon/src/Components/MainContent.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/wiki/skins/chameleon/src/Components/MainContent.php b/www/wiki/skins/chameleon/src/Components/MainContent.php index ddacf65a..c732bd24 100644 --- a/www/wiki/skins/chameleon/src/Components/MainContent.php +++ b/www/wiki/skins/chameleon/src/Components/MainContent.php @@ -64,6 +64,24 @@ class MainContent extends Component { ) . $skintemplate->get( 'userlangattributes' ) . '></div>'; $ret .= $this->buildContentHeader(); + + // if ( $skintemplate->get( 'subtitle' ) ) { + + // TODO: should not use class 'small', better use class 'contentSub' and do styling in a less file + $ret .= + $this->indent() . '<!-- subtitle line; used for various things like the subpage hierarchy -->' . + $this->indent() . $idRegistry->element( 'div', array( 'id' => 'contentSub', 'class' => 'small' ), $skintemplate->get( 'subtitle' ) ); + + // } + + if ( $skintemplate->get( 'undelete' ) ) { + // TODO: should not use class 'small', better use class 'contentSub2' and do styling in a less file + $ret .= + $this->indent() . '<!-- undelete message -->' . + $this->indent() . $idRegistry->element( 'div', array( 'id' => 'contentSub2', 'class' => 'small' ), $skintemplate->get( 'undelete' ) ); + } + + $ret .= $this->buildContentBody(); $ret .= $this->buildCategoryLinks(); |