diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-08-22 21:35:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-08-22 21:35:25 +0000 |
commit | 4d16c7c65bdd9833b6e6852c49f029ab003f8e2e (patch) | |
tree | 0fe9c2a0bb33b04f211520b95ca719983b14a10e /modules/forum.module | |
parent | ea86b76c9a6c126e892f8b904a49f35f8e4bff2b (diff) | |
download | brdo-4d16c7c65bdd9833b6e6852c49f029ab003f8e2e.tar.gz brdo-4d16c7c65bdd9833b6e6852c49f029ab003f8e2e.tar.bz2 |
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.
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/forum.module b/modules/forum.module index a8a05d1b8..a1220f8e2 100644 --- a/modules/forum.module +++ b/modules/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"), |