Index: trunk/phase3/skins/Vector.php |
— | — | @@ -702,9 +702,13 @@ |
703 | 703 | <input type='hidden' name="title" value="<?php $this->text( 'searchtitle' ) ?>"/> |
704 | 704 | <?php if ( $wgVectorUseSimpleSearch && $wgUser->getOption( 'vector-simplesearch' ) ): ?> |
705 | 705 | <div id="simpleSearch"> |
| 706 | + <?php if ( $this->data['rtl'] ): ?> |
| 707 | + <?php echo $this->makeSearchButton("image", array( "id" => "searchButton", "src" => $this->skin->getSkinStylePath('images/search-rtl.png') )); ?> |
| 708 | + <?php endif; ?> |
706 | 709 | <?php echo $this->makeSearchInput(array( "id" => "searchInput", "type" => "text" )); ?> |
707 | | - <?php echo $this->makeSearchButton("image", array( "id" => "searchButton", |
708 | | - "src" => $this->skin->getSkinStylePath('images/search-' . ( $this->data['rtl'] ? 'rtl' : 'ltr' ) . '.png') )); ?> |
| 710 | + <?php if ( !$this->data['rtl'] ): ?> |
| 711 | + <?php echo $this->makeSearchButton("image", array( "id" => "searchButton", "src" => $this->skin->getSkinStylePath('images/search-ltr.png') )); ?> |
| 712 | + <?php endif; ?> |
709 | 713 | </div> |
710 | 714 | <?php else: ?> |
711 | 715 | <?php echo $this->makeSearchInput(array( "id" => "searchInput" )); ?> |
Index: trunk/phase3/skins/vector/screen.css |
— | — | @@ -388,6 +388,7 @@ |
389 | 389 | font-size: 13px; |
390 | 390 | width: 14em; |
391 | 391 | background-color: transparent; |
| 392 | + direction: ltr; |
392 | 393 | } |
393 | 394 | /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
394 | 395 | div#simpleSearch button#searchButton { |