Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Show whether user is verified or not when searching on add-cash page.

  • Loading branch information...
commit 844c3800da6fc06dce3ce637c8e7fcf0e866d132 1 parent 52a2aa5
Chris Moore authored

Showing 1 changed file with 12 additions and 2 deletions. Show diff stats Hide diff stats

  1. +12 2 add_cash.php
14 add_cash.php
@@ -102,8 +102,13 @@ function show_similar_codes($reference)
102 102 ($amount . " " . CURRENCY), $user, $reference);
103 103 echo "<p>" . _("deposit should show up in their account") . " <string>" . _("in a minute or two") . "</strong></p>\n";
104 104 echo "<p>" . _("make another deposit?") . "</p>\n";
105   - } else
  105 + } else {
106 106 echo "<p>$reference is the code for user $user</p>\n";
  107 + if (get_verified_for_user($user))
  108 + echo "<p>user $user is verified</p>\n";
  109 + else
  110 + echo "<p>user $user is not verified</p>\n";
  111 + }
107 112 $amount = $reference = $user = '';
108 113 } else {
109 114 printf("<p>" . _("'%s' isn't a valid reference code") . "</p>\n",
@@ -128,8 +133,13 @@ function show_similar_codes($reference)
128 133 ($amount . " " . CURRENCY), $user, $reference);
129 134 echo "<p>" . _("deposit should show up in their account") . " <string>" . _("in a minute or two") . "</strong></p>\n";
130 135 echo "<p>" . _("make another deposit?") . "</p>\n";
131   - } else
  136 + } else {
132 137 echo "<p>$reference is the code for user $user</p>\n";
  138 + if (get_verified_for_user($user))
  139 + echo "<p>user $user is verified</p>\n";
  140 + else
  141 + echo "<p>user $user is not verified</p>\n";
  142 + }
133 143 $amount = $reference = $user = '';
134 144 } else {
135 145 printf("<p>" . _("'%s' isn't a valid userid") . "</p>\n",

0 comments on commit 844c380

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