|
@@ 290-297 (lines=8) @@
|
| 287 |
|
$exclude_boards = empty($exclude_boards) ? array() : (is_array($exclude_boards) ? $exclude_boards : array($exclude_boards)); |
| 288 |
|
|
| 289 |
|
// What about including certain boards - note we do some protection here as pre-2.0 didn't have this parameter. |
| 290 |
|
if (is_array($include_boards) || (int) $include_boards === $include_boards) |
| 291 |
|
{ |
| 292 |
|
$include_boards = is_array($include_boards) ? $include_boards : array($include_boards); |
| 293 |
|
} |
| 294 |
|
elseif ($include_boards != null) |
| 295 |
|
{ |
| 296 |
|
$include_boards = array(); |
| 297 |
|
} |
| 298 |
|
|
| 299 |
|
// Let's restrict the query boys (and girls) |
| 300 |
|
$query_where = ' |
|
@@ 490-498 (lines=9) @@
|
| 487 |
|
$exclude_boards = empty($exclude_boards) ? array() : (is_array($exclude_boards) ? $exclude_boards : array($exclude_boards)); |
| 488 |
|
|
| 489 |
|
// Only some boards?. |
| 490 |
|
if (is_array($include_boards) || (int) $include_boards === $include_boards) |
| 491 |
|
{ |
| 492 |
|
$include_boards = is_array($include_boards) ? $include_boards : array($include_boards); |
| 493 |
|
} |
| 494 |
|
elseif ($include_boards != null) |
| 495 |
|
{ |
| 496 |
|
$output_method = $include_boards; |
| 497 |
|
$include_boards = array(); |
| 498 |
|
} |
| 499 |
|
|
| 500 |
|
$icon_sources = array(); |
| 501 |
|
foreach ($context['stable_icons'] as $icon) |