X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FXmlFunctions.php;h=8cb8f3f542b34108f323eb0f9bdd45f371dc5140;hb=4a8df703620f599d543ea116a6df67ab76be42ed;hp=7bb2895aaa6a3656eab03c7f16ba8e796e1b6468;hpb=2ff288720c707a0e08a84828f832ea308a63786e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/XmlFunctions.php b/includes/XmlFunctions.php index 7bb2895aaa..8cb8f3f542 100644 --- a/includes/XmlFunctions.php +++ b/includes/XmlFunctions.php @@ -1,65 +1,86 @@ "; +function wfCloseElement( $element ) { + wfDeprecated(__FUNCTION__); + return ""; } -function &HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) { - return Xml::namespaceSelector( $selected = '', $allnamespaces = null, $includehidden=false ); +function HTMLnamespaceselector($selected = '', $allnamespaces = null ) { + wfDeprecated(__FUNCTION__); + return Xml::namespaceSelector( $selected, $allnamespaces ); } function wfSpan( $text, $class, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::span( $text, $class, $attribs ); } function wfInput( $name, $size=false, $value=false, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::input( $name, $size, $value, $attribs ); } function wfAttrib( $name, $present = true ) { + wfDeprecated(__FUNCTION__); return Xml::attrib( $name, $present ); } function wfCheck( $name, $checked=false, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::check( $name, $checked, $attribs ); } function wfRadio( $name, $value, $checked=false, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::radio( $name, $value, $checked, $attribs ); } function wfLabel( $label, $id ) { + wfDeprecated(__FUNCTION__); return Xml::label( $label, $id ); } function wfInputLabel( $label, $name, $id, $size=false, $value=false, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::inputLabel( $label, $name, $id, $size, $value, $attribs ); } function wfCheckLabel( $label, $name, $id, $checked=false, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::checkLabel( $label, $name, $id, $checked, $attribs ); } function wfRadioLabel( $label, $name, $value, $id, $checked=false, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::radioLabel( $label, $name, $value, $id, $checked, $attribs ); } function wfSubmitButton( $value, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::submitButton( $value, $attribs ); } function wfHidden( $name, $value, $attribs=array() ) { + wfDeprecated(__FUNCTION__); return Xml::hidden( $name, $value, $attribs ); } function wfEscapeJsString( $string ) { + wfDeprecated(__FUNCTION__); return Xml::escapeJsString( $string ); } function wfIsWellFormedXml( $text ) { + wfDeprecated(__FUNCTION__); return Xml::isWellFormed( $text ); } function wfIsWellFormedXmlFragment( $text ) { + wfDeprecated(__FUNCTION__); return Xml::isWellFormedXmlFragment( $text ); } - -?> +function wfBuildForm( $fields, $submitLabel ) { + wfDeprecated(__FUNCTION__); + return Xml::buildForm( $fields, $submitLabel ); +}