From 67e68fc679643ccb7c79e7b160ae22813d44ed97 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Sep 2005 07:53:26 +0000 Subject: - Patch #28786 by Neil: move pagers out of table. --- modules/node/node.module | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 586ffafba..3a9682612 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -962,15 +962,12 @@ function node_admin_nodes() { l(t('edit'), 'node/'. $node->nid .'/edit', array(), $destination)); } - if ($pager = theme('pager', NULL, 50, 0)) { - $rows[] = array(array('data' => $pager, 'colspan' => '7')); - } - if (!$rows) { $rows[] = array(array('data' => t('No posts available.'), 'colspan' => '6')); } $output .= theme('table', $header, $rows); + $output .= theme('pager', NULL, 50, 0); return form($output, 'post', url('admin/node/action')); } -- cgit v1.2.3