group_id;
$user_id_follows_array = $templateVar['group']->get_follows_user_id();
$group_members_display = $templateVar['group']->get_members_display();
$group_delay_array = [0 => "None", 1800 => "30 mins", 3600 => "1 hour", 7200 => "2 hours", 10800 => "3 hours", 14400 => "4 hours", 18000 => "5 hours",
21600 => "6 hours", 60*60*7 => '7 hours', 60*60*8 => '8 hours', 60*60*9 => '9 hours', 60*60*10 => '10 hours', 60*60*11 => '11 hours', 43200 => "12 hours", 86400 => "1 day", 172800 => "2 days", 259200 => "3 days", 345600 => "4 days", 432000 => "5 days",
518400 => "6 days", 604800 => "1 week", 1209600 => "2 weeks"];
?>
= display_group_banner($templateVar['group'], $templateVar['theme_id']) ?>
Group ID:
= display_fa_icon('hashtag') ?> = $templateVar['group']->group_id ?>
Alt name:
= ($templateVar['group']->group_alt_name) ? display_fa_icon('users') . ' ' . $templateVar['group']->group_alt_name : 'None' ?>
group_is_inactive) : ?>
Status:
Inactive
Stats:
= display_fa_icon('eye') ?> = number_format($templateVar['group']->group_views) ?>
= display_fa_icon('bookmark', 'Follows') ?> = number_format($templateVar['group']->group_follows) ?>
= display_fa_icon('file', 'Total chapters', '', 'far') ?> = number_format($templateVar['group']->count_chapters) ?>
Links:
group_website) { ?>
= display_fa_icon('external-link-square-alt', 'Website', 'fa-lg') ?>
= display_fa_icon('external-link-square-alt', 'Website', 'fa-lg') ?>
group_discord) { ?>
= display_fa_icon('discord', 'Discord', 'fa-lg', 'fab') ?>
= display_fa_icon('discord', 'Discord', 'fa-lg', 'fab') ?>
group_irc_channel) { ?>
= display_fa_icon('hashtag', 'IRC', 'fa-lg') ?>
= display_fa_icon('hashtag', 'IRC', 'fa-lg') ?>
group_email) { ?>
= display_fa_icon('envelope', 'Email', 'fa-lg') ?>
= display_fa_icon('envelope', 'Email', 'fa-lg') ?>
Actions:
= display_like_button($templateVar['user']->user_id, $templateVar['ip'], $templateVar['group']->get_likes_user_id_ip_list()) ?>
= display_follow_group_button($templateVar['user'], $user_id_follows_array) ?>
= display_block_group_button($templateVar['user'], $templateVar['blocked_user_ids_array']) ?>
= display_edit_group($templateVar['user'], $templateVar['group'], $templateVar['group_members_array']) ?>
user_id])) : ?>
= display_fa_icon('door-open', 'Leave', 'fas') ?> Leave
= display_delete_group($templateVar['user']) ?>
group_leader_id == $templateVar['user']->user_id || in_array($templateVar['user']->username, $templateVar['group_members_array'])) { //only display for relevant people ?>
group_leader_id > 1) { ?>
Leader:
= display_fa_icon('user') ?> = display_user_link($templateVar['group']->user_id, $templateVar['group']->username, $templateVar['group']->level_colour) ?>
Members:
= display_group_members_list($group_members_display); ?>
Upload restriction:
= ($templateVar['group']->group_control) ?
display_fa_icon('lock', 'Group members only', 'text-warning') . " Group members only " :
display_fa_icon('lock-open', 'No restrictions', 'text-success') . " None " ?>
Group delay:
= ($templateVar['group']->group_delay ? "" . ($group_delay_array[$templateVar['group']->group_delay] ?? ($templateVar['group']->group_delay . " Seconds")) . " " : "None ") ?>
group_leader_id == $templateVar['user']->user_id) { //only display for relevant people ?>
Actions:
= display_edit_group_members($templateVar['user'], $templateVar['group']) ?>
Invite:
= display_accept_group_invite() ?>
= display_reject_group_invite() ?>
group_leader_id == $templateVar['user']->user_id) { //only display for relevant people ?>
group_leader_id == 1)
print display_alert('warning', 'Notice', "The group leader may request to take over this internally generated group by posting in this
thread .") ?>
group_description) { ?>
= nl2br($templateVar['parser']->parse($templateVar['group']->group_description)->getAsHtml()); ?>
= $templateVar['group_tab_html'] ?>
= $templateVar['post_history_modal_html'] ?>