summaryrefslogtreecommitdiff
path: root/www/wiki
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-08-12 11:46:39 -0300
committerYaco <franco@reevo.org>2019-08-12 11:46:39 -0300
commit24bddb862300c537f7c3c3227644273427a522bb (patch)
tree53099608e70e32778ea802b288d277f19ce99b4f /www/wiki
parent73de0b1ee4e2054f3fe77bfca07bb694218d072e (diff)
corrige ubicacion de barra de botones de historial de pagina
Diffstat (limited to 'www/wiki')
-rw-r--r--www/wiki/skins/chameleon/src/Components/ContentBody.php21
-rw-r--r--www/wiki/skins/chameleon/src/Components/ContentHeader.php15
-rw-r--r--www/wiki/skins/chameleon/src/Components/MainContent.php18
3 files changed, 39 insertions, 15 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();
diff --git a/www/wiki/skins/chameleon/src/Components/ContentHeader.php b/www/wiki/skins/chameleon/src/Components/ContentHeader.php
index 1bb08ac1..724f60da 100644
--- a/www/wiki/skins/chameleon/src/Components/ContentHeader.php
+++ b/www/wiki/skins/chameleon/src/Components/ContentHeader.php
@@ -60,21 +60,6 @@ class ContentHeader extends Component {
$this->indent() . '<!-- tagline; usually goes something like "From WikiName" primary purpose of this seems to be for printing to identify the source of the content -->' .
$this->indent() . $idRegistry->element( 'div', array( 'id'=> 'siteSub' ), $skintemplate->getMsg( 'tagline' )->escaped() );
- 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' ) );
- }
// TODO: Do we need this? Seems to be an accessibility thing. It's used
// in vector to jump to the nav which is at the bottom of the document,
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();