diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-24 15:52:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-24 15:52:25 +0000 |
commit | 1ba4d52f5d6d30752e26ff61ea0b138fb64cee85 (patch) | |
tree | 500eef74e13305133ad1e89fd4960d69fca6aed6 | |
parent | d0496d2e7c32aac5a5fa08dfa67cb5764fc365df (diff) | |
download | brdo-1ba4d52f5d6d30752e26ff61ea0b138fb64cee85.tar.gz brdo-1ba4d52f5d6d30752e26ff61ea0b138fb64cee85.tar.bz2 |
- Small visual improvement to statistics.module.
-rw-r--r-- | modules/statistics.module | 2 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index dac0694b9..4ad7ad0b0 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -39,7 +39,7 @@ function statistics_referer() { $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"3\" CELLSPACING=\"0\">\n"; $output .= " <TR><TH>URL</TH><TH>number</TH></TR>\n"; while ($referer = db_fetch_object($result)) { - $output .= "<TR><TD><A HREF=\"". check_output($referer->url) ."\">". check_output($referer->url) ."</A></TD><TD>". check_output($referer->count) ."</TD></TR>"; + $output .= "<TR><TD><A HREF=\"". check_output($referer->url) ."\">". substr(check_output($referer->url), 0, 100) ."</A></TD><TD>". check_output($referer->count) ."</TD></TR>"; } $output .= "</TABLE>\n"; diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index dac0694b9..4ad7ad0b0 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -39,7 +39,7 @@ function statistics_referer() { $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"3\" CELLSPACING=\"0\">\n"; $output .= " <TR><TH>URL</TH><TH>number</TH></TR>\n"; while ($referer = db_fetch_object($result)) { - $output .= "<TR><TD><A HREF=\"". check_output($referer->url) ."\">". check_output($referer->url) ."</A></TD><TD>". check_output($referer->count) ."</TD></TR>"; + $output .= "<TR><TD><A HREF=\"". check_output($referer->url) ."\">". substr(check_output($referer->url), 0, 100) ."</A></TD><TD>". check_output($referer->count) ."</TD></TR>"; } $output .= "</TABLE>\n"; |