mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 16:14:01 -05:00
Users: Allow the viewing of a user's win-loss record
PR for https://www.smogon.com/forums/threads/allow-the-viewing-of-a-users-win-loss-record-via-their-userpage.3736730/
This commit is contained in:
parent
6796b18acd
commit
81e2fa165c
|
|
@ -513,14 +513,8 @@ if (!$user) {
|
|||
<th width="55" style="text-align:center"><abbr title="Elo rating">Elo</abbr></th>
|
||||
<th width="50" style="text-align:center"><abbr title="user's percentage chance of winning a random battle (aka GLIXARE)">GXE</abbr></th>
|
||||
<th width="80" style="text-align:center"><abbr title="Glicko-1 rating: rating±deviation">Glicko-1</abbr></th>
|
||||
<?php
|
||||
if ($user['userid'] === $curuser['userid']) {
|
||||
?>
|
||||
<th width="20" style="text-align:center"><abbr title="Wins">W</abbr></th>
|
||||
<th width="20" style="text-align:center"><abbr title="Losses">L</abbr></th>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
echo $bufs['official'];
|
||||
|
|
@ -532,14 +526,8 @@ if (!$user) {
|
|||
<th width="55" style="text-align:center"><abbr title="Elo rating">Elo</abbr></th>
|
||||
<th width="50" style="text-align:center"><abbr title="user's percentage chance of winning a random battle (aka GLIXARE)">GXE</abbr></th>
|
||||
<th width="80" style="text-align:center"><abbr title="Glicko-1 rating: rating±deviation">Glicko-1</abbr></th>
|
||||
<?php
|
||||
if ($user['userid'] === $curuser['userid']) {
|
||||
?>
|
||||
<th width="20" style="text-align:center"><abbr title="Wins">W</abbr></th>
|
||||
<th width="20" style="text-align:center"><abbr title="Losses">L</abbr></th>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
echo $bufs['unofficial'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user