From 4d16c7c65bdd9833b6e6852c49f029ab003f8e2e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 22 Aug 2003 21:35:25 +0000 Subject: Implemented more suggestions by Keith: - Made sure the 'Topic' title is only shown above the topics, not the icons. - Automatically shorten the username when it is too long. I implemented this as part of format_name() and could therefore nuke some code in the statistics module. This is change is somewhat experimental and I'm willing to revert or change this if a number of people aren't too happy with this behavior. - Left align the dates and authors: makes it easier/faster to scan. - Made the little tablesort arrows clickable. --- modules/forum/forum.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index a8a05d1b8..a1220f8e2 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -321,7 +321,8 @@ function forum_get_topics($tid, $sortby, $forum_per_page) { global $user, $forum_topic_list_header; $forum_topic_list_header = array( - array("data" => t("Topic"), "field" => "n.title", "colspan" => "2"), + array("data" => " "), + array("data" => t("Topic"), "field" => "n.title"), array("data" => t("Replies"),"field" => "num_comments"), array("data" => t("Created"), "field" => "n.created"), array("data" => t("Last reply"), "field" => "date_sort", "sort" => "desc"), -- cgit v1.2.3