X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerPage.php;h=2ab055464dce2e4983fa0513bc08e7fe89b78b08;hb=acf2e7603c4de9ebe42563292f9587b5f8808cf1;hp=a529939a36b26691d9ce325eb4ad47c52869520e;hpb=5833efc5ac06e8168368b4159ee0c494c9fe1ad8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index a529939a36..2ab055464d 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -71,10 +71,10 @@ abstract class WebInstallerPage { "
\n" . Html::openElement( 'form', - array( + [ 'method' => 'post', - 'action' => $this->parent->getUrl( array( 'page' => $this->getName() ) ) - ) + 'action' => $this->parent->getUrl( [ 'page' => $this->getName() ] ) + ] ) . "\n" ); } @@ -96,10 +96,10 @@ abstract class WebInstallerPage { // Messages: config-continue, config-restart, config-regenerate $s .= Xml::submitButton( wfMessage( "config-$continue" )->text(), - array( + [ 'name' => "enter-$continue", - 'style' => 'visibility:hidden;overflow:hidden;width:1px;margin:0' - ) + 'style' => 'width:0;border:0;height:0;padding:0' + ] ) . "\n"; } @@ -107,10 +107,10 @@ abstract class WebInstallerPage { // Message: config-back $s .= Xml::submitButton( wfMessage( "config-$back" )->text(), - array( + [ 'name' => "submit-$back", 'tabindex' => $this->parent->nextTabIndex() - ) + ] ) . "\n"; } @@ -118,10 +118,10 @@ abstract class WebInstallerPage { // Messages: config-continue, config-restart, config-regenerate $s .= Xml::submitButton( wfMessage( "config-$continue" )->text(), - array( + [ 'name' => "submit-$continue", 'tabindex' => $this->parent->nextTabIndex(), - ) + ] ) . "\n"; }