From b7ddc3a4071f777e7cab55b09af1eb1edda2b985 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 4 Apr 2003 06:26:00 +0000 Subject: - Bugfix: removed 'width="100%"' attributes from table tags. Patch by Al. "IE has a bug with tables inside divs with width=100%. I see no reason why the forum tables should be 100% - they are pretty much naturally padded to 100% as soon as anyone puts any content in them. Removing them doesn't affect functionality and improves layout compatibility on IE." --- modules/forum/forum.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index b8e22d4c6..141d130bc 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -529,7 +529,7 @@ function forum_forum_list($forums, $parents, $tid) { } $t[] = l(t("Discussion forum"), "forum"); - $output .= "\n"; + $output .= "
\n"; $output .= " "; if ($forums) { $output .= ""; @@ -600,7 +600,7 @@ function forum_topic_list($tid, $topics, $sortby, $forum_per_page, $offset) { global $id, $status, $user, $pager_total; if ($topics) { - $output .= "
".implode(" : ", array_reverse($t)) ."". t("topics") ."". t("posts") ."". t("last post") ."
\n"; + $output .= "
\n"; $output .= " "; foreach ($topics as $topic) { -- cgit v1.2.3
  ". t("topic") ."". t("replies") ."". t("posted") ."". t("last reply") ."