diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-09 15:47:03 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-09 15:47:03 +0000 |
commit | 0bda56b52a5ff0d7dec08822d3ed49c80b6a35ca (patch) | |
tree | 50bd1835eb637d6cdfc093c0d25b3abdf58673c3 /modules/dblog | |
parent | b1099651988afe22ee1bb7a21dbc87b70072e9e1 (diff) | |
download | brdo-0bda56b52a5ff0d7dec08822d3ed49c80b6a35ca.tar.gz brdo-0bda56b52a5ff0d7dec08822d3ed49c80b6a35ca.tar.bz2 |
#874370 by Jeff Burnz, aspilicious, Cliff, mgifford, yoroy, et al: Fixed System messages need identifying icons (WCAG 2.0).
Diffstat (limited to 'modules/dblog')
-rw-r--r-- | modules/dblog/dblog.admin.inc | 12 | ||||
-rw-r--r-- | modules/dblog/dblog.css | 11 |
2 files changed, 12 insertions, 11 deletions
diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc index bc09b5f8f..fad50ef34 100644 --- a/modules/dblog/dblog.admin.inc +++ b/modules/dblog/dblog.admin.inc @@ -15,16 +15,6 @@ function dblog_overview() { $filter = dblog_build_filter_query(); $rows = array(); - $icons = array( - WATCHDOG_DEBUG => '', - WATCHDOG_INFO => '', - WATCHDOG_NOTICE => '', - WATCHDOG_WARNING => theme('image', array('path' => 'misc/watchdog-warning.png', 'alt' => t('warning'), 'title' => t('warning'))), - WATCHDOG_ERROR => theme('image', array('path' => 'misc/watchdog-error.png', 'alt' => t('error'), 'title' => t('error'))), - WATCHDOG_CRITICAL => theme('image', array('path' => 'misc/watchdog-error.png', 'alt' => t('critical'), 'title' => t('critical'))), - WATCHDOG_ALERT => theme('image', array('path' => 'misc/watchdog-error.png', 'alt' => t('alert'), 'title' => t('alert'))), - WATCHDOG_EMERGENCY => theme('image', array('path' => 'misc/watchdog-error.png', 'alt' => t('emergency'), 'title' => t('emergency'))), - ); $classes = array( WATCHDOG_DEBUG => 'dblog-debug', WATCHDOG_INFO => 'dblog-info', @@ -65,7 +55,7 @@ function dblog_overview() { $rows[] = array('data' => array( // Cells - $icons[$dblog->severity], + array('class' => 'icon'), t($dblog->type), format_date($dblog->timestamp, 'short'), theme('dblog_message', array('event' => $dblog, 'link' => TRUE)), diff --git a/modules/dblog/dblog.css b/modules/dblog/dblog.css index ce3e3608c..1b7e8352c 100644 --- a/modules/dblog/dblog.css +++ b/modules/dblog/dblog.css @@ -46,3 +46,14 @@ tr.dblog-error { tr.dblog-error .active { background: #eeb9b9; } +table#admin-dblog td.icon { + background: no-repeat center; + width: 16px; +} +table#admin-dblog tr.dblog-warning td.icon { + background-image: url(../../misc/message-16-warning.png); +} +table#admin-dblog tr.dblog-error td.icon { + background-image: url(../../misc/message-16-error.png); +} + |