From cc3fcc0d524079f50d5ccb07791a83975428d43c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 17 Jan 2007 23:34:52 +0000 Subject: [PATCH] * Escaping --- includes/SpecialImagelist.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/includes/SpecialImagelist.php b/includes/SpecialImagelist.php index 5ecbe8a627..2b88c8dc93 100644 --- a/includes/SpecialImagelist.php +++ b/includes/SpecialImagelist.php @@ -138,17 +138,14 @@ class ImageListPager extends TablePager { function getForm() { global $wgRequest, $wgMiserMode; $url = $this->getTitle()->escapeLocalURL(); - $msgSubmit = wfMsgHtml( 'table_pager_limit_submit' ); - $msgSearch = wfMsgHtml( 'imagelist_search_for' ); $search = $wgRequest->getText( 'ilsearch' ); - $encSearch = htmlspecialchars( $search ); - $s = "
\n" . + $s = "\n" . wfMsgHtml( 'table_pager_limit', $this->getLimitSelect() ); if ( !$wgMiserMode ) { - $s .= "
\n" . $msgSearch . - "
\n"; + $s .= "
\n" . + Xml::inputLabel( wfMsg( 'imagelist_search_for' ), 'ilsearch', 'mw-ilsearch', 20, $search ); } - $s .= " \n" . + $s .= " " . Xml::submitButton( wfMsg( 'table_pager_limit_submit' ) ) ." \n" . $this->getHiddenFields( array( 'limit', 'ilsearch' ) ) . "
\n"; return $s; -- 2.20.1