| @@ 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 | { |
|
| @@ 2794-2801 (lines=8) @@ | ||
| 2791 | ||
| 2792 | // Now, alternate them so they can be shown left and right ;). |
|
| 2793 | $context['board_columns'] = array(); |
|
| 2794 | for ($i = 0; $i < $max_boards; $i++) |
|
| 2795 | { |
|
| 2796 | $context['board_columns'][] = $temp_boards[$i]; |
|
| 2797 | if (isset($temp_boards[$i + $max_boards])) |
|
| 2798 | $context['board_columns'][] = $temp_boards[$i + $max_boards]; |
|
| 2799 | else |
|
| 2800 | $context['board_columns'][] = array(); |
|
| 2801 | } |
|
| 2802 | ||
| 2803 | loadThemeOptions($memID); |
|
| 2804 | } |
|