diff options
-rw-r--r-- | misc/drupal.css | 8 | ||||
-rw-r--r-- | modules/statistics.module | 6 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 6 |
3 files changed, 14 insertions, 6 deletions
diff --git a/misc/drupal.css b/misc/drupal.css index 86b511393..819f8cc9f 100644 --- a/misc/drupal.css +++ b/misc/drupal.css @@ -193,6 +193,9 @@ tr.odd .form-item, tr.even .form-item { float: none; display: block; } +.nowrap { + white-space: nowrap; +} .ok { color: #080; } @@ -336,6 +339,11 @@ tr.odd .form-item, tr.even .form-item { text-align: center; } +.locale-untranslated { + font-style: normal; + text-decoration: line-through; +} + #node-admin-filter ul { list-style-type: none; padding: 0px; diff --git a/modules/statistics.module b/modules/statistics.module index 5ca038094..b74407f0c 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -171,7 +171,7 @@ function statistics_node_tracker() { $result = pager_query('SELECT a.aid, a.timestamp, a.url, a.uid, u.name FROM {accesslog} a LEFT JOIN {users} u ON a.uid = u.uid WHERE a.path LIKE \'node/%d%%\'' . tablesort_sql($header), 30, 0, NULL, $node->nid); while ($log = db_fetch_object($result)) { $rows[] = array( - array('data' => format_date($log->timestamp, 'small'), 'nowrap' => 'nowrap'), + array('data' => format_date($log->timestamp, 'small'), 'class' => 'nowrap'), l(_statistics_column_width($log->url), $log->url), format_name($log), l(t('details'), "admin/logs/access/$log->aid")); @@ -200,7 +200,7 @@ function statistics_user_tracker() { $result = pager_query('SELECT aid, timestamp, path, title FROM {accesslog} WHERE uid = %d' . tablesort_sql($header), 30, 0, NULL, $account->uid); while ($log = db_fetch_object($result)) { $rows[] = array( - array('data' => format_date($log->timestamp, 'small'), 'nowrap' => 'nowrap'), + array('data' => format_date($log->timestamp, 'small'), 'class' => 'nowrap'), _statistics_format_item($log->title, $log->path), l(t('details'), "admin/logs/access/$log->aid")); } @@ -233,7 +233,7 @@ function statistics_recent_hits($type = 'all', $id = 0) { $result = pager_query($sql, 30); while ($log = db_fetch_object($result)) { $rows[] = array( - array('data' => format_date($log->timestamp, 'small'), 'nowrap' => 'nowrap'), + array('data' => format_date($log->timestamp, 'small'), 'class' => 'nowrap'), _statistics_format_item($log->title, $log->path), format_name($log), l(t('details'), "admin/logs/access/$log->aid")); diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 5ca038094..b74407f0c 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -171,7 +171,7 @@ function statistics_node_tracker() { $result = pager_query('SELECT a.aid, a.timestamp, a.url, a.uid, u.name FROM {accesslog} a LEFT JOIN {users} u ON a.uid = u.uid WHERE a.path LIKE \'node/%d%%\'' . tablesort_sql($header), 30, 0, NULL, $node->nid); while ($log = db_fetch_object($result)) { $rows[] = array( - array('data' => format_date($log->timestamp, 'small'), 'nowrap' => 'nowrap'), + array('data' => format_date($log->timestamp, 'small'), 'class' => 'nowrap'), l(_statistics_column_width($log->url), $log->url), format_name($log), l(t('details'), "admin/logs/access/$log->aid")); @@ -200,7 +200,7 @@ function statistics_user_tracker() { $result = pager_query('SELECT aid, timestamp, path, title FROM {accesslog} WHERE uid = %d' . tablesort_sql($header), 30, 0, NULL, $account->uid); while ($log = db_fetch_object($result)) { $rows[] = array( - array('data' => format_date($log->timestamp, 'small'), 'nowrap' => 'nowrap'), + array('data' => format_date($log->timestamp, 'small'), 'class' => 'nowrap'), _statistics_format_item($log->title, $log->path), l(t('details'), "admin/logs/access/$log->aid")); } @@ -233,7 +233,7 @@ function statistics_recent_hits($type = 'all', $id = 0) { $result = pager_query($sql, 30); while ($log = db_fetch_object($result)) { $rows[] = array( - array('data' => format_date($log->timestamp, 'small'), 'nowrap' => 'nowrap'), + array('data' => format_date($log->timestamp, 'small'), 'class' => 'nowrap'), _statistics_format_item($log->title, $log->path), format_name($log), l(t('details'), "admin/logs/access/$log->aid")); |