Browse files

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

  • Loading branch information...
1 parent 52a2aa5 commit 844c3800da6fc06dce3ce637c8e7fcf0e866d132 @dooglus committed Dec 4, 2011
Showing with 12 additions and 2 deletions.
  1. +12 −2 add_cash.php
View
14 add_cash.php
@@ -102,8 +102,13 @@ function show_similar_codes($reference)
($amount . " " . CURRENCY), $user, $reference);
echo "<p>" . _("deposit should show up in their account") . " <string>" . _("in a minute or two") . "</strong></p>\n";
echo "<p>" . _("make another deposit?") . "</p>\n";
- } else
+ } else {
echo "<p>$reference is the code for user $user</p>\n";
+ if (get_verified_for_user($user))
+ echo "<p>user $user is verified</p>\n";
+ else
+ echo "<p>user $user is not verified</p>\n";
+ }
$amount = $reference = $user = '';
} else {
printf("<p>" . _("'%s' isn't a valid reference code") . "</p>\n",
@@ -128,8 +133,13 @@ function show_similar_codes($reference)
($amount . " " . CURRENCY), $user, $reference);
echo "<p>" . _("deposit should show up in their account") . " <string>" . _("in a minute or two") . "</strong></p>\n";
echo "<p>" . _("make another deposit?") . "</p>\n";
- } else
+ } else {
echo "<p>$reference is the code for user $user</p>\n";
+ if (get_verified_for_user($user))
+ echo "<p>user $user is verified</p>\n";
+ else
+ echo "<p>user $user is not verified</p>\n";
+ }
$amount = $reference = $user = '';
} else {
printf("<p>" . _("'%s' isn't a valid userid") . "</p>\n",

0 comments on commit 844c380

Please sign in to comment.