From: Raimond Spekking Date: Thu, 13 Mar 2008 23:02:32 +0000 (+0000) Subject: * Add a nice fieldset around the input form X-Git-Tag: 1.31.0-rc.0~49126 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=650ca35a5455d0b7edf7dd7d1a2941a26fa854cc;p=lhc%2Fweb%2Fwiklou.git * Add a nice fieldset around the input form * Add a CSS id for the table --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 741aad1f0c..c19cdbef09 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -306,7 +306,9 @@ class NewPagesPage extends QueryPage { $form = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . Xml::hidden( 'title', $self->getPrefixedDBkey() ) . - Xml::openElement( 'table' ) . + Xml::openElement( 'fieldset' ) . + Xml::element( 'legend', null, wfMsg( 'newpages' ) ) . + Xml::openElement( 'table', array( 'id' => 'mw-newpages-table' ) ) . " " . Xml::label( wfMsg( 'namespace' ), 'namespace' ) . @@ -328,8 +330,14 @@ class NewPagesPage extends QueryPage { Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . " " . - "" . $hl . "" . + " + + " . + $hl . + " + " . Xml::closeElement( 'table' ) . + Xml::closeElement( 'fieldset' ) . $hidden . Xml::closeElement( 'form' ); return $form;