From cecb985bee3bdd252e1b8dc0bd500b37cd52be01 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 16 May 2007 20:58:53 +0000 Subject: Aktualisierung auf MediaWiki 1.10.0 Plugins angepasst und verbessert kleine Korrekturen am Design --- includes/SpecialImagelist.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'includes/SpecialImagelist.php') diff --git a/includes/SpecialImagelist.php b/includes/SpecialImagelist.php index 5ecbe8a6..92b9ae11 100644 --- a/includes/SpecialImagelist.php +++ b/includes/SpecialImagelist.php @@ -1,8 +1,7 @@ strencode( strtolower( $nt->getDBkey() ) ); $m = str_replace( "%", "\\%", $m ); $m = str_replace( "_", "\\_", $m ); - $this->mQueryConds = array( "LCASE(img_name) LIKE '%{$m}%'" ); + $this->mQueryConds = array( "LOWER(img_name) LIKE '%{$m}%'" ); } } @@ -138,17 +141,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; -- cgit v1.2.2