forked from ZwiiCMS-Team/ZwiiCMS
Ajout Alt dans image
This commit is contained in:
parent
eb529e3778
commit
1865c7818a
@ -1845,14 +1845,14 @@ class layout extends common {
|
|||||||
break;
|
break;
|
||||||
case 'icon' :
|
case 'icon' :
|
||||||
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
||||||
$items .= '<img src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'icontitle' :
|
case 'icontitle' :
|
||||||
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
||||||
$items .= '<img src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" title="';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" title="';
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']).'"/>';
|
$items .= $this->getData(['page', $parentPageId, 'title']).'"/>';
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
@ -1860,7 +1860,7 @@ class layout extends common {
|
|||||||
break;
|
break;
|
||||||
case 'icontext' :
|
case 'icontext' :
|
||||||
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
if ($this->getData(['page', $parentPageId, 'iconUrl']) != "") {
|
||||||
$items .= '<img src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
$items .= '<img alt="'.$this->getData(['page', $parentPageId, 'title']).'" src="'. helper::baseUrl(false) .'site/file/source/'.$this->getData(['page', $parentPageId, 'iconUrl']).'" />';
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
} else {
|
} else {
|
||||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||||
|
@ -403,7 +403,7 @@ footer {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer .col4 {
|
footer .col4 {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user