Commit 746b2423 authored by Steven Wittens's avatar Steven Wittens
Browse files

- #27668: Replace deprecated tags/attributes with XHTML/CSS in locale.

- (#15121) Improve string cut-off for locale table
parent 7aa20d30
......@@ -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;
......
......@@ -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"));
......
......@@ -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"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment