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/path/path.module | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/path') diff --git a/modules/path/path.module b/modules/path/path.module index d0190f82b..a5fd3807a 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -256,15 +256,13 @@ function path_overview() { $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid", array(), $destination)); } - if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) { - $rows[] = array(array('data' => $pager, 'colspan' => '4')); - } - if (!$rows) { $rows[] = array(array('data' => t('No URL aliases available.'), 'colspan' => '4')); } - return theme('table', $header, $rows); + $output = theme('table', $header, $rows); + $output .= theme('pager', NULL, 50, 0, tablesort_pager()); + return $output; } /** -- cgit v1.2.3