summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-24 07:53:26 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-24 07:53:26 +0000
commit67e68fc679643ccb7c79e7b160ae22813d44ed97 (patch)
treeaa9feb5f2b79913c0c2429b8a0c830e0bc3af526 /modules/forum/forum.module
parente4ec9ad36dd6850e0e17bb75f977c03a7c2735f7 (diff)
downloadbrdo-67e68fc679643ccb7c79e7b160ae22813d44ed97.tar.gz
brdo-67e68fc679643ccb7c79e7b160ae22813d44ed97.tar.bz2
- Patch #28786 by Neil: move pagers out of table.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index b87d6ab15..6e11d1248 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -951,13 +951,10 @@ function theme_forum_topic_list($tid, $topics, $sortby, $forum_per_page) {
);
}
}
-
- if ($pager = theme('pager', NULL, $forum_per_page, 0, tablesort_pager())) {
- $rows[] = array(array('data' => $pager, 'colspan' => '5', 'class' => 'pager'));
- }
}
$output .= theme('table', $forum_topic_list_header, $rows);
+ $output .= theme('pager', NULL, $forum_per_page, 0, tablesort_pager());
return $output;
}