Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
bibliossimo
opacce
Commits
b0bd732c
Commit
b0bd732c
authored
Mar 19, 2015
by
efalcy
Browse files
dev #17875 : RGAA NAV-16 : title/alt missing for a links
parent
dcdeca1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
library/ZendAfi/View/Helper/TagBanniere.php
library/ZendAfi/View/Helper/TagBanniere.php
+1
-1
library/ZendAfi/View/Helper/TagImg.php
library/ZendAfi/View/Helper/TagImg.php
+2
-0
library/ZendAfi/View/Helper/TagSlideshow.php
library/ZendAfi/View/Helper/TagSlideshow.php
+1
-1
No files found.
library/ZendAfi/View/Helper/TagBanniere.php
View file @
b0bd732c
...
...
@@ -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" href="%s" style="display:block">%s</a></div>'
,
return
sprintf
(
'<div id="banniere">%s<a class="home"
alt="bandeau"
href="%s" style="display:block">%s</a></div>'
,
$this
->
_getLogos
(),
$this
->
view
->
url
([
'id_profil'
=>
$top_profil
->
getId
()],
null
,
...
...
library/ZendAfi/View/Helper/TagImg.php
View file @
b0bd732c
...
...
@@ -25,6 +25,8 @@ class ZendAfi_View_Helper_TagImg extends Zend_View_Helper_HtmlElement {
* @return string
*/
public
function
tagImg
(
$url
,
Array
$attribs
=
array
())
{
if
(
!
array_key_exists
(
'alt'
,
$attribs
)
&&
array_key_exists
(
'title'
,
$attribs
))
$attribs
[
'alt'
]
=
$attribs
[
'title'
];
if
(
!
array_key_exists
(
'alt'
,
$attribs
))
$attribs
[
'alt'
]
=
''
;
...
...
library/ZendAfi/View/Helper/TagSlideshow.php
View file @
b0bd732c
...
...
@@ -109,7 +109,7 @@ class ZendAfi_View_Helper_TagSlideshow extends Zend_View_Helper_HtmlElement {
'$(\'%s\').cycle(%s);
var container = $(\'%1$s\').parent();
container.addClass(\'slideshow\');
container.prepend(\'<div class="controls"><a href="#"></a><a href="#"></a></div>\');
container.prepend(\'<div class="controls"><a href="#">
</a><a href="#">
</a></div>\');
container.find(\'.controls a:first-child\').click(
function(event){
event.preventDefault();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment