X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerPage.php;h=2ab055464dce2e4983fa0513bc08e7fe89b78b08;hb=c971615fe100535b2c2bddd6668961ece8bc9b8d;hp=a529939a36b26691d9ce325eb4ad47c52869520e;hpb=784a590eab17169446a9f1397fd032a10fa33dd8;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";
}