Index: trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php |
— | — | @@ -205,6 +205,13 @@ |
206 | 206 | $wgOut->addHTML( $htmlOut ); |
207 | 207 | } |
208 | 208 | |
| 209 | + /** |
| 210 | + * Generate the HTML for an allocation table |
| 211 | + * @param $type string The title for the table |
| 212 | + * @param $banners array The banners to list |
| 213 | + * @param $weight integer The total weight of the banners |
| 214 | + * @return HTML for the table |
| 215 | + */ |
209 | 216 | function getTable( $type, $banners, $weight ) { |
210 | 217 | global $wgLang; |
211 | 218 | |
Index: trunk/extensions/CentralNotice/CentralNotice.db.php |
— | — | @@ -411,6 +411,7 @@ |
412 | 412 | |
413 | 413 | /** |
414 | 414 | * Return all of the available countries for geotargeting |
| 415 | + * TODO: Move this out of CentralNoticeDB (or rename the class) |
415 | 416 | * @param string $code The language code to return the country list in |
416 | 417 | * @return array |
417 | 418 | */ |