if( !isset($groups[$group]) ) {
$groups[$group] = array();
}
- //$groups[$group][$page->getDescription()] = $page->getTitle();
$groups[$group][$page->getDescription()] = array( $page->getTitle(), $page->isRestricted() );
}
}
}
/** Now output the HTML */
- $restrictedPages = false;
foreach ( $groups as $group => $sortedPages ) {
$middle = ceil( count($sortedPages)/2 );
$total = count($sortedPages);
wfMsgWikiHtml('specialpages-note').
Xml::closeElement('div')
);
-}
\ No newline at end of file
+}