_statistics_link

Definition

_statistics_link($path, $width = 35)
statistics/statistics.module, line 512

Description

It is possible to adjust the width of columns generated by the statistics module.

Code

<?php
function _statistics_link($path, $width = 35) {
  $title = drupal_get_path_alias($path);
  $title = truncate_utf8($title, $width, FALSE, TRUE);
  return l($title, $path);
}
?>