Index: trunk/phase3/skins/Vector.php |
— | — | @@ -771,7 +771,7 @@ |
772 | 772 | <?php if ( $wgVectorUseSimpleSearch && $wgUser->getOption( 'vector-simplesearch' ) ): ?> |
773 | 773 | <div id="simpleSearch"> |
774 | 774 | <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> /> |
775 | | - <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>> </button> |
| 775 | + <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>><img src="<?php echo $wgStylePath . '/vector/search-' . ( $wgContLang->isRTL() ? 'rtl' : 'ltr' ) . '.png?' . $wgStyleVersion ?>" alt="<?php $this->msg( 'searchbutton' ) ?>" /></button> |
776 | 776 | </div> |
777 | 777 | <?php else: ?> |
778 | 778 | <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> /> |
Index: trunk/phase3/skins/vector/main-ltr.css |
— | — | @@ -383,16 +383,18 @@ |
384 | 384 | /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
385 | 385 | div#simpleSearch button#searchButton { |
386 | 386 | padding: 0; |
387 | | - margin: 5px 5px 0 5px; |
388 | | - height: 13px; |
389 | | - width: 12px; |
| 387 | + margin: 0 5px; |
390 | 388 | border: none; |
391 | 389 | cursor: pointer; |
392 | 390 | background-color: transparent; |
393 | | - background-image: url(images/search-ltr.png?1); |
394 | | - background-position: center center; |
395 | | - background-repeat: no-repeat; |
| 391 | + font-size: x-small; |
396 | 392 | } |
| 393 | + div#simpleSearch button#searchButton img { |
| 394 | + border: none; |
| 395 | + margin: 0; |
| 396 | + padding: 0; |
| 397 | + vertical-align: middle; |
| 398 | + } |
397 | 399 | /* Panel */ |
398 | 400 | div#mw-panel { |
399 | 401 | position: absolute; |
Index: trunk/phase3/skins/vector/main-rtl.css |
— | — | @@ -383,16 +383,18 @@ |
384 | 384 | /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
385 | 385 | div#simpleSearch button#searchButton { |
386 | 386 | padding: 0; |
387 | | - margin: 5px 5px 0 5px; |
388 | | - height: 13px; |
389 | | - width: 12px; |
| 387 | + margin: 0 5px; |
390 | 388 | border: none; |
391 | 389 | cursor: pointer; |
392 | 390 | background-color: transparent; |
393 | | - background-image: url(images/search-rtl.png?1); |
394 | | - background-position: center center; |
395 | | - background-repeat: no-repeat; |
| 391 | + font-size: x-small; |
396 | 392 | } |
| 393 | + div#simpleSearch button#searchButton img { |
| 394 | + border: none; |
| 395 | + margin: 0; |
| 396 | + padding: 0; |
| 397 | + vertical-align: middle; |
| 398 | + } |
397 | 399 | /* Panel */ |
398 | 400 | div#mw-panel { |
399 | 401 | position: absolute; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -242,6 +242,7 @@ |
243 | 243 | * (bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File: |
244 | 244 | namespace rename. |
245 | 245 | * Make wfTimestamp recognize negative unix timestamp values. |
| 246 | +* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled |
246 | 247 | |
247 | 248 | === API changes in 1.17 === |
248 | 249 | * (bug 22738) Allow filtering by action type on query=logevent. |