From ea31ba55d7452604838a3a8f0f23723e87a4b74d Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 6 Mar 2019 14:47:56 +0100 Subject: [PATCH] =?UTF-8?q?[9.0.02]=20title=20est=20remplac=C3=A9=20data-t?= =?UTF-8?q?ippy-content=20pour=20tippy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) 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 '
      ' . $leftItems . '
      ' . $rightItems . '
    '; } @@ -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') . ''; } /**