}
$cap = new CategoryPager( $from );
$wgOut->addHTML(
+ XML::openElement( 'div', array('class' => 'mw-spcontent') ) .
wfMsgExt( 'categoriespagetext', array( 'parse' ) ) .
$cap->getStartForm( $from ) .
$cap->getNavigationBar() .
'<ul>' . $cap->getBody() . '</ul>' .
- $cap->getNavigationBar()
+ $cap->getNavigationBar() .
+ XML::closeElement( 'div' )
);
}
# getBody() first to check, if empty
$usersbody = $up->getBody();
- $s = $up->getPageHeader();
+ $s = XML::openElement( 'div', array('class' => 'mw-spcontent') );
+ $s .= $up->getPageHeader();
if( $usersbody ) {
$s .= $up->getNavigationBar();
$s .= '<ul>' . $usersbody . '</ul>';
} else {
$s .= '<p>' . wfMsgHTML('listusers-noresult') . '</p>';
};
-
+ $s .= XML::closeElement( 'div' );
$wgOut->addHTML( $s );
}