Skip to content

Commit

Permalink
validation error: not allowed alt on links
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jan 2, 2010
1 parent 4d9f14d commit 2c577ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/core/views/helpers/status.php
Expand Up @@ -42,7 +42,6 @@ public function status( $status = null )
$image = $this->Html->image(
'core/icons/actions/16/active.png',
$params + array(
'alt' => __( 'Active', true ),
'width' => '16px'
)
);
Expand All @@ -59,7 +58,6 @@ public function status( $status = null )
$image = $this->Html->image(
'core/icons/actions/16/disabled.png',
$params + array(
'alt' => __( 'Disabled', true ),
'width' => '16px'
)
);
Expand All @@ -85,12 +83,14 @@ public function toggle( $status = null, $id = null, $url = array( 'action' => 't
case 'off':
case 'no':
$params['title'] = __( 'Click to activate', true );
$params['alt'] = __( 'Disabled', true );
break;

case 1:
case 'yes':
case 'on':
$params['title'] = __( 'Click to disable', true );
$params['alt'] = __( 'Active', true );
break;
default:
;
Expand Down
2 changes: 1 addition & 1 deletion views/layouts/admin.ctp
Expand Up @@ -8,7 +8,7 @@
?>
</title>
<?php
echo $this->Html->meta('icon');
echo $this->Html->meta( 'icon' );
echo $this->Html->css( 'admin' );
echo $this->Html->css( 'admin.pagination' );
echo $scripts_for_layout;
Expand Down

0 comments on commit 2c577ef

Please sign in to comment.