aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-08-16 07:37:22 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-08-16 07:37:22 +0000
commitab55f28b816558e65664eb47ddea183d2a21a7b9 (patch)
treee1c68b90c737722ee625e2fcf5e7c717405136c7 /phpBB/templates
parent1390d48aa3b90c3925235120a015d8a00cf889a0 (diff)
downloadforums-ab55f28b816558e65664eb47ddea183d2a21a7b9.tar
forums-ab55f28b816558e65664eb47ddea183d2a21a7b9.tar.gz
forums-ab55f28b816558e65664eb47ddea183d2a21a7b9.tar.bz2
forums-ab55f28b816558e65664eb47ddea183d2a21a7b9.tar.xz
forums-ab55f28b816558e65664eb47ddea183d2a21a7b9.zip
Some work on group cp done. Can apply to join a group and the moderator can approve or deny.
TODO: Implement email sent when approved/denied. Implement ability for group moderator to remove a group member. git-svn-id: file:///svn/phpbb/trunk@891 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates')
-rw-r--r--phpBB/templates/PSO/groupcp_info_body.tpl99
-rw-r--r--phpBB/templates/PSO/groupcp_list_body.tpl32
-rw-r--r--phpBB/templates/PSO/groupcp_user_body.tpl16
3 files changed, 125 insertions, 22 deletions
diff --git a/phpBB/templates/PSO/groupcp_info_body.tpl b/phpBB/templates/PSO/groupcp_info_body.tpl
index 794fdae48f..f020781e83 100644
--- a/phpBB/templates/PSO/groupcp_info_body.tpl
+++ b/phpBB/templates/PSO/groupcp_info_body.tpl
@@ -8,7 +8,7 @@
<tr><form method="POST" action="{S_GROUP_INFO_ACTION}">
<td class="tablebg"><table width="100%" cellpadding="4" cellspacing="1" border="0">
<tr>
- <td class="cat" colspan="7"><span class="cattitle">{L_GROUP_INFORMATION}</span></td>
+ <td class="cat" colspan="2"><span class="cattitle">{L_GROUP_INFORMATION}</span></td>
</tr>
<tr>
<td class="row1" width="20%"><span class="gen">{L_GROUP_NAME}:</span></td>
@@ -27,3 +27,100 @@
</table></div>
<br clear="all">
+
+<form action="{S_PENDING_ACTION}" method="POST">
+<table border="0" cellpadding="1" cellspacing="0" width="98%" align="center">
+ <tr>
+ <td class="tablebg"><table width="100%" cellpadding="4" cellspacing="1" border="0">
+ <tr>
+ <td class="cat" colspan="6"><span class="cattitle">Group Moderator</span></td>
+ </tr>
+ <tr>
+ <th width="8%">&nbsp;</th>
+ <th><b>{L_USERNAME}</b></td>
+ <th width="8%"><b>{L_EMAIL}</b></td>
+ <th><b>{L_FROM}</b></td>
+ <th><b>{L_POSTS}</b></td>
+ <th width="8%"><b>{L_WEBSITE}</b></td>
+ </tr>
+ <tr>
+ <td class="row1" width="8%" align="center"> {MOD_PM_IMG} </td>
+ <td class="row1" align="center"><span class="gen"><a href="{MOD_U_MOD_VIEWPROFILE}">{MOD_USERNAME}</a></span></td>
+ <td class="row1" width="8%" align="center" valign="middle"> {MOD_EMAIL_IMG} </td>
+ <td class="row1" align="center" valign="middle"><span class="gen">{MOD_FROM}</span></td>
+ <td class="row1" align="center" valign="middle"><span class="gen">{MOD_POSTS}</span></td>
+ <td class="row1" width="8%" align="center"> {MOD_WWW_IMG} </a></td>
+ </tr>
+ <tr>
+ <td class="cat" colspan="7"><span class="cattitle">Group Members</span></td>
+ </tr>
+ <tr>
+ <th>&nbsp;</th>
+ <th><b>{L_USERNAME}</b></td>
+ <th><b>{L_EMAIL}</b></td>
+ <th><b>{L_FROM}</b></td>
+ <th><b>{L_POSTS}</b></td>
+ <th><b>{L_WEBSITE}</b></td>
+ </tr>
+ <!-- BEGIN memberrow -->
+ <tr>
+ <td class="{memberrow.ROW_CLASS}" width="8%" align="center"> {memberrow.PM_IMG} </td>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></td>
+ <td class="{memberrow.ROW_CLASS}" width="8%" align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.FROM}</span></td>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.POSTS}</span></td>
+ <td class="{memberrow.ROW_CLASS}" width="8%" align="center"> {memberrow.WWW_IMG} </a></td>
+ </tr>
+ <!-- END memberrow -->
+ <!-- BEGIN pendingmembers -->
+ <tr>
+ <td class="cat" colspan="7"><span class="cattitle">Pending Members</span></td>
+ </tr>
+ <tr>
+ <th>{L_PM}</th>
+ <th><b>{L_USERNAME}</b></td>
+ <th><b>{L_EMAIL}</b></td>
+ <th><b>{L_FROM}</b></td>
+ <th><b>{L_POSTS}</b></td>
+ <th><b>{L_SELECT}</b></td>
+ </tr>
+ <!-- END pendingmembers -->
+ <!-- BEGIN pendingmembersrow -->
+ <tr>
+ <td class="{pendingmembersrow.ROW_CLASS}" width="8%" align="center"> {pendingmembersrow.PM_IMG} </td>
+ <td class="{pendingmembersrow.ROW_CLASS}" align="center"><span class="gen"><a href="{pendingmembersrow.U_VIEWPROFILE}">{pendingmembersrow.USERNAME}</a></span></td>
+ <td class="{pendingmembersrow.ROW_CLASS}" width="8%" align="center" valign="middle"> {pendingmembersrow.EMAIL_IMG} </td>
+ <td class="{pendingmembersrow.ROW_CLASS}" align="center"><span class="gen">{pendingmembersrow.FROM}</span></td>
+ <td class="{pendingmembersrow.ROW_CLASS}" align="center"><span class="gen">{pendingmembersrow.POSTS}</span></td>
+ <td class="{pendingmembersrow.ROW_CLASS}" width="8%" align="center"><span class="gen"> {pendingmembersrow.SELECT} {L_SELECT} </span></td>
+ </tr>
+ <!-- END pendingmembersrow -->
+ <!-- BEGIN pendingmembers -->
+ <tr>
+ <td class="cat" colspan="7" align="right"><span class="cattitle"><input type="submit" name="approve" value="{L_APPROVESELECTED}">&nbsp;<input type="submit" name="deny" value="{L_DENYSELECTED}"></span></td>
+ </tr>
+ <!-- END pendingmembers -->
+
+ <!-- BEGIN nomembers -->
+ <tr>
+ <td class="row1" colspan="6" align="center">{L_NO_MEMBERS}</td>
+ </tr>
+ <!-- END nomembers -->
+ <tr>
+ <td class="cat" colspan="6"><table width="100%" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td><span class="gen">&nbsp;<!-- {L_PAGE} <b>{ON_PAGE}</b> {L_OF} <b>{TOTAL_PAGES}</b></span></td>
+ <td align="right"><span class="gen">{PAGINATION}&nbsp;</span> --></td>
+ </tr>
+ </table></td>
+ </tr>
+ </table></td>
+ </tr>
+</table>
+</form>
+<table width="98%" cellspacing="2" border="0" align="center">
+ <tr>
+ <td width="40%" valign="top"><span class="gensmall"><b>{S_TIMEZONE}</b></span></td>
+ <td align="right" valign="top" nowrap>{JUMPBOX}</td>
+ </tr>
+</table>
diff --git a/phpBB/templates/PSO/groupcp_list_body.tpl b/phpBB/templates/PSO/groupcp_list_body.tpl
index 897c5a219e..b36f2dc5a9 100644
--- a/phpBB/templates/PSO/groupcp_list_body.tpl
+++ b/phpBB/templates/PSO/groupcp_list_body.tpl
@@ -6,22 +6,20 @@
<td class="cat" colspan="7"><span class="cattitle">Group Moderator</span></td>
</tr>
<tr>
- <th>{L_PM}</th>
+ <th width="8%">&nbsp;</th>
<th><b>{L_USERNAME}</b></td>
- <th><b>{L_EMAIL}</b></td>
+ <th width="8%"><b>{L_EMAIL}</b></td>
<th><b>{L_FROM}</b></td>
- <th><b>{L_JOINED}</b></td>
<th><b>{L_POSTS}</b></td>
- <th><b>{L_WEBSITE}</b></td>
+ <th width="8%"><b>{L_WEBSITE}</b></td>
</tr>
<tr>
- <td class="row1" width="8%" align="center">&nbsp;{MOD_PM_IMG}&nbsp;</td>
+ <td class="row1" width="8%" align="center"> {MOD_PM_IMG} </td>
<td class="row1" align="center"><span class="gen"><a href="{MOD_U_MOD_VIEWPROFILE}">{MOD_USERNAME}</a></span></td>
- <td class="row1" width="8%" align="center" valign="middle">&nbsp;{MOD_EMAIL_IMG}&nbsp;</td>
+ <td class="row1" width="8%" align="center" valign="middle"> {MOD_EMAIL_IMG} </td>
<td class="row1" align="center" valign="middle"><span class="gen">{MOD_FROM}</span></td>
- <td class="row1" align="center" valign="middle"><span class="gensmall">{MOD_JOINED}</span></td>
<td class="row1" align="center" valign="middle"><span class="gen">{MOD_POSTS}</span></td>
- <td class="row1" width="8%" align="center">&nbsp;{MOD_WWW_IMG}&nbsp;</a></td>
+ <td class="row1" width="8%" align="center"> {MOD_WWW_IMG} </a></td>
</tr>
<tr>
<td class="cat" colspan="7"><span class="cattitle">Group Members</span></td>
@@ -31,26 +29,24 @@
<th><b>{L_USERNAME}</b></td>
<th><b>{L_EMAIL}</b></td>
<th><b>{L_FROM}</b></td>
- <th><b>{L_JOINED}</b></td>
<th><b>{L_POSTS}</b></td>
<th><b>{L_WEBSITE}</b></td>
</tr>
<!-- BEGIN memberrow -->
<tr>
- <td width="8%" bgcolor="{memberrow.ROW_COLOR}" align="center">&nbsp;{memberrow.PM_IMG}&nbsp;</td>
- <td bgcolor="{memberrow.ROW_COLOR}" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></td>
- <td width="8%" bgcolor="{memberrow.ROW_COLOR}" align="center" valign="middle">&nbsp;{memberrow.EMAIL_IMG}&nbsp;</td>
- <td bgcolor="{memberrow.ROW_COLOR}" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
- <td bgcolor="{memberrow.ROW_COLOR}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
- <td bgcolor="{memberrow.ROW_COLOR}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
- <td width="8%" bgcolor="{memberrow.ROW_COLOR}" align="center">&nbsp;{memberrow.WWW_IMG}&nbsp;</a></td>
+ <td class="{memberrow.ROW_CLASS}" width="8%" align="center"> {memberrow.PM_IMG} </td>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></td>
+ <td class="{memberrow.ROW_CLASS}" width="8%" align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.FROM}</span></td>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">{memberrow.POSTS}</span></td>
+ <td class="{memberrow.ROW_CLASS}" width="8%"> {memberrow.WWW_IMG} </a></td>
</tr>
<!-- END memberrow -->
<tr>
<td class="cat" colspan="7"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
- <td><span class="gen">&nbsp;{L_PAGE} <b>{ON_PAGE}</b> {L_OF} <b>{TOTAL_PAGES}</b></span></td>
- <td align="right"><span class="gen">{PAGINATION}&nbsp;</span></td>
+ <td><span class="gen">&nbsp;<!-- {L_PAGE} <b>{ON_PAGE}</b> {L_OF} <b>{TOTAL_PAGES}</b></span></td>
+ <td align="right"><span class="gen">{PAGINATION}&nbsp;</span> --></td>
</tr>
</table></td>
</tr>
diff --git a/phpBB/templates/PSO/groupcp_user_body.tpl b/phpBB/templates/PSO/groupcp_user_body.tpl
index eaca001104..8f33805823 100644
--- a/phpBB/templates/PSO/groupcp_user_body.tpl
+++ b/phpBB/templates/PSO/groupcp_user_body.tpl
@@ -7,9 +7,11 @@
<div align="center"><table border="0" cellpadding="1" cellspacing="0" width="98%">
<tr>
<td class="tablebg"><table width="100%" cellpadding="4" cellspacing="1" border="0">
+ <!-- BEGIN group_joined -->
<tr>
- <td class="cat" colspan="2" align="center"><span class="cattitle"><b>{L_GROUP_MEMBERSHIP_DETAILS}</b></span></td>
+ <td class="cat" colspan="2"><span class="cattitle"><b>{L_GROUP_MEMBERSHIP_DETAILS}</b></span></td>
</tr>
+ <!-- BEGIN group_member -->
<tr>
<td class="row1"><span class="gen">{L_YOU_BELONG_GROUPS}</span></td>
<td class="row2"><table width="100%" cellspacing="0" cellpadding="0" border="0">
@@ -20,6 +22,8 @@
</form></tr>
</table></td>
</tr>
+ <!-- END group_member -->
+ <!-- BEGIN group_pending -->
<tr>
<td class="row1"><span class="gen">{L_PENDING_GROUPS}</span></td>
<td class="row2"><table width="100%" cellspacing="0" cellpadding="0" border="0">
@@ -30,8 +34,11 @@
</form></tr>
</table></td>
</tr>
+ <!-- END group_pending -->
+ <!-- END group_joined -->
+ <!-- BEGIN group_subscribe -->
<tr>
- <td class="cat" colspan="2" align="center"><span class="cattitle"><b>{L_JOIN_A_GROUP}</b></span></td>
+ <td class="cat" colspan="2"><span class="cattitle"><b>{L_JOIN_A_GROUP}</b></span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_SELECT_A_GROUP}</span></td>
@@ -39,10 +46,13 @@
<tr><form method="post" action="{S_USERGROUP_ACTION}">
<td width="40%" align="center">&nbsp;{GROUP_LIST_SELECT}&nbsp;</td>
<td width="30%" align="center">&nbsp;<input type="submit" name="viewinfo" value="{L_VIEW_INFORMATION}">&nbsp;</td>
- <td width="30%" align="center">&nbsp;<input type="submit" name="subnew" value="{L_SUBSCRIBE}">&nbsp;</td>
+ <td width="30%" align="center">&nbsp;</td>
</form></tr>
</table></td>
</tr>
+ <!-- END group_join -->
</table></td>
</tr>
</table></div>
+
+<br clear="all">