| @@ 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. |
|
| @@ 1254-1255 (lines=2) @@ | ||
| 1251 | // Message icons - customized icons are off? |
|
| 1252 | $context['icons'] = getMessageIcons($board); |
|
| 1253 | ||
| 1254 | if (!empty($context['icons'])) |
|
| 1255 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1256 | ||
| 1257 | // Build the normal button array. |
|
| 1258 | $context['normal_buttons'] = array(); |
|
| @@ 1162-1163 (lines=2) @@ | ||
| 1159 | // Message icons - customized icons are off? |
|
| 1160 | $context['icons'] = getMessageIcons($board); |
|
| 1161 | ||
| 1162 | if (!empty($context['icons'])) |
|
| 1163 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1164 | ||
| 1165 | // Are we starting a poll? if set the poll icon as selected if its available |
|
| 1166 | if (isset($_REQUEST['poll'])) |
|
| @@ 2734-2735 (lines=2) @@ | ||
| 2731 | require_once($sourcedir . '/Subs-Boards.php'); |
|
| 2732 | sortBoards($context['boards']); |
|
| 2733 | ||
| 2734 | if (!empty($context['no_access_boards'])) |
|
| 2735 | $context['no_access_boards'][count($context['no_access_boards']) - 1]['is_last'] = true; |
|
| 2736 | ||
| 2737 | $context['member']['permissions'] = array( |
|
| 2738 | 'general' => array(), |
|