Commit ff2eaca5 authored by Dries's avatar Dries

- Patch #1003168 by Ralf, jbrown, schnippy: dblog css classes consistent with php constants.

parent d9588de9
......@@ -22,7 +22,7 @@ function dblog_overview() {
WATCHDOG_ERROR => 'dblog-error',
WATCHDOG_CRITICAL => 'dblog-critical',
WATCHDOG_ALERT => 'dblog-alert',
WATCHDOG_EMERGENCY => 'dblog-emerg',
WATCHDOG_EMERGENCY => 'dblog-emergency',
);
$build['dblog_filter_form'] = drupal_get_form('dblog_filter_form');
......
......@@ -54,6 +54,6 @@ table#admin-dblog tr.dblog-warning td.icon {
table#admin-dblog tr.dblog-error td.icon,
table#admin-dblog tr.dblog-critical td.icon,
table#admin-dblog tr.dblog-alert td.icon,
table#admin-dblog tr.dblog-emerg td.icon {
table#admin-dblog tr.dblog-emergency td.icon {
background-image: url(../../misc/message-16-error.png);
}
......@@ -547,7 +547,7 @@ protected function getSeverityConstant($class) {
'dblog-error' => WATCHDOG_ERROR,
'dblog-critical' => WATCHDOG_CRITICAL,
'dblog-alert' => WATCHDOG_ALERT,
'dblog-emerg' => WATCHDOG_EMERGENCY,
'dblog-emergency' => WATCHDOG_EMERGENCY,
);
// Find the class that contains the severity.
......
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