Mercurial > defr > drupal > core
comparison modules/dblog/dblog.admin.inc @ 11:589fb7c02327 6.5
Drupal 6.5
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:32:19 +0100 |
| parents | c1f4ac30525a |
| children |
comparison
equal
deleted
inserted
replaced
| 10:6f15c9d74937 | 11:589fb7c02327 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: dblog.admin.inc,v 1.6 2008/01/08 10:35:41 goba Exp $ | 2 // $Id: dblog.admin.inc,v 1.6.2.1 2008/09/17 05:47:53 goba Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file | 5 * @file |
| 6 * Administrative page callbacks for the dblog module. | 6 * Administrative page callbacks for the dblog module. |
| 7 */ | 7 */ |
| 29 */ | 29 */ |
| 30 function dblog_overview() { | 30 function dblog_overview() { |
| 31 $filter = dblog_build_filter_query(); | 31 $filter = dblog_build_filter_query(); |
| 32 $rows = array(); | 32 $rows = array(); |
| 33 $icons = array( | 33 $icons = array( |
| 34 WATCHDOG_NOTICE => '', | 34 WATCHDOG_DEBUG => '', |
| 35 WATCHDOG_WARNING => theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning')), | 35 WATCHDOG_INFO => '', |
| 36 WATCHDOG_ERROR => theme('image', 'misc/watchdog-error.png', t('error'), t('error')), | 36 WATCHDOG_NOTICE => '', |
| 37 WATCHDOG_WARNING => theme('image', 'misc/watchdog-warning.png', t('warning'), t('warning')), | |
| 38 WATCHDOG_ERROR => theme('image', 'misc/watchdog-error.png', t('error'), t('error')), | |
| 39 WATCHDOG_CRITICAL => theme('image', 'misc/watchdog-error.png', t('critical'), t('critical')), | |
| 40 WATCHDOG_ALERT => theme('image', 'misc/watchdog-error.png', t('alert'), t('alert')), | |
| 41 WATCHDOG_EMERG => theme('image', 'misc/watchdog-error.png', t('emergency'), t('emergency')), | |
| 37 ); | 42 ); |
| 38 $classes = array( | 43 $classes = array( |
| 39 WATCHDOG_NOTICE => 'dblog-notice', | 44 WATCHDOG_DEBUG => 'dblog-debug', |
| 40 WATCHDOG_WARNING => 'dblog-warning', | 45 WATCHDOG_INFO => 'dblog-info', |
| 41 WATCHDOG_ERROR => 'dblog-error', | 46 WATCHDOG_NOTICE => 'dblog-notice', |
| 47 WATCHDOG_WARNING => 'dblog-warning', | |
| 48 WATCHDOG_ERROR => 'dblog-error', | |
| 49 WATCHDOG_CRITICAL => 'dblog-critical', | |
| 50 WATCHDOG_ALERT => 'dblog-alert', | |
| 51 WATCHDOG_EMERG => 'dblog-emerg', | |
| 42 ); | 52 ); |
| 43 | 53 |
| 44 $output = drupal_get_form('dblog_filter_form'); | 54 $output = drupal_get_form('dblog_filter_form'); |
| 45 | 55 |
| 46 $header = array( | 56 $header = array( |
