function wfCloseElement( $element ) {
return "</$element>";
}
-function &HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) {
+function HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) {
return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden );
}
function wfSpan( $text, $class, $attribs=array() ) {
return Xml::isWellFormedXmlFragment( $text );
}
-
-?>
+function wfBuildForm( $fields, $submitLabel ) {
+ return Xml::buildForm( $fields, $submitLabel );
+}