diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-08 23:07:25 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-08 23:07:25 +0000 |
commit | 75c5ec2b3937a4939af64e6e4226ea628dba9754 (patch) | |
tree | 35eadb5491ef2eba69a232e1ef444bba19bd0cf6 /modules/watchdog | |
parent | 82ca828b03a463e89fa5b7af374faf5e2526e880 (diff) | |
download | brdo-75c5ec2b3937a4939af64e6e4226ea628dba9754.tar.gz brdo-75c5ec2b3937a4939af64e6e4226ea628dba9754.tar.bz2 |
#82861 by RobRoy. Move watchdog overview variables to the right place.
Diffstat (limited to 'modules/watchdog')
-rw-r--r-- | modules/watchdog/watchdog.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 883d11945..806bc7b97 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -85,11 +85,6 @@ function watchdog_user($op, &$edit, &$user) { } function watchdog_form_overview() { - $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'))); - $classes = array(WATCHDOG_NOTICE => 'watchdog-notice', WATCHDOG_WARNING => 'watchdog-warning', WATCHDOG_ERROR => 'watchdog-error'); - $names['all'] = t('all messages'); foreach (_watchdog_get_message_types() as $type) { $names[$type] = t('!type messages', array('!type' => t($type))); @@ -114,6 +109,11 @@ function watchdog_form_overview() { * Menu callback; displays a listing of log messages. */ function watchdog_overview() { + $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'))); + $classes = array(WATCHDOG_NOTICE => 'watchdog-notice', WATCHDOG_WARNING => 'watchdog-warning', WATCHDOG_ERROR => 'watchdog-error'); + $output = drupal_get_form('watchdog_form_overview'); $header = array( |