| @@ 590-591 (lines=2) @@ | ||
| 587 | } |
|
| 588 | $smcFunc['db_free_result']($request); |
|
| 589 | ||
| 590 | if (!empty($context['linked_calendar_events'])) |
|
| 591 | $context['linked_calendar_events'][count($context['linked_calendar_events']) - 1]['is_last'] = true; |
|
| 592 | } |
|
| 593 | ||
| 594 | // Create the poll info if it exists. |
|
| @@ 1220-1221 (lines=2) @@ | ||
| 1217 | // Message icons - customized icons are off? |
|
| 1218 | $context['icons'] = getMessageIcons($board); |
|
| 1219 | ||
| 1220 | if (!empty($context['icons'])) |
|
| 1221 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1222 | ||
| 1223 | // Build the normal button array. |
|
| 1224 | $context['normal_buttons'] = array(); |
|
| @@ 1108-1109 (lines=2) @@ | ||
| 1105 | // Message icons - customized icons are off? |
|
| 1106 | $context['icons'] = getMessageIcons($board); |
|
| 1107 | ||
| 1108 | if (!empty($context['icons'])) |
|
| 1109 | $context['icons'][count($context['icons']) - 1]['is_last'] = true; |
|
| 1110 | ||
| 1111 | // Are we starting a poll? if set the poll icon as selected if its available |
|
| 1112 | 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(), |
|