Skip to content
This repository
Browse code

Spacing

  • Loading branch information...
commit f28e3fa4bfb0e69560c21431d541c2a9be578d92 1 parent 8fb59fd
David Haywood Smith authored

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. +7 1 plugins/points.php
8 plugins/points.php
@@ -46,15 +46,21 @@ function update($user_id, $points) {
46 46 function view() {
47 47
48 48 if ($id == $_SESSION['user_id']) {
49   - echo '<p>You have ' . $user['points'] . ' ' . $this->plugins->points['name'] . '!</p>';
  49 +
  50 + echo '<p>You have ' . $user['points'] . ' ' . $this->plugins->points['name'] . '!</p>';
  51 +
50 52 if ($this->plugins->points['leaderboard'] == TRUE) {
51 53 echo '<p class="small">Where do you rank on the <a href="leaderboard.php">leaderboard</a>?</p>';
52 54 }
  55 +
53 56 } else {
  57 +
54 58 echo '<p>' . $user['username'] . ' has ' . $user['points'] . ' ' . $this->plugins->points['name'] . '!</p>';
  59 +
55 60 if ($this->plugins->points['leaderboard'] == TRUE) {
56 61 echo '<p class="small">See where they rank on the <a href="leaderboard.php">leaderboard</a>.</p>';
57 62 }
  63 +
58 64 }
59 65
60 66 echo '<p>&nbsp;</p>';

0 comments on commit f28e3fa

Please sign in to comment.
Something went wrong with that request. Please try again.