Bring back "booksources-summary", displayed above the search form on Special:Booksour...
[lhc/web/wiklou.git] / includes / SpecialBooksources.php
index 85b34ca..4faeb5a 100644 (file)
@@ -32,6 +32,7 @@ class SpecialBookSources extends SpecialPage {
                global $wgOut, $wgRequest;
                $this->setHeaders();
                $this->isbn = $this->cleanIsbn( $isbn ? $isbn : $wgRequest->getText( 'isbn' ) );
+               $wgOut->addWikiText( wfMsgNoTrans( 'booksources-summary' ) );
                $wgOut->addHtml( $this->makeForm() );
                if( strlen( $this->isbn) > 0 )
                        $wgOut->addHtml( $this->makeList() );
@@ -58,10 +59,10 @@ class SpecialBookSources extends SpecialPage {
                $form  = '<fieldset><legend>' . wfMsgHtml( 'booksources-search-legend' ) . '</legend>';
                $form .= Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) );
                $form .= Xml::hidden( 'title', $title->getPrefixedText() );
-               $form .= '<p>' . Xml::inputLabel( wfMsg( 'booksources-isbn' ), 'isbn', 'isbn', false, $this->isbn );
+               $form .= '<p>' . Xml::inputLabel( wfMsg( 'booksources-isbn' ), 'isbn', 'isbn', 20, $this->isbn );
                $form .= '&nbsp;' . Xml::submitButton( wfMsg( 'booksources-go' ) ) . '</p>';
-               $form .= '</fieldset>';
                $form .= Xml::closeElement( 'form' );
+               $form .= '</fieldset>';
                return $form;
        }