';
template_show_list('post_count_membergroups_list');
}
/**
* Add a new membergroup.
*/
function template_new_group()
{
global $context, $scripturl, $txt, $modSettings;
echo '
';
}
/**
* Edit an existing membergroup.
*/
function template_edit_group()
{
global $context, $scripturl, $txt, $modSettings;
echo '
';
if ($context['group']['allow_post_group'])
echo '
';
}
/**
* The template for determining which boards a group has access to.
*
* @param bool $collapse Whether to collapse the list by default
*/
function template_add_edit_group_boards_list($collapse = true, $form_id = 'new_group')
{
global $context, $txt, $modSettings;
echo '
';
else
echo '
', $txt['all'], ':
';
if ($collapse)
echo '
[ ', $txt['membergroups_select_visible_boards'], ' ]
';
}
/**
* Template for viewing the members of a group.
*/
function template_group_members()
{
global $context, $scripturl, $txt;
echo '
';
if (!empty($context['group']['assignable']))
echo '
';
}
/**
* Allow the moderator to enter a reason to each user being rejected.
*/
function template_group_request_reason()
{
global $context, $txt, $scripturl;
// Show a welcome message to the user.
echo '