{lang code='group_options'}

{assign var=join_link value=$cbgroup->group_opt_link($group,'join')} {if $join_link}
- {$join_link}
{/if} {assign var=invite_link value=$cbgroup->group_opt_link($group,'invite')} {if $invite_link}
- {$invite_link}
{/if} {assign var=leave_link value=$cbgroup->group_opt_link($group,'leave')} {if $leave_link}
- {$leave_link}
{/if} {if isSectionEnabled('videos')} {assign var=add_videos_link value=$cbgroup->group_opt_link($group,'add_videos')} {if $add_videos_link}
- {$add_videos_link}
{/if} {/if} {if isSectionEnabled('videos')} {assign var=manage_videos_link value=$cbgroup->group_opt_link($group,'manage_videos')} {if $manage_videos_link}
- {$manage_videos_link}
{/if} {/if} {if isSectionEnabled('channels')} {assign var=manage_members_link value=$cbgroup->group_opt_link($group,'manage_members')} {if $manage_members_link}
- {$manage_members_link}
{/if} {/if} {assign var=edit_group_link value=$cbgroup->group_opt_link($group,'edit_group')} {if $edit_group_link}
- {$edit_group_link}
{/if} {assign var=remove_group_link value=$cbgroup->group_opt_link($group,'remove_group')} {if $remove_group_link}
- {$remove_group_link}
{/if}

- {lang code='info'}
{if isSectionEnabled('channels') && $isviewable}
- {lang code='members'}
{/if} {if isSectionEnabled('videos') && $isviewable}
- {lang code='videos'}
{/if}
- {lang code='report_this'}

{lang code='basic_info'}
{lang code='grp_name_title'} {$group.group_name}
{assign var=owner value=$userquery->get_user_details($group.userid)} {lang code='group_owner'} {$owner.username}
{lang code='total_mems'} {$group.total_members|number_format}
{lang code='com_total_vids'} {$group.total_videos|number_format}
{lang code='total_topics'} {$group.total_topics|number_format}
{lang code='views'} {$group.total_views|number_format}
{lang code='grp_url'}
{lang code='more_details'}
{lang code='vdo_desc'} {$group.group_description}
{lang code='tags'} {$group.group_tags|tags:group}
{lang code='category'} {$group.category|categories:group}
{assign var=users_items_group_page value=func->config(users_items_group_page)} {assign var=members value=$cbgroup->get_members($group.group_id,"yes",$users_items_group_page)} {if $members} {foreach from=$members item=member} {include file="$style_dir/blocks/user.html" user=$member block_type='medium'} {/foreach} {/if}
{lang code='view_all_mems'}
{assign var=gpvidlimit value=func->config(videos_items_grp_page)} {assign var=gpvids value=$cbgroup->get_group_videos($group.group_id,'yes',$gpvidlimit)} {if $gpvids} {foreach from=$gpvids item=video} {include file="$style_dir/blocks/video.html" video=$video video_view="grid_view"} {/foreach} {/if}
{lang code='view_all_vids'}
{show_flag_form id=$group.group_id type=Group}