X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialChangeEmail.php;h=eca307d9a1bf94c115ddecf7618a486a5be1c849;hb=524d92b61f2a951200b00326cfac6b25a830acb6;hp=06ede617de55dc0cb7502e0943fef184297b15cb;hpb=8c3738e088f377642c540a0ccddb01b16ba7116b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialChangeEmail.php b/includes/specials/SpecialChangeEmail.php index 06ede617de..eca307d9a1 100644 --- a/includes/specials/SpecialChangeEmail.php +++ b/includes/specials/SpecialChangeEmail.php @@ -106,11 +106,13 @@ class SpecialChangeEmail extends FormSpecialPage { return $fields; } + protected function getDisplayFormat() { + return 'vform'; + } + protected function alterForm( HTMLForm $form ) { - $form->setDisplayFormat( 'vform' ); $form->setId( 'mw-changeemail-form' ); $form->setTableId( 'mw-changeemail-table' ); - $form->setWrapperLegend( false ); $form->setSubmitTextMsg( 'changeemail-submit' ); $form->addHiddenFields( $this->getRequest()->getValues( 'returnto', 'returntoquery' ) ); } @@ -139,7 +141,8 @@ class SpecialChangeEmail extends FormSpecialPage { # Notify user that a confirmation email has been sent... $this->getOutput()->wrapWikiMsg( "
\n$1\n
", 'eauthentsent', $this->getUser()->getName() ); - $this->getOutput()->addReturnTo( $titleObj, wfCgiToArray( $query ) ); // just show the link to go back + // just show the link to go back + $this->getOutput()->addReturnTo( $titleObj, wfCgiToArray( $query ) ); } }