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

View File

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