From 0a862aa78e63dc4c7f82a2b786444c923711e3ac Mon Sep 17 00:00:00 2001 From: kanoi Date: Wed, 20 Aug 2014 15:02:57 +1000 Subject: [PATCH] php - update the registered message - no email yet --- pool/page.php | 1 + pool/page_reg.php | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pool/page.php b/pool/page.php index dae31d25..1ac1a8bb 100644 --- a/pool/page.php +++ b/pool/page.php @@ -90,6 +90,7 @@ span.topdes {color:blue;} span.topwho {color:black; font-weight: bold; margin-right: 8px;} span.topdat {margin-left: 8px; margin-right: 24px; color:green; font-weight: bold;} span.login {float: right; margin-left: 8px; margin-right: 24px;} +span.hil {color:blue;} #n42 {margin:0; position: relative; color:#fff; background:#07e;} #n42 a {color:#fff; text-decoration:none; margin: 4px;} #n42 td {min-width: 100px; float: left; vertical-align: top; padding: 2px;} diff --git a/pool/page_reg.php b/pool/page_reg.php index fab55747..bddfec33 100644 --- a/pool/page_reg.php +++ b/pool/page_reg.php @@ -39,8 +39,17 @@ function doreg($data, $u) # function doreg2($data) { + if (isset($data['user'])) + $user = htmlspecialchars($data['user']); + else + $user = ''; + $pg = '

Registered

'; - $pg .= '
You will receive an email shortly to verify your account'; +// $pg .= '
You will receive an email shortly to verify your account'; + $pg .= '
Your account is registered and ready to mine.'; + $pg .= '
Choose your own worker names in cgminer.'; + $pg .= '
Worker names must start with your username like'; + $pg .= ": ${user}_ or ${user}."; return $pg; } #