Commit 28869446 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#216632 by webernet, dww: more accessible update information screen

parent e3cbacc3
...@@ -45,7 +45,7 @@ function theme_update_report($data) { ...@@ -45,7 +45,7 @@ function theme_update_report($data) {
switch ($project['status']) { switch ($project['status']) {
case UPDATE_CURRENT: case UPDATE_CURRENT:
$class = 'ok'; $class = 'ok';
$icon = theme('image', 'misc/watchdog-ok.png'); $icon = theme('image', 'misc/watchdog-ok.png', t('ok'), t('ok'));
break; break;
case UPDATE_NOT_SECURE: case UPDATE_NOT_SECURE:
case UPDATE_REVOKED: case UPDATE_REVOKED:
...@@ -54,13 +54,13 @@ function theme_update_report($data) { ...@@ -54,13 +54,13 @@ function theme_update_report($data) {
if ($notification_level == 'all' if ($notification_level == 'all'
|| $project['status'] != UPDATE_NOT_CURRENT) { || $project['status'] != UPDATE_NOT_CURRENT) {
$class = 'error'; $class = 'error';
$icon = theme('image', 'misc/watchdog-error.png'); $icon = theme('image', 'misc/watchdog-error.png', t('error'), t('error'));
break; break;
} }
// Otherwise, deliberate no break and use the warning class/icon. // Otherwise, deliberate no break and use the warning class/icon.
default: default:
$class = 'warning'; $class = 'warning';
$icon = theme('image', 'misc/watchdog-warning.png'); $icon = theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning'));
break; break;
} }
......
Markdown is supported
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