forked from ZwiiCMS-Team/ZwiiCMS
commit
e1fad93588
@ -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'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user