X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLForm.php;h=ce14003836d025bcab2b553659eef6b6b6318259;hb=eebc7045342ca86a99954423feb2b595896f185e;hp=908fdf27fb4e5ba7afa3211c58e43d71b7d75ea3;hpb=1274a261c3970688569ce20d1d45571abae56344;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 908fdf27fb..ce14003836 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -207,6 +207,7 @@ class HTMLForm extends ContextSource { 'table', 'div', 'raw', + 'inline', ); /** @@ -356,6 +357,7 @@ class HTMLForm extends ContextSource { * @return bool */ public function isVForm() { + wfDeprecated( __METHOD__, '1.25' ); return false; } @@ -1366,6 +1368,8 @@ class HTMLForm extends ContextSource { $html = Html::rawElement( 'table', $attribs, Html::rawElement( 'tbody', array(), "\n$html\n" ) ) . "\n"; + } elseif ( $displayFormat === 'inline' ) { + $html = Html::rawElement( 'span', $attribs, "\n$html\n" ); } else { $html = Html::rawElement( 'div', $attribs, "\n$html\n" ); }