summaryrefslogtreecommitdiff
path: root/modules/watchdog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-19 15:41:57 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-19 15:41:57 +0000
commitfa25c7a0ca13b57f098f0d2a2f7379ce73086723 (patch)
treedbc21e6623702f93fbb93e74b0ac33691c8b3011 /modules/watchdog
parentfeb61eea867a51bf061c0a7067126539810c34ec (diff)
downloadbrdo-fa25c7a0ca13b57f098f0d2a2f7379ce73086723.tar.gz
brdo-fa25c7a0ca13b57f098f0d2a2f7379ce73086723.tar.bz2
- Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
Diffstat (limited to 'modules/watchdog')
-rw-r--r--modules/watchdog/watchdog.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 1a2227005..3a3ad74f1 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -87,10 +87,10 @@ function watchdog_overview($type = '') {
}
$header = array(
- array('data' => t('date'), 'field' => 'w.timestamp', 'sort' => 'desc'),
- array('data' => t('message'), 'field' => 'w.message'),
- array('data' => t('user'), 'field' => 'u.name'),
- array('data' => t('operations'), 'colspan' => '2')
+ array('data' => t('Date'), 'field' => 'w.timestamp', 'sort' => 'desc'),
+ array('data' => t('Message'), 'field' => 'w.message'),
+ array('data' => t('User'), 'field' => 'u.name'),
+ array('data' => t('Operations'), 'colspan' => '2')
);
$sql = 'SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid '. ($type ? $query[$type] : '') . tablesort_sql($header);
$result = pager_query($sql, 50);