X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2FPager.php;h=0987cc066c4464b79345dbac4bcb1c8b5d3f9d55;hb=e7213578ce18589afba5d70f5076bc9490524748;hp=b97462d9895545fadb1605f4a366ed3d6aa1ac5a;hpb=60f4153293a6457b4bb472584aea19b262a13778;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Pager.php b/includes/Pager.php index b97462d989..0987cc066c 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -487,7 +487,7 @@ abstract class TablePager extends IndexPager { } function getEndBody() { - return ''; + return "\n"; } function getEmptyBody() { @@ -553,7 +553,7 @@ abstract class TablePager extends IndexPager { 'next' => $wgContLang->isRTL() ? 'arrow_disabled_left_25.png' : 'arrow_disabled_right_25.png', 'last' => $wgContLang->isRTL() ? 'arrow_disabled_first_25.png' : 'arrow_disabled_last_25.png', ); - + $linkTexts = array(); $disabledTexts = array(); foreach ( $labels as $type => $label ) { @@ -564,12 +564,12 @@ abstract class TablePager extends IndexPager { $links = $this->getPagingLinks( $linkTexts, $disabledTexts ); $navClass = htmlspecialchars( $this->getNavClass() ); - $s = ""; + $s = "
\n"; $cellAttrs = 'valign="top" align="center" width="' . 100 / count( $links ) . '%"'; foreach ( $labels as $type => $label ) { $s .= "\n"; } - $s .= '
{$links[$type]}
'; + $s .= "\n"; return $s; }