Browse Source

php - update the registered message - no email yet

master
kanoi 10 years ago
parent
commit
0a862aa78e
  1. 1
      pool/page.php
  2. 11
      pool/page_reg.php

1
pool/page.php

@ -90,6 +90,7 @@ span.topdes {color:blue;}
span.topwho {color:black; font-weight: bold; margin-right: 8px;} span.topwho {color:black; font-weight: bold; margin-right: 8px;}
span.topdat {margin-left: 8px; margin-right: 24px; color:green; font-weight: bold;} span.topdat {margin-left: 8px; margin-right: 24px; color:green; font-weight: bold;}
span.login {float: right; margin-left: 8px; margin-right: 24px;} span.login {float: right; margin-left: 8px; margin-right: 24px;}
span.hil {color:blue;}
#n42 {margin:0; position: relative; color:#fff; background:#07e;} #n42 {margin:0; position: relative; color:#fff; background:#07e;}
#n42 a {color:#fff; text-decoration:none; margin: 4px;} #n42 a {color:#fff; text-decoration:none; margin: 4px;}
#n42 td {min-width: 100px; float: left; vertical-align: top; padding: 2px;} #n42 td {min-width: 100px; float: left; vertical-align: top; padding: 2px;}

11
pool/page_reg.php

@ -39,8 +39,17 @@ function doreg($data, $u)
# #
function doreg2($data) function doreg2($data)
{ {
if (isset($data['user']))
$user = htmlspecialchars($data['user']);
else
$user = '';
$pg = '<h1>Registered</h1>'; $pg = '<h1>Registered</h1>';
$pg .= '<br>You will receive an email shortly to verify your account'; // $pg .= '<br>You will receive an email shortly to verify your account';
$pg .= '<br>Your account is registered and ready to mine.';
$pg .= '<br>Choose your own worker names in cgminer.';
$pg .= '<br>Worker names must start with your username like';
$pg .= ": <span class=hil>${user}_</span> or <span class=hil>${user}.</span>";
return $pg; return $pg;
} }
# #

Loading…
Cancel
Save