Skip to content
Snippets Groups Projects
Commit 1a693be7 authored by efalcy's avatar efalcy
Browse files

dev #17875 : RGAA - [NAV]-16 add title for bandeau

parent b0bd732c
3 merge requests!896Master,!799Dev 17875 rgaa,!785Dev 17875 rgaa
......@@ -32,7 +32,7 @@ class ZendAfi_View_Helper_TagBanniere extends Zend_View_Helper_HtmlElement {
$top_profil = $this->_profil->getParentsAndSelf()[0];
return sprintf('<div id="banniere">%s<a class="home" alt="bandeau" href="%s" style="display:block">%s</a></div>',
return sprintf('<div id="banniere">%s<a class="home" href="%s" style="display:block">%s</a></div>',
$this->_getLogos(),
$this->view->url(['id_profil' => $top_profil->getId()],
null,
......@@ -50,7 +50,7 @@ class ZendAfi_View_Helper_TagBanniere extends Zend_View_Helper_HtmlElement {
protected function _getLogo($position) {
if ($this->_profil->_has('logo_'.$position.'_img'))
return sprintf(
'<div class="logo_%s"><a href="%s"><img src="%s" alt=""/></a></div>',
'<div class="logo_%s"><a href="%s"><img src="%s" alt="logo"/></a></div>',
$position,
$this->_profil->_get('logo_'.$position.'_link'),
$this->_profil->_get('logo_'.$position.'_img'));
......@@ -66,7 +66,7 @@ class ZendAfi_View_Helper_TagBanniere extends Zend_View_Helper_HtmlElement {
if (!$img)
continue;
$images .= sprintf('<img alt="" src="%s" style="width:%dpx" />',
$images .= sprintf('<img alt="page accueil" src="%s" style="width:%dpx" />',
$img, $largeur_site);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment