|
@@ 650-654 (lines=5) @@
|
| 647 |
|
isAllowedTo(array('admin_forum', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_boards', 'manage_smileys', 'manage_attachments')); |
| 648 |
|
|
| 649 |
|
// Find all of this forum's administrators... |
| 650 |
|
if (listMembergroupMembers_Href($context['administrators'], 1, 32) && allowedTo('manage_membergroups')) |
| 651 |
|
{ |
| 652 |
|
// Add a 'more'-link if there are more than 32. |
| 653 |
|
$context['more_admins_link'] = '<a href="' . $scripturl . '?action=moderate;area=viewgroups;sa=members;group=1">' . $txt['more'] . '</a>'; |
| 654 |
|
} |
| 655 |
|
|
| 656 |
|
// This makes it easier to get the latest news with your time format. |
| 657 |
|
$context['time_format'] = urlencode($user_info['time_format']); |
|
@@ 699-703 (lines=5) @@
|
| 696 |
|
isAllowedTo(array('admin_forum', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_boards', 'manage_smileys', 'manage_attachments')); |
| 697 |
|
|
| 698 |
|
// Find all of this forum's administrators... |
| 699 |
|
if (listMembergroupMembers_Href($context['administrators'], 1, 32) && allowedTo('manage_membergroups')) |
| 700 |
|
{ |
| 701 |
|
// Add a 'more'-link if there are more than 32. |
| 702 |
|
$context['more_admins_link'] = '<a href="' . $scripturl . '?action=moderate;area=viewgroups;sa=members;group=1">' . $txt['more'] . '</a>'; |
| 703 |
|
} |
| 704 |
|
|
| 705 |
|
// Load credits. |
| 706 |
|
$context[$context['admin_menu_name']]['tab_data'] = array( |