Miscellaneous aesthetic improvements to Special:Ipblocklist
[lhc/web/wiklou.git] / includes / SpecialIpblocklist.php
index 34c6dbd..4b27bbd 100644 (file)
@@ -245,8 +245,11 @@ class IPUnblockForm {
                return
                        Xml::tags( 'form', array( 'action' => $wgScript ),
                                Xml::hidden( 'title', $wgTitle->getPrefixedDbKey() ) .
-                               Xml::input( 'ip', /*size*/ false, $this->ip ) .
-                               Xml::submitButton( wfMsg( 'ipblocklist-submit' ) )
+                               Xml::openElement( 'fieldset' ) .
+                               Xml::element( 'legend', null, wfMsg( 'ipblocklist-legend' ) ) .
+                               Xml::inputLabel( wfMsg( 'ipblocklist-username' ), 'ip', 'ip', /* size */ false, $this->ip ) .
+                               Xml::submitButton( wfMsg( 'ipblocklist-submit' ) ) .
+                               Xml::closeElement( 'fieldset' )
                        );
        }