diff --git a/core/core.php b/core/core.php index c839cf0b..e168654d 100644 --- a/core/core.php +++ b/core/core.php @@ -2059,8 +2059,8 @@ class layout extends common { */ public function showCopyright() { $items = '
'; - $items .= 'Motorisé par Zwii'; - $items .= ' | Plan du site'; + $items .= 'Motorisé par Zwii'; + $items .= ' | Plan du site'; if( ( $this->getData(['theme', 'footer', 'loginLink']) @@ -2068,7 +2068,7 @@ class layout extends common { ) OR $this->getUrl(0) === 'theme' ) { - $items .= 'getUrl(0) === 'theme' ? 'class="displayNone"' : '') . '> | Connexion'; + $items .= 'getUrl(0) === 'theme' ? 'class="displayNone"' : '') . '> | Connexion'; } $items .= '
'; echo $items; @@ -2131,7 +2131,7 @@ class layout extends common { break; case 'icontitle' : if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") { - $items .= ''.$this->getData(['page', $parentPageId, 'title']).'getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" data-tippy-content="'; $items .= $this->getData(['page', $parentPageId, 'title']).'"/>'; } else { $items .= $this->getData(['page', $parentPageId, 'title']); @@ -2178,7 +2178,7 @@ class layout extends common { break; case 'icontitle' : if ($this->getData(['page', $childKey, 'iconUrl']) != "") { - $items .= ''.$this->getData(['page', $parentPageId, 'title']).'getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $childKey, 'iconUrl']).'" data-tippy-content="'; $items .= $this->getData(['page', $childKey, 'title']).'"/>'; } else { $items .= $this->getData(['page', $childKey, 'title']); @@ -2293,7 +2293,7 @@ class layout extends common { } } $leftItems .= ''; - $leftItems .= '
  • ' . template::ico('plus') . '
  • '; + $leftItems .= '
  • ' . template::ico('plus') . '
  • '; if( // Sur un module de page qui autorise le bouton de modification de la page $this->core->output['showBarEditButton'] @@ -2302,28 +2302,28 @@ class layout extends common { // Sur une page d'accueil OR $this->getUrl(0) === '' ) { - $leftItems .= '
  • ' . template::ico('pencil') . '
  • '; + $leftItems .= '
  • ' . template::ico('pencil') . '
  • '; } } // Items de droite $rightItems = ''; if($this->getUser('group') >= self::GROUP_MODERATOR) { - $rightItems .= '
  • ' . template::ico('folder') . '
  • '; + $rightItems .= '
  • ' . template::ico('folder') . '
  • '; } if($this->getUser('group') >= self::GROUP_ADMIN) { - $rightItems .= '
  • ' . template::ico('users') . '
  • '; - $rightItems .= '
  • ' . template::ico('brush') . '
  • '; - $rightItems .= '
  • ' . template::ico('gear') . '
  • '; + $rightItems .= '
  • ' . template::ico('users') . '
  • '; + $rightItems .= '
  • ' . template::ico('brush') . '
  • '; + $rightItems .= '
  • ' . template::ico('gear') . '
  • '; // Mise à jour automatique // Désactivée en dev if(helper::checkNewVersion() && stripos(common::ZWII_VERSION, 'dev') === FALSE ) { - $rightItems .= '
  • ' . template::ico('update colorRed') . '
  • '; + $rightItems .= '
  • ' . template::ico('update colorRed') . '
  • '; } // Mise à jour automatique } - $rightItems .= '
  • ' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; - $rightItems .= '
  • ' . template::ico('logout') . '
  • '; + $rightItems .= '
  • ' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; + $rightItems .= '
  • ' . template::ico('logout') . '
  • '; // Barre de membre echo '
    '; } @@ -2382,7 +2382,7 @@ class layout extends common { $socialUrl = ''; } if($socialId !== '') { - $socials .= '' . template::ico(substr($socialName, 0, -2)) . ''; + $socials .= '' . template::ico(substr($socialName, 0, -2)) . ''; } } if($socials !== '') { @@ -2746,7 +2746,7 @@ class template { * @return string */ public static function help($text) { - return '' . self::ico('help') . ''; + return '' . self::ico('help') . ''; } /**