X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fhtmlform%2FVFormHTMLForm.php;h=5d9f7a0ba252a4e024775acb05e4a50c0ef71bb0;hp=c920ac3188ad223f941536714e284d90353e43fd;hb=ce079cf6ad79ca8d3360817f809b219d166f9153;hpb=ff13c3d92a3357d2cbb03c4d58dfc33999942b0a diff --git a/includes/htmlform/VFormHTMLForm.php b/includes/htmlform/VFormHTMLForm.php index c920ac3188..5d9f7a0ba2 100644 --- a/includes/htmlform/VFormHTMLForm.php +++ b/includes/htmlform/VFormHTMLForm.php @@ -50,7 +50,7 @@ class VFormHTMLForm extends HTMLForm { return $field; } - function getHTML( $submitResult ) { + public function getHTML( $submitResult ) { // This is required for VForm HTMLForms that use that style regardless // of wgUseMediaWikiUIEverywhere (since they pre-date it). // When wgUseMediaWikiUIEverywhere is removed, this should be consolidated @@ -71,12 +71,12 @@ class VFormHTMLForm extends HTMLForm { return $attribs; } - function wrapForm( $html ) { + public function wrapForm( $html ) { // Always discard $this->mWrapperLegend return Html::rawElement( 'form', $this->getFormAttributes(), $html ); } - function getButtons() { + public function getButtons() { $buttons = ''; if ( $this->mShowSubmit ) {