summaryrefslogtreecommitdiff
path: root/modules/path.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/path.module
parente4ec9ad36dd6850e0e17bb75f977c03a7c2735f7 (diff)
downloadbrdo-67e68fc679643ccb7c79e7b160ae22813d44ed97.tar.gz
brdo-67e68fc679643ccb7c79e7b160ae22813d44ed97.tar.bz2
- Patch #28786 by Neil: move pagers out of table.
Diffstat (limited to 'modules/path.module')
-rw-r--r--modules/path.module8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/path.module b/modules/path.module
index d0190f82b..a5fd3807a 100644
--- a/modules/path.module
+++ b/modules/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;
}
/**