| @@ 2736-2737 (lines=2) @@ | ||
| 2733 | require_once($sourcedir . '/Subs-Boards.php'); |
|
| 2734 | sortBoards($context['boards']); |
|
| 2735 | ||
| 2736 | if (!empty($context['no_access_boards'])) |
|
| 2737 | $context['no_access_boards'][count($context['no_access_boards']) - 1]['is_last'] = true; |
|
| 2738 | ||
| 2739 | $context['member']['permissions'] = array( |
|
| 2740 | 'general' => array(), |
|
| @@ 618-619 (lines=2) @@ | ||
| 615 | } |
|
| 616 | $smcFunc['db_free_result']($request); |
|
| 617 | ||
| 618 | if (!empty($context['linked_calendar_events'])) |
|
| 619 | $context['linked_calendar_events'][count($context['linked_calendar_events']) - 1]['is_last'] = true; |
|
| 620 | } |
|
| 621 | ||
| 622 | // Create the poll info if it exists. |
|
| @@ 1250-1251 (lines=2) @@ | ||
| 1247 | // Message icons - customized icons are off? |
|
| 1248 | $context['icons'] = getMessageIcons($board); |
|
| 1249 | ||
| 1250 | if (!empty($context['icons'])) |
|
| 1251 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1252 | ||
| 1253 | // Build the normal button array. |
|
| 1254 | $context['normal_buttons'] = array(); |
|
| @@ 1165-1166 (lines=2) @@ | ||
| 1162 | // Message icons - customized icons are off? |
|
| 1163 | $context['icons'] = getMessageIcons($board); |
|
| 1164 | ||
| 1165 | if (!empty($context['icons'])) |
|
| 1166 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1167 | ||
| 1168 | // Are we starting a poll? if set the poll icon as selected if its available |
|
| 1169 | if (isset($_REQUEST['poll'])) |
|