diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-21 22:57:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-21 22:57:43 +0000 |
commit | 4dac201e7c447a1f7e09d7972a14f517bbbf3edc (patch) | |
tree | 81f5f403434874e001d263130a3bafb815ee4c69 /includes/pager.inc | |
parent | c52a3feafeab874cab7c8304b08cf3dd4887792b (diff) | |
download | brdo-4dac201e7c447a1f7e09d7972a14f517bbbf3edc.tar.gz brdo-4dac201e7c447a1f7e09d7972a14f517bbbf3edc.tar.bz2 |
- Patch by Ulf: XHTML-ified the code.
Diffstat (limited to 'includes/pager.inc')
-rw-r--r-- | includes/pager.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pager.inc b/includes/pager.inc index 2bce78de8..4f6fe8877 100644 --- a/includes/pager.inc +++ b/includes/pager.inc @@ -29,13 +29,13 @@ function pager_display($tags = "", $limit = 10, $element = 0, $type = "default", * @see pager_display */ function pager_display_default($tags = "", $limit = 10, $element = 0, $attributes = array()) { - $output .= "<center><table cellpadding=\"10\"><tbody><tr>"; + $output .= "<div align=\"center\"><table cellpadding=\"10\"><tbody><tr>"; $output .= "<td align=\"center\">". pager_first(($tags[0] ? $tags[0] : t("first page")), $limit, $element, $attributes) ."</td>"; $output .= "<td align=\"center\">". pager_previous(($tags[1] ? $tags[1] : t("previous page")), $limit, $element, 1, $attributes) ."</td>"; $output .= "<td align=\"center\">". pager_list($limit, $element, ($tags[2] ? $tags[2] : 9 ), "", $attributes) ."</td>"; $output .= "<td align=\"center\">". pager_next(($tags[3] ? $tags[3] : t("next page")), $limit, $element, 1, $attributes) ."</td>"; $output .= "<td align=\"center\">". pager_last(($tags[4] ? $tags[4] : t("last page")), $limit, $element, $attributes) ."</td>"; - $output .= "</tr></tbody></table></center>"; + $output .= "</tr></tbody></table></div>"; return "$output"; } |