summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-04-24 01:38:16 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-04-24 01:38:16 -0700
commitef5ef9efc7a519f74f6bbdf8c87ba9bc16be5651 (patch)
tree4ad329820c488264a036b945ed6a81de46445469 /modules/update
parent4d3217b4db094d4808fe8b0c3caea6e3b10dd575 (diff)
downloadbrdo-ef5ef9efc7a519f74f6bbdf8c87ba9bc16be5651.tar.gz
brdo-ef5ef9efc7a519f74f6bbdf8c87ba9bc16be5651.tar.bz2
Issue #908282 by jbrown, pillarsdotnet: add width and height attributes to increase front-end performance.
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/update.report.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc
index 8e9dbae43..3f5933acb 100644
--- a/modules/update/update.report.inc
+++ b/modules/update/update.report.inc
@@ -57,25 +57,25 @@ function theme_update_report($variables) {
switch ($project['status']) {
case UPDATE_CURRENT:
$class = 'ok';
- $icon = theme('image', array('path' => 'misc/watchdog-ok.png', 'alt' => t('ok'), 'title' => t('ok')));
+ $icon = theme('image', array('path' => 'misc/watchdog-ok.png', 'width' => 18, 'height' => 18, 'alt' => t('ok'), 'title' => t('ok')));
break;
case UPDATE_UNKNOWN:
case UPDATE_FETCH_PENDING:
case UPDATE_NOT_FETCHED:
$class = 'unknown';
- $icon = theme('image', array('path' => 'misc/watchdog-warning.png', 'alt' => t('warning'), 'title' => t('warning')));
+ $icon = theme('image', array('path' => 'misc/watchdog-warning.png', 'width' => 18, 'height' => 18, 'alt' => t('warning'), 'title' => t('warning')));
break;
case UPDATE_NOT_SECURE:
case UPDATE_REVOKED:
case UPDATE_NOT_SUPPORTED:
$class = 'error';
- $icon = theme('image', array('path' => 'misc/watchdog-error.png', 'alt' => t('error'), 'title' => t('error')));
+ $icon = theme('image', array('path' => 'misc/watchdog-error.png', 'width' => 18, 'height' => 18, 'alt' => t('error'), 'title' => t('error')));
break;
case UPDATE_NOT_CHECKED:
case UPDATE_NOT_CURRENT:
default:
$class = 'warning';
- $icon = theme('image', array('path' => 'misc/watchdog-warning.png', 'alt' => t('warning'), 'title' => t('warning')));
+ $icon = theme('image', array('path' => 'misc/watchdog-warning.png', 'width' => 18, 'height' => 18, 'alt' => t('warning'), 'title' => t('warning')));
break;
}