mirror of
https://github.com/scratchfoundation/swiki-confirmaccount.git
synced 2024-12-04 21:01:02 -05:00
a few fixes
This commit is contained in:
parent
823ecff1c4
commit
1f8d97bbaf
3 changed files with 5 additions and 5 deletions
|
@ -122,7 +122,7 @@ class AccountConfirmSubmission {
|
|||
}
|
||||
|
||||
# Send out a request hold email...
|
||||
$result = $u->sendMail(
|
||||
/*$result = $u->sendMail(
|
||||
$context->msg( 'confirmaccount-email-subj' )->inContentLanguage()->text(),
|
||||
$context->msg( 'confirmaccount-email-body5', $u->getName(), $this->reason )->inContentLanguage()->text()
|
||||
);
|
||||
|
@ -130,7 +130,7 @@ class AccountConfirmSubmission {
|
|||
$dbw->rollback();
|
||||
return array( 'accountconf_mailerror',
|
||||
$context->msg( 'mailerror' )->rawParams( $context->getOutput()->parse( $result->getWikiText() ) )->text() );
|
||||
}
|
||||
}*/
|
||||
|
||||
# Clear cache for notice of how many account requests there are
|
||||
ConfirmAccount::clearAccountRequestCountCache();
|
||||
|
|
|
@ -72,7 +72,7 @@ You cannot make any more requests.",
|
|||
|
||||
//Scratch-specific stuff
|
||||
'requestaccount-user-verification' => 'User verification',
|
||||
'requestaccount-code-troubleshoot' => '\'\'\'Note:\'\'\' If you are having problems with User verification not working, please see our [http://wiki.scratch.mit.edu/wiki/Scratch_Wiki:Become_a_contributor/Verification_code_troubleshooting troubleshooting page]',
|
||||
'requestaccount-code-troubleshoot' => '\'\'\'Note:\'\'\' If you are having problems with user verification not working, please see our [[Scratch_Wiki:Become a contributor/Verification code troubleshooting|troubleshooting page]]',
|
||||
'requestaccount-set-pwd' => 'Set password',
|
||||
'requestaccount-project-info' => 'Please go to the [$1 user verification project] and comment the following code:<br />\'\'\'$2\'\'\'',
|
||||
'requestaccount-project-link' => 'http://scratch.mit.edu/projects/10135908/'
|
||||
|
|
|
@ -221,11 +221,11 @@ class RequestAccountPage extends SpecialPage {
|
|||
$form .= '<legend>' . $this->msg('requestaccount-set-pwd') . '</legend>';
|
||||
$form .= '<table border="0">
|
||||
<tr>
|
||||
<td>Password</td>
|
||||
<td>' . $this->msg('createacct-yourpassword-ph') . '</td>
|
||||
<td><input type="password" name="pwd1" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Confirm password</td>
|
||||
<td>' . $this->msg('createacct-yourpasswordagain') . '</td>
|
||||
<td><input type="password" name="pwd2" /></td>
|
||||
</tr>
|
||||
</table>' . "\n";
|
||||
|
|
Loading…
Reference in a new issue