Merge pull request #1 from RenaudR/patch-1

Balises title manquante
This commit is contained in:
Fred 2018-11-15 21:52:53 +01:00 committed by GitHub
commit e1fad93588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 49 additions and 49 deletions

View File

@ -908,16 +908,16 @@ class common {
$this->setData(['core', 'dataVersion', 840]);
$this->SaveData();
}
// Version 8.4.4
if($this->getData(['core', 'dataVersion']) < 844) {
$this->setData(['theme','footer','socialsPosition','center']);
$this->setData(['theme','footer','textPosition','center']);
$this->setData(['theme','footer','copyrightPosition','center']);
$this->setData(['theme','footer','textPosition','none']);
$this->setData(['theme','footer','copyrightPosition','none']);
$this->setData(['core', 'dataVersion', 844]);
$this->SaveData();
}
}
}
@ -1829,7 +1829,7 @@ class layout extends common {
public function showCopyright() {
$items = '<div id="footerCopyright">';
$items .= 'Motorisé par <a href="http://zwiicms.com/" onclick="window.open(this.href);return false" title="Zwii CMS sans base de données, très léger et performant">Zwii</a>';
$items .= ' | <a href="' . helper::baseUrl() . 'sitemap">Plan du site</a>';
$items .= ' | <a href="' . helper::baseUrl() . 'sitemap" title="Plan du site" >Plan du site</a>';
if(
(
$this->getData(['theme', 'footer', 'loginLink'])
@ -1837,7 +1837,7 @@ class layout extends common {
)
OR $this->getUrl(0) === 'theme'
) {
$items .= '<span id="footerLoginLink" ' . ($this->getUrl(0) === 'theme' ? 'class="displayNone"' : '') . '> | <a href="' . helper::baseUrl() . 'user/login/' . str_replace('/', '_', $this->getUrl()) . '">Connexion</a></span>';
$items .= '<span id="footerLoginLink" ' . ($this->getUrl(0) === 'theme' ? 'class="displayNone"' : '') . '> | <a href="' . helper::baseUrl() . 'user/login/' . str_replace('/', '_', $this->getUrl()) . '" title="Connexion à l\'administration" >Connexion</a></span>';
}
$items .= '</div>';
echo $items;
@ -1881,7 +1881,7 @@ class layout extends common {
{$items .= '<a href="#">';}
else {
$items .= '<a href="' . helper::baseUrl() . $parentPageId . '"' . $active . $targetBlank . '>'; }
$items .= '<a href="' . helper::baseUrl() . $parentPageId . '" title="'.$this->getData(['page', $parentPageId, 'title']).'" ' . $active . $targetBlank . '>'; }
switch ($this->getData(['page', $parentPageId, 'typeMenu'])) {