Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1991,8 +1991,6 @@ |
1992 | 1992 | 'newimages', |
1993 | 1993 | 'imagelisttext', |
1994 | 1994 | 'newimages-summary', |
1995 | | - 'newimages-legend', |
1996 | | - 'newimages-label', |
1997 | 1995 | 'showhidebots', |
1998 | 1996 | 'noimages', |
1999 | 1997 | 'ilsubmit', |
Index: trunk/phase3/includes/specials/SpecialNewimages.php |
— | — | @@ -147,26 +147,24 @@ |
148 | 148 | $lastTimestamp = $timestamp; |
149 | 149 | } |
150 | 150 | |
151 | | - $titleObj = SpecialPage::getTitleFor( 'Newimages' ); |
152 | | - $action = $titleObj->getLocalURL( $hidebots ? '' : 'hidebots=0' ); |
153 | | - if ( $shownav && !$wgMiserMode ) { |
154 | | - $wgOut->addHTML( |
155 | | - Xml::openElement( 'form', array( 'action' => $action, 'id' => 'imagesearch' ) ) . |
156 | | - Xml::fieldset( wfMsg( 'newimages-legend' ) ) . |
157 | | - Xml::inputLabel( wfMsg( 'newimages-label' ), 'wpIlMatch', 'wpIlMatch', 20, $wpIlMatch ) . ' ' . |
158 | | - Xml::submitButton( wfMsg( 'ilsubmit' ), array( 'name' => 'wpIlSubmit' ) ) . |
159 | | - Xml::closeElement( 'fieldset' ) . |
160 | | - Xml::closeElement( 'form' ) |
161 | | - ); |
162 | | - } |
163 | | - |
164 | 151 | $bydate = wfMsg( 'bydate' ); |
165 | 152 | $lt = $wgLang->formatNum( min( $shownImages, $limit ) ); |
166 | | - if ( $shownav && count( $images ) ) { |
167 | | - $text = wfMsgExt( 'imagelisttext', array( 'parse' ), $lt, $bydate ); |
| 153 | + if ($shownav) { |
| 154 | + $text = wfMsgExt( 'imagelisttext', array('parse'), $lt, $bydate ); |
168 | 155 | $wgOut->addHTML( $text . "\n" ); |
169 | 156 | } |
170 | 157 | |
| 158 | + $sub = wfMsg( 'ilsubmit' ); |
| 159 | + $titleObj = SpecialPage::getTitleFor( 'Newimages' ); |
| 160 | + $action = $titleObj->escapeLocalURL( $hidebots ? '' : 'hidebots=0' ); |
| 161 | + if ($shownav && !$wgMiserMode) { |
| 162 | + $wgOut->addHTML( "<form id=\"imagesearch\" method=\"post\" action=\"" . |
| 163 | + "{$action}\">" . |
| 164 | + Xml::input( 'wpIlMatch', 20, $wpIlMatch ) . ' ' . |
| 165 | + Xml::submitButton( $sub, array( 'name' => 'wpIlSubmit' ) ) . |
| 166 | + "</form>" ); |
| 167 | + } |
| 168 | + |
171 | 169 | /** |
172 | 170 | * Paging controls... |
173 | 171 | */ |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2822,8 +2822,6 @@ |
2823 | 2823 | 'newimages' => 'Gallery of new files', |
2824 | 2824 | 'imagelisttext' => "Below is a list of '''$1''' {{PLURAL:$1|file|files}} sorted $2.", |
2825 | 2825 | 'newimages-summary' => 'This special page shows the last uploaded files.', |
2826 | | -'newimages-legend' => 'Filename', |
2827 | | -'newimages-label' => 'Filename (or a part of it):', |
2828 | 2826 | 'showhidebots' => '($1 bots)', |
2829 | 2827 | 'noimages' => 'Nothing to see.', |
2830 | 2828 | 'ilsubmit' => 'Search', |
Index: trunk/phase3/languages/messages/MessagesDe.php |
— | — | @@ -2220,10 +2220,8 @@ |
2221 | 2221 | |
2222 | 2222 | # Special:Newimages |
2223 | 2223 | 'newimages' => 'Neue Dateien', |
2224 | | -'imagelisttext' => "Hier ist eine Liste mit '''$1''' {{PLURAL:$1|Datei|Dateien}}, sortiert $2.", |
| 2224 | +'imagelisttext' => "Hier ist eine Liste von '''$1''' {{PLURAL:$1|Datei|Dateien}}, sortiert $2.", |
2225 | 2225 | 'newimages-summary' => 'Diese Spezialseite zeigt die zuletzt hochgeladenen Dateien an.', |
2226 | | -'newimages-legend' => 'Dateiname', |
2227 | | -'newimages-label' => 'Dateiname (oder ein Teil davon):', |
2228 | 2226 | 'showhidebots' => '(Bots $1)', |
2229 | 2227 | 'noimages' => 'Keine Dateien gefunden.', |
2230 | 2228 | 'ilsubmit' => 'Suchen', |