| @@ 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. |
|
| @@ 1379-1380 (lines=2) @@ | ||
| 1376 | // Message icons - customized icons are off? |
|
| 1377 | $context['icons'] = getMessageIcons($board); |
|
| 1378 | ||
| 1379 | if (!empty($context['icons'])) |
|
| 1380 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1381 | ||
| 1382 | // Build the normal button array. |
|
| 1383 | $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'])) |
|
| @@ 2744-2745 (lines=2) @@ | ||
| 2741 | require_once($sourcedir . '/Subs-Boards.php'); |
|
| 2742 | sortBoards($context['boards']); |
|
| 2743 | ||
| 2744 | if (!empty($context['no_access_boards'])) |
|
| 2745 | $context['no_access_boards'][count($context['no_access_boards']) - 1]['is_last'] = true; |
|
| 2746 | ||
| 2747 | $context['member']['permissions'] = array( |
|
| 2748 | 'general' => array(), |
|