From 183851b06bd6c52f3cae5375f433da720d410447 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 18:12:39 +0000 Subject: MediaWiki 1.7.1 wiederhergestellt --- includes/XmlFunctions.php | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 includes/XmlFunctions.php (limited to 'includes/XmlFunctions.php') diff --git a/includes/XmlFunctions.php b/includes/XmlFunctions.php new file mode 100644 index 00000000..64e349f2 --- /dev/null +++ b/includes/XmlFunctions.php @@ -0,0 +1,65 @@ +"; +} +function &HTMLnamespaceselector($selected = '', $allnamespaces = null, $includehidden=false) { + return Xml::namespaceSelector( $selected, $allnamespaces, $includehidden ); +} +function wfSpan( $text, $class, $attribs=array() ) { + return Xml::span( $text, $class, $attribs ); +} +function wfInput( $name, $size=false, $value=false, $attribs=array() ) { + return Xml::input( $name, $size, $value, $attribs ); +} +function wfAttrib( $name, $present = true ) { + return Xml::attrib( $name, $present ); +} +function wfCheck( $name, $checked=false, $attribs=array() ) { + return Xml::check( $name, $checked, $attribs ); +} +function wfRadio( $name, $value, $checked=false, $attribs=array() ) { + return Xml::radio( $name, $value, $checked, $attribs ); +} +function wfLabel( $label, $id ) { + return Xml::label( $label, $id ); +} +function wfInputLabel( $label, $name, $id, $size=false, $value=false, $attribs=array() ) { + return Xml::inputLabel( $label, $name, $id, $size, $value, $attribs ); +} +function wfCheckLabel( $label, $name, $id, $checked=false, $attribs=array() ) { + return Xml::checkLabel( $label, $name, $id, $checked, $attribs ); +} +function wfRadioLabel( $label, $name, $value, $id, $checked=false, $attribs=array() ) { + return Xml::radioLabel( $label, $name, $value, $id, $checked, $attribs ); +} +function wfSubmitButton( $value, $attribs=array() ) { + return Xml::submitButton( $value, $attribs ); +} +function wfHidden( $name, $value, $attribs=array() ) { + return Xml::hidden( $name, $value, $attribs ); +} +function wfEscapeJsString( $string ) { + return Xml::escapeJsString( $string ); +} +function wfIsWellFormedXml( $text ) { + return Xml::isWellFormed( $text ); +} +function wfIsWellFormedXmlFragment( $text ) { + return Xml::isWellFormedXmlFragment( $text ); +} + + +?> -- cgit v1.2.3-54-g00ecf