Menu à nouveau

This commit is contained in:
Deltacms 2022-11-22 11:22:55 +01:00
parent e989bc9f1d
commit 21aa3461fd
2 changed files with 19 additions and 17 deletions

View File

@ -1805,22 +1805,20 @@ class common {
echo $this->showi18n(); echo $this->showi18n();
} }
echo '</ul>'; echo '</ul>';
if( $itemsRight === '') $space1Menu ='';
if( $this->getData(['theme', 'menu', 'textAlign']) === 'right'){ echo '<ul class="navMain" id="menuLeft">' . $itemsLeft . $space1Menu . $itemsRight ;
if( $itemsRight === '') $space1Menu =''; if($this->getData(['config', 'i18n', 'enable']) === true) {
echo '<ul class="navMain" id="menuLeft">' . $itemsLeft . $space1Menu . $itemsRight ; if( $itemsRight === ''){
if($this->getData(['config', 'i18n', 'enable']) === true) { $spaceOK = false;
if( $itemsRight === '') echo $space2Menu; foreach (self::$i18nList as $key => $value) {
echo $this->showi18n(); if( $this->getData(['config', 'i18n', $key]) === 'site' || $this->getData(['config', 'i18n', $key]) === 'script' ){
} $spaceOK = true;
} continue;
else{ }
if( $itemsRight === '') $space1Menu =''; }
echo '<ul class="navMain" id="menuLeft">' . $itemsRight . $space1Menu . $itemsLeft ; if($spaceOK === true) echo $space2Menu;
if($this->getData(['config', 'i18n', 'enable']) === true) {
echo $space2Menu;
echo $this->showi18n();
} }
echo $this->showi18n();
} }
echo '</ul>'; echo '</ul>';
} }

View File

@ -760,12 +760,16 @@ li .menuSideChild {
.i18nFlag { .i18nFlag {
width: 25px; width: 25px;
margin-left: 5px; margin: 0 10px 0 -10px;
} }
.i18nFlagSelected { .i18nFlagSelected {
width: 30px; width: 30px;
margin-left: 5px; margin: 0 10px 0 -10px;
}
.zwiico-login{
margin-right: 20px;
} }
} }