From fa25c7a0ca13b57f098f0d2a2f7379ce73086723 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 19 Aug 2004 15:41:57 +0000 Subject: - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions). --- modules/watchdog/watchdog.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/watchdog/watchdog.module') 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); -- cgit v1.2.3