X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLFormElement.php;h=b77c17e964c3af23f74abc36bfb595a51f4e138a;hb=e50f14a47fdc98c024bbcaca341453a5091f11bb;hp=fbef2651f6695c6a4283d39f26f8935e2e2ceda3;hpb=264c8892d66b911498cc9d84f9f6fd288ddcceb2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLFormElement.php b/includes/htmlform/HTMLFormElement.php index fbef2651f6..b77c17e964 100644 --- a/includes/htmlform/HTMLFormElement.php +++ b/includes/htmlform/HTMLFormElement.php @@ -33,33 +33,3 @@ trait HTMLFormElement { } ); } } - -class HTMLFormFieldLayout extends OOUI\FieldLayout { - use HTMLFormElement; - - public function __construct( $fieldWidget, array $config = [] ) { - parent::__construct( $fieldWidget, $config ); - - // Traits - $this->initializeHTMLFormElement( $config ); - } - - protected function getJavaScriptClassName() { - return 'mw.htmlform.FieldLayout'; - } -} - -class HTMLFormActionFieldLayout extends OOUI\ActionFieldLayout { - use HTMLFormElement; - - public function __construct( $fieldWidget, $buttonWidget = false, array $config = [] ) { - parent::__construct( $fieldWidget, $buttonWidget, $config ); - - // Traits - $this->initializeHTMLFormElement( $config ); - } - - protected function getJavaScriptClassName() { - return 'mw.htmlform.ActionFieldLayout'; - } -}