| @@ 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 | { |
|
| @@ 2836-2843 (lines=8) @@ | ||
| 2833 | ||
| 2834 | // Now, alternate them so they can be shown left and right ;). |
|
| 2835 | $context['board_columns'] = array(); |
|
| 2836 | for ($i = 0; $i < $max_boards; $i++) |
|
| 2837 | { |
|
| 2838 | $context['board_columns'][] = $temp_boards[$i]; |
|
| 2839 | if (isset($temp_boards[$i + $max_boards])) |
|
| 2840 | $context['board_columns'][] = $temp_boards[$i + $max_boards]; |
|
| 2841 | else |
|
| 2842 | $context['board_columns'][] = array(); |
|
| 2843 | } |
|
| 2844 | ||
| 2845 | loadThemeOptions($memID); |
|
| 2846 | } |
|