'; foreach ($context['groups']['regular'] as $group) { echo ' '; } echo '
', $txt['membergroups_regular'], '
', $txt['membergroups_name'], ' ', $txt['membergroups_stars'], ' ', $txt['membergroups_members_top'], ' ', $txt[17], '
', empty($group['color']) ? ( $group['can_search'] ? $group['link'] : $group['name'] ) : '' . ( $group['can_search'] ? $group['link'] : $group['name']) . '', $group['id'] == 1 ? ' (?)' : ($group['id'] == 3 ? ' (?)' : ''), ' ', $group['stars'], ' ', $group['num_members'], ' ' . $txt['membergroups_modify'] . '

'; foreach ($context['groups']['post'] as $group) { echo ' '; } echo '
', $txt['membergroups_post'], '
', $txt['membergroups_name'], ' ', $txt['membergroups_stars'], ' ', $txt['membergroups_members_top'], ' ', $txt['membergroups_min_posts'], ' ', $txt[17], '
', empty($group['color']) ? ($group['can_search'] ? $group['link'] : $group['name']) : '' . ($group['can_search'] ? $group['link'] : $group['name']) . '', ' ', $group['stars'], ' ', $group['num_members'], ' ', $group['min_posts'], ' ' . $txt['membergroups_modify'] . '
'; } function template_new_group() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; if ($context['undefined_group']) echo ' '; if ($context['post_group'] || $context['undefined_group']) echo ' '; if (!$context['post_group'] || !empty($modSettings['permission_enable_postgroups'])) { echo ' '; } echo '
', $txt['membergroups_new_group'], '
', $txt['membergroups_min_posts'], ':
', $txt['membergroups_can_edit_later'], '
', $txt['membergroups_select_permission_type'], '
', $txt['membergroups_new_board'], ':', $context['post_group'] ? '
' . $txt['membergroups_new_board_post_groups'] . '
' : '', '
', $txt['membergroups_new_board_desc'], ''; foreach ($context['boards'] as $board) echo '
'; echo '

'; if ($context['undefined_group']) { echo ' '; } echo '
'; } function template_edit_group() { global $context, $settings, $options, $scripturl, $txt; echo '
'; if ($context['group']['allow_post_group']) echo ' '; echo ' '; if (!empty($context['boards'])) { echo ' '; } echo '
', $txt['membergroups_edit_group'], ' - ', $context['group']['name'], '
', $txt['membergroups_star_image_note'], '
', $txt['membergroups_images_url'], ' *
', $txt['membergroups_max_messages_note'], '
', $txt['membergroups_new_board'], ':', $context['group']['is_post_group'] ? '
' . $txt['membergroups_new_board_post_groups'] . '
' : '', '
', $txt['membergroups_new_board_desc'], ''; foreach ($context['boards'] as $board) echo '
'; echo '
', $context['group']['allow_delete'] ? ' ' : '', '
'; if ($context['group']['allow_post_group']) echo ' '; } function template_group_members() { global $context, $settings, $options, $scripturl, $txt; echo '
', $txt[21], $context['sort_by'] == 'posts' ? ' ' : '', ''; if (!empty($context['group']['assignable'])) echo ' '; echo ' '; if (empty($context['members'])) echo ' '; foreach ($context['members'] as $member) { echo ' ', $member['posts'], ''; if (!empty($context['group']['assignable'])) echo ' '; echo ' '; } if (!empty($context['group']['assignable'])) echo ' '; echo '
', $context['page_title'], '
', $txt[139], ': ', $context['page_index'], '
', $txt[68], $context['sort_by'] == 'name' ? ' ' : '', ' ', $txt[69], $context['sort_by'] == 'email' ? ' ' : '', ' ', $txt['attachment_manager_last_active'], $context['sort_by'] == 'active' ? ' ' : '', ' ', $txt[233], $context['sort_by'] == 'registered' ? ' ' : '', '
', $txt['membergroups_members_no_members'], '
', $member['name'], ' ', $member['email'], ' ', $member['last_online'], ' ', $member['registered'], '

'; if (!empty($context['group']['assignable'])) { echo '
', $txt['membergroups_members_add_title'], '
', $txt['membergroups_members_add_desc'], ': ', $txt['find_members'], '
'; } echo '
'; } function template_membergroup_settings() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; if ($context['can_change_permissions']) { echo ' '; } echo '
', $txt['membergroups_settings'], '
', $txt['groups_manage_membergroups'], ': '; theme_inline_permissions('manage_membergroups'); echo '
'; } ?>