Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
052ee721
Commit
052ee721
authored
Jul 19, 2008
by
Dries Buytaert
Browse files
- Patch
#188246
by mfb, deekayen: fixed E_NOTICE.
parent
db8215e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/dblog/dblog.admin.inc
View file @
052ee721
...
...
@@ -31,14 +31,24 @@ function dblog_overview() {
$filter
=
dblog_build_filter_query
();
$rows
=
array
();
$icons
=
array
(
WATCHDOG_NOTICE
=>
''
,
WATCHDOG_WARNING
=>
theme
(
'image'
,
'misc/watchdog-warning.png'
,
t
(
'warning'
),
t
(
'warning'
)),
WATCHDOG_ERROR
=>
theme
(
'image'
,
'misc/watchdog-error.png'
,
t
(
'error'
),
t
(
'error'
)),
WATCHDOG_DEBUG
=>
''
,
WATCHDOG_INFO
=>
''
,
WATCHDOG_NOTICE
=>
''
,
WATCHDOG_WARNING
=>
theme
(
'image'
,
'misc/watchdog-warning.png'
,
t
(
'warning'
),
t
(
'warning'
)),
WATCHDOG_ERROR
=>
theme
(
'image'
,
'misc/watchdog-error.png'
,
t
(
'error'
),
t
(
'error'
)),
WATCHDOG_CRITICAL
=>
theme
(
'image'
,
'misc/watchdog-error.png'
,
t
(
'critical'
),
t
(
'critical'
)),
WATCHDOG_ALERT
=>
theme
(
'image'
,
'misc/watchdog-error.png'
,
t
(
'alert'
),
t
(
'alert'
)),
WATCHDOG_EMERG
=>
theme
(
'image'
,
'misc/watchdog-error.png'
,
t
(
'emergency'
),
t
(
'emergency'
)),
);
$classes
=
array
(
WATCHDOG_NOTICE
=>
'dblog-notice'
,
WATCHDOG_WARNING
=>
'dblog-warning'
,
WATCHDOG_ERROR
=>
'dblog-error'
,
WATCHDOG_DEBUG
=>
'dblog-debug'
,
WATCHDOG_INFO
=>
'dblog-info'
,
WATCHDOG_NOTICE
=>
'dblog-notice'
,
WATCHDOG_WARNING
=>
'dblog-warning'
,
WATCHDOG_ERROR
=>
'dblog-error'
,
WATCHDOG_CRITICAL
=>
'dblog-critical'
,
WATCHDOG_ALERT
=>
'dblog-alert'
,
WATCHDOG_EMERG
=>
'dblog-emerg'
,
);
$output
=
drupal_get_form
(
'dblog_filter_form'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment