| @@ 190-197 (lines=8) @@ | ||
| 187 | ||
| 188 | // Now, alternate them so they can be shown left and right ;). |
|
| 189 | $context['board_columns'] = array(); |
|
| 190 | for ($i = 0; $i < $max_boards; $i++) |
|
| 191 | { |
|
| 192 | $context['board_columns'][] = $temp_boards[$i]; |
|
| 193 | if (isset($temp_boards[$i + $max_boards])) |
|
| 194 | $context['board_columns'][] = $temp_boards[$i + $max_boards]; |
|
| 195 | else |
|
| 196 | $context['board_columns'][] = array(); |
|
| 197 | } |
|
| 198 | ||
| 199 | if (!empty($_REQUEST['topic'])) |
|
| 200 | { |
|
| @@ 2818-2825 (lines=8) @@ | ||
| 2815 | ||
| 2816 | // Now, alternate them so they can be shown left and right ;). |
|
| 2817 | $context['board_columns'] = array(); |
|
| 2818 | for ($i = 0; $i < $max_boards; $i++) |
|
| 2819 | { |
|
| 2820 | $context['board_columns'][] = $temp_boards[$i]; |
|
| 2821 | if (isset($temp_boards[$i + $max_boards])) |
|
| 2822 | $context['board_columns'][] = $temp_boards[$i + $max_boards]; |
|
| 2823 | else |
|
| 2824 | $context['board_columns'][] = array(); |
|
| 2825 | } |
|
| 2826 | ||
| 2827 | loadThemeOptions($memID); |
|
| 2828 | } |
|