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