summaryrefslogtreecommitdiff
path: root/www/wiki/skins/chameleon/src/Components/ContentBody.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/skins/chameleon/src/Components/ContentBody.php')
-rw-r--r--www/wiki/skins/chameleon/src/Components/ContentBody.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/wiki/skins/chameleon/src/Components/ContentBody.php b/www/wiki/skins/chameleon/src/Components/ContentBody.php
index ceabed74..336b8172 100644
--- a/www/wiki/skins/chameleon/src/Components/ContentBody.php
+++ b/www/wiki/skins/chameleon/src/Components/ContentBody.php
@@ -64,6 +64,27 @@ class ContentBody 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' ) );
+ $ret .= '</br>';
+
+ }
+
+ 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 .= '</br>';
+
+ }
+
+
$ret .= $this->buildContentBody();
$ret .= $this->buildCategoryLinks();