On 10/25/07, amuenzeb(a)rockwellcollins.com <amuenzeb(a)rockwellcollins.com> wrote:
I plan to use the Extension:ConfirmAccount but need
much less information
than forseen in the RequestAccount-page. In particular I want to remove
the checkbox on the lower left (ToS I think). A quick look into the
source-code in ConfirmAccount_body.php gave me the impression that this
might be controlled by a preference-variable in LocalSettings.php:
Line 41: $this->mToS = $wgRequest->getBool('wpToS');
Line 125ff.: $form .= "<p>".Xml::check( 'wpToS',
$this->mToS,
array('id' => 'wpToS') ).
' <label for="wpToS">'.wfMsgExt(
'requestaccount-tos',
array('parseinline') )."</label></p>\n";
Question is: Where do I get the correct name of the preference-variable to
use in LocalSettings.php so that it is recognized in
ConfirmAccount_body.php, line 41?
I don't think there is one - I think you're going to have to edit
ConfirmAccount_body.php itself.
Joshua