Commit 596843da authored by Dries's avatar Dries
Browse files

- Crop long columns.

parent 2f28cc0b
...@@ -475,7 +475,7 @@ function _statistics_column_width($column, $width = 35) { ...@@ -475,7 +475,7 @@ function _statistics_column_width($column, $width = 35) {
function _statistics_format_item($title, $link) { function _statistics_format_item($title, $link) {
$link = ($link ? $link : '/'); $link = ($link ? $link : '/');
$output = ($title ? "$title<br />" : ''); $output = ($title ? "$title<br />" : '');
$output .= l($link, $link); $output .= l(_statistics_column_width($link), $link);
return $output; return $output;
} }
......
...@@ -475,7 +475,7 @@ function _statistics_column_width($column, $width = 35) { ...@@ -475,7 +475,7 @@ function _statistics_column_width($column, $width = 35) {
function _statistics_format_item($title, $link) { function _statistics_format_item($title, $link) {
$link = ($link ? $link : '/'); $link = ($link ? $link : '/');
$output = ($title ? "$title<br />" : ''); $output = ($title ? "$title<br />" : '');
$output .= l($link, $link); $output .= l(_statistics_column_width($link), $link);
return $output; return $output;
} }
......
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