Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users: Allow the viewing of a user's win-loss record #2228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions pokemonshowdown.com/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,14 +513,8 @@
<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&#177;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'];
Expand All @@ -532,14 +526,8 @@
<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&#177;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'];
Expand Down
Loading