Location: PHPKode > projects > Talkboard Forum > tbf-2.1.6/template/tbfV2/groupcp.tpl
:###- TEMPLATE FILE V2.1 -###:
@author Archilles (http://tbforum.sourceforge.net/)
@id tbfV2.groupcp
@sub groupcp_list, groupcp_list_dataset, groupcp_detail, groupcp_management_head, groupcp_management_dataset, groupcp_management_tail
:###- BEGIN TEMPLATE DATA -###:
<!--@hide@address.com>

<!--@TEMPLATE:groupcp_list#hide@address.com>
<!--@hide@address.com>
<!-- ### GROUP LIST ### -->
<h2>{LANG:GROUP_LIST_OF_FORUM}</h2>

<div class="box_normal_left">
<ul class="box_common_nav">
<li><a href="{LINK:FILE_MEMBERS,action=member_list}">{LANG:BACK_TO_MEMBER_LIST}</a></li>
</ul>
</div>

<div class="box_normal_right">
<table class="tbl_with_border">
<tr>
<td class="tbl_head">&nbsp;&nbsp;</td>
<td class="tbl_head">{LANG:GID}</td>
<td class="tbl_head">{LANG:GROUP_LIST_NAME}</td>
<td class="tbl_head">{LANG:GROUP_LIST_MODERATOR}</td>
<td class="tbl_head">{LANG:MEMBERS}</td>
<td class="tbl_head">{LANG:OPTIONS}</td>
</tr>

{@LISTING_FORUM_GROUPS}

</table>
</div>
<!-- ### /GROUP LIST ### -->
<!--@TEMPLATE:groupcp_list#hide@address.com>

<!--@TEMPLATE:groupcp_list_dataset#hide@address.com>
<!--@MULTI_VARIABLE:ROW_COLOR,1=tbl_cell_bright&2=hide@address.com>
<!-- ### GROUP ENTRY ### -->
<tr>
<td style="background-color: {@GROUP_COLOR};">&nbsp;&nbsp;</td>
<td class="{@ROW_COLOR}" align="center">{@GROUP_ID}</td>
<td class="{@ROW_COLOR}">{@GROUP_NAME}</td>
<td class="{@ROW_COLOR}">{@GROUP_MODERATOR}</td>
<td class="{@ROW_COLOR}" align="center">{@GROUP_COUNT}</td>
<td class="{@ROW_COLOR}">
<a href="{LINK:FILE_GROUPCP,action=group_detail&kid={GROUP_ID}}">{LANG:ACL_VIEW}</a>
<!--@IF_BLOCK:JOIN_LINK#hide@address.com>
<a href="{LINK:FILE_GROUPCP,action=group_join&kid={GROUP_ID}&c=0}">{LANG:GROUP_LIST_JOIN}</a>
<!--@IF_BLOCK:JOIN_LINK#hide@address.com>
<!--@IF_BLOCK:PANEL_LINK#hide@address.com>
<a href="{LINK:FILE_GROUPCP,action=group_panel&subaction=view&kid={GROUP_ID}}" class="link_moderator">{LANG:GROUP_LIST_PANEL}</a>
<!--@IF_BLOCK:PANEL_LINK#hide@address.com>
</td>
</tr>
<!-- ### /GROUP ENTRY ### -->
<!--@TEMPLATE:groupcp_list_dataset#hide@address.com>

<!--@TEMPLATE:groupcp_detail#hide@address.com>
<!-- ### GROUP DETAIL ### -->
<h2>{@GROUP_DETAIL}</h2>

<div class="box_normal_left">
<ul class="box_common_nav">
<li><a href="{LINK:FILE_GROUPCP,action=group_list}">{LANG:GROUP_LIST_BACK_TO_VIEW}</a></li>
</ul>
</div>

<div class="box_normal_right">
<table class="tbl_with_border">

<tr>
<td class="tbl_cell_dark">{LANG:GROUP_LIST_NAME}</td>
<td>{@GROUP_IDENTIFICATION}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:GROUP_LIST_MODERATOR}</td>
<td>{@GROUP_MODERATOR}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:GROUP_LIST_DESCRIPTION}</td>
<td>{@GROUP_DESCRIPTION}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:GROUP_LIST_PERMISSION}</td>
<td>{@GROUP_PERMISSIONS}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:MEMBERS}</td>
<td>{@GROUP_MEMBER_LISTING}</td>
</tr>

