aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/memberlist.php3
-rw-r--r--phpBB/templates/subSilver/memberlist_body.tpl6
2 files changed, 6 insertions, 3 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index f7554749dc..f18bcb4a89 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -238,6 +238,7 @@ for($i = 0; $i < count($members); $i++)
$template->assign_block_vars("memberrow", array(
"U_VIEWPROFILE" => append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $user_id),
+ "ROW_NR" => $i + $HTTP_GET_VARS['start'] + 1,
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"USERNAME" => $username,
@@ -292,4 +293,4 @@ $template->pparse("body");
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
-?> \ No newline at end of file
+?>
diff --git a/phpBB/templates/subSilver/memberlist_body.tpl b/phpBB/templates/subSilver/memberlist_body.tpl
index bf60119cad..4f9a2ec09d 100644
--- a/phpBB/templates/subSilver/memberlist_body.tpl
+++ b/phpBB/templates/subSilver/memberlist_body.tpl
@@ -10,7 +10,8 @@
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
- <th height="25" class="thCornerL">&nbsp;</th>
+ <th height="25" class="thCornerL">#</th>
+ <th class="thTop">&nbsp;</th>
<th class="thTop">{L_USERNAME}</th>
<th class="thTop">{L_EMAIL}</th>
<th class="thTop">{L_FROM}</th>
@@ -20,6 +21,7 @@
</tr>
<!-- BEGIN memberrow -->
<tr>
+ <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen">&nbsp;{memberrow.ROW_NR}&nbsp;</span></td>
<td class="{memberrow.ROW_CLASS}" align="center">&nbsp;{memberrow.PM_IMG}&nbsp;</td>
<td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}" class="gen">{memberrow.USERNAME}</a></span></td>
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle">&nbsp;{memberrow.EMAIL_IMG}&nbsp;</td>
@@ -30,7 +32,7 @@
</tr>
<!-- END memberrow -->
<tr>
- <td class="catbottom" colspan="7" height="28">&nbsp;</td>
+ <td class="catbottom" colspan="8" height="28">&nbsp;</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">