mirror of
https://github.com/scratchfoundation/swiki-confirmaccount.git
synced 2024-12-04 21:01:02 -05:00
moved request account interface to mediawiki tables
This commit is contained in:
parent
80222d2957
commit
5edd8a666e
2 changed files with 11 additions and 4 deletions
|
@ -69,6 +69,13 @@ The e-mail address has been confirmed. You can confirm the request here "$2".',
|
|||
|
||||
'acct_request_throttle_hit' => "Sorry, you have already requested {{PLURAL:$1|1 account|$1 accounts}}.
|
||||
You cannot make any more requests.",
|
||||
|
||||
//Scratch-specific stuff
|
||||
'requestaccount-user-verification' => 'User verification',
|
||||
'requestaccount-code-troubleshoot' => '<b>Note:</b>If you are having problems with User verification not working, please see our <a href="http://wiki.scratch.mit.edu/wiki/Scratch_Wiki:Become_a_contributor/Verification_code_troubleshooting">Troubleshooting page</a>',
|
||||
'requestaccount-set-pwd' => 'Set password',
|
||||
'requestaccount-project-info' => 'Please go to the <a href="$1">user verification project</a> and comment the following code:<br /><b>$2</b>',
|
||||
'requestaccount-project-link' => 'http://scratch.mit.edu/projects/10135908/'
|
||||
);
|
||||
|
||||
/** Message documentation (Message documentation)
|
||||
|
|
|
@ -211,14 +211,14 @@ class RequestAccountPage extends SpecialPage {
|
|||
|
||||
//Scratch user verification
|
||||
$form .= '<fieldset>';
|
||||
$form .= '<legend>User verification</legend>';
|
||||
$form .= '<p>Please go to the <a href="http://scratch.mit.edu/projects/10135908/">user verification project</a> and comment the following code:<br /><b>' . sha1($_SERVER['REMOTE_ADDR'] . date('m')) . '</b></p>
|
||||
<p><b>Note:</b>If you are having problems with User verification not working, please see our <a href="http://wiki.scratch.mit.edu/wiki/Scratch_Wiki:Become_a_contributor/Verification_code_troubleshooting">Troubleshooting page</a></p>' . "\n";
|
||||
$form .= '<legend>' . $this->msg('requestaccount-user-verification') . '</legend>';
|
||||
$form .= '<p>' . $this->msg('requestaccount-project-info', $this->msg('requestaccount-project-link'), sha1($_SERVER['REMOTE_ADDR'] . date('m'))) . '</b></p>
|
||||
<p>' . $this->msg('requestaccount-code-troubleshoot') . '</p>' . "\n";
|
||||
$form .= '</fieldset>';
|
||||
|
||||
//Set temporary password
|
||||
$form .= '<fieldset>';
|
||||
$form .= '<legend>Set password</legend>';
|
||||
$form .= '<legend>' . $this->msg('requestaccount-set-pwd') . '</legend>';
|
||||
$form .= '<table border="0">
|
||||
<tr>
|
||||
<td>Password</td>
|
||||
|
|
Loading…
Reference in a new issue