Fix order of univ lang selector and "not logged in" message
Bug: T121793 Change-Id: Ia6406fe535916684c998225f052f7e8b2231cbe1
This commit is contained in:
parent
762b25a551
commit
a0626a06d9
1 changed files with 9 additions and 1 deletions
|
@ -120,6 +120,14 @@ class MonoBookTemplate extends BaseTemplate {
|
||||||
<div class="pBody">
|
<div class="pBody">
|
||||||
<ul<?php $this->html( 'userlangattributes' ) ?>>
|
<ul<?php $this->html( 'userlangattributes' ) ?>>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$personalTools = $this->getPersonalTools();
|
||||||
|
|
||||||
|
if ( array_key_exists( 'uls', $personalTools ) ) {
|
||||||
|
echo $this->makeListItem( 'uls', $personalTools[ 'uls' ] );
|
||||||
|
unset( $personalTools[ 'uls' ] );
|
||||||
|
}
|
||||||
|
|
||||||
if ( !$this->getSkin()->getUser()->isLoggedIn() &&
|
if ( !$this->getSkin()->getUser()->isLoggedIn() &&
|
||||||
User::groupHasPermission( '*', 'edit' ) ) {
|
User::groupHasPermission( '*', 'edit' ) ) {
|
||||||
|
|
||||||
|
@ -129,7 +137,7 @@ class MonoBookTemplate extends BaseTemplate {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ( $this->getPersonalTools() as $key => $item ) { ?>
|
foreach ( $personalTools as $key => $item ) { ?>
|
||||||
<?php echo $this->makeListItem( $key, $item ); ?>
|
<?php echo $this->makeListItem( $key, $item ); ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in a new issue