<!--@IF_BLOCK:JOIN_LINK#hide@address.com>
<tr>
<td class="tbl_cell_dark" colspan="2">
{@GROUP_JOIN_TEXT}
</td>
</tr>
<!--@IF_BLOCK:JOIN_LINK#hide@address.com>

</table>
</div>
<!-- ### /GROUP DETAIL ### -->
<!--@TEMPLATE:groupcp_detail#hide@address.com>

<!--@TEMPLATE:groupcp_management_head#hide@address.com>
<!--@hide@address.com>
<h2>{LANG:GROUP_LIST_PANEL} - {@GROUP_NAME}</h2>

<div class="box_normal_left">
<ul class="box_common_nav">
<li><a href="{LINK:FILE_GROUPCP,action=group_panel&kid={KID}}">{LANG:GROUP_LIST_PANEL}</a></li>
<li><a href="{LINK:FILE_GROUPCP,action=group_list}">{LANG:GROUP_LIST_BACK_TO_VIEW}</a></li>
</ul>
</div>
<div class="box_normal_right">
<!--@TEMPLATE:groupcp_management_head#hide@address.com>

<!--@TEMPLATE:groupcp_management_dataset#hide@address.com>
<!--@hide@address.com>
<div class="box_normal_inline">
{@REQUEST_TEXT}<br />
[ <a href="{LINK:FILE_GROUPCP,action=group_panel&subaction=exec&class=accept&kid={REQUEST_TARGET_GROUP}&req_id={REQUEST_ID}}">{LANG:ACCEPT_REQUEST}</a> ]
[ <a href="{LINK:FILE_GROUPCP,action=group_panel&subaction=exec&class=drop&kid={REQUEST_TARGET_GROUP}&req_id={REQUEST_ID}}">{LANG:DROP_REQUEST}</a> ]
</div>
<!--@TEMPLATE:groupcp_management_dataset#hide@address.com>

<!--@TEMPLATE:groupcp_management_tail#hide@address.com>
<!--@IF_BLOCK:NO_HITS_FOUND#hide@address.com>{LANG:GROUP_LIST_NO_REQUEST_AT_THE_MOMENT}<!--@IF_BLOCK:NO_HITS_FOUND#hide@address.com>
</div>
<!--@TEMPLATE:groupcp_management_tail#hide@address.com>

<!--@TEMPLATE:groupcp_management_demote#hide@address.com>
<!--@MULTI_BLOCK:CLASS#hide@address.com>
<!--#B:1#--><div class="box_normal_inline">
{LANG:USER_DEMOTE_LIST_FOR_THIS_GROUP}<br />
{@USERS_AVAILABLE_FOR_DEMOTE}
</div><!--#E#-->
<!--#B:2#--><div class="box_normal_inline">
<form action="{VAR:FILE_GROUPCP}" method="get" onsubmit="TBF_Toggle_Loading_Screen();">
{INPUT:HIDDEN,action,group_panel}
{INPUT:HIDDEN,subaction,demote}
{INPUT:HIDDEN,kid,{KID}}
{INPUT:HIDDEN,target_uid,{DEMOTE_USERNAME}}
{@DEMOTE_TEXT}<br />
{@DEMOTE_TARGET_GROUP_LIST}<br />
{INPUT:SUBMIT,,{LANG:GO}}
{@APPSID_P}
</form>
</div><!--#E#-->
<!--@MULTI_BLOCK:CLASS#hide@address.com>
<!--@TEMPLATE:groupcp_management_demote#hide@address.com>
Return current item: Talkboard Forum