X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FXmlFunctions.php;h=b31ac89cdba591d28cff08b1faabd3996ec5fcfb;hb=155e856963b780824542b0a0b07553a28a2ecb87;hp=64e349f24df8122b3231d4d6a9547b114c43b669;hpb=b605f04ef9f32fe215a49f4c7ae6dc48af120f1a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/XmlFunctions.php b/includes/XmlFunctions.php index 64e349f24d..b31ac89cdb 100644 --- a/includes/XmlFunctions.php +++ b/includes/XmlFunctions.php @@ -1,22 +1,22 @@ "; +function wfCloseElement( $element ) { + return ""; } -function &HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) { - return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden ); +function HTMLnamespaceselector($selected = '', $allnamespaces = null ) { + return Xml::namespaceSelector( $selected, $allnamespaces ); } function wfSpan( $text, $class, $attribs=array() ) { return Xml::span( $text, $class, $attribs ); @@ -61,5 +61,6 @@ function wfIsWellFormedXmlFragment( $text ) { return Xml::isWellFormedXmlFragment( $text ); } - -?> +function wfBuildForm( $fields, $submitLabel ) { + return Xml::buildForm( $fields, $submitLabel ); +}