Changed the simple search button from an input tag to a button tag to provide better...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Fri, 17 Jul 2009 19:09:44 +0000 (19:09 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Fri, 17 Jul 2009 19:09:44 +0000 (19:09 +0000)
skins/Vector.php
skins/vector/main-ltr.css
skins/vector/main-rtl.css

index c49d95c..58b3e48 100644 (file)
@@ -779,7 +779,7 @@ class VectorTemplate extends QuickTemplate {
                <?php if ( $wgVectorUseSimpleSearch ): ?>
                <div id="simpleSearch">
                        <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; ?> />
-                       <input id="searchButton" type='submit' name='fulltext' value="&nbsp;" src="<?php echo $wgStylePath ?>/vector/images/search.png" <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> />
+                       <button id="searchButton" type='submit' name='fulltext' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>>&nbsp;</button>
                </div>
                <?php else: ?>
                <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 6cddd9f..93e6d3d 100644 (file)
@@ -311,7 +311,7 @@ div#head h5 {
                background-color: transparent;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
-       div#p-search div#simpleSearch input#searchButton {
+       div#p-search div#simpleSearch button#searchButton {
                position: absolute;
                top: 0;
                right: 0;
@@ -327,7 +327,7 @@ div#head h5 {
                background-repeat: no-repeat;
        }
        /* IGNORED BY IE6 */
-       div#p-search div#simpleSearch > input#searchButton {
+       div#p-search div#simpleSearch > button#searchButton {
                height: 100%;
        }
 /* Panel */
index 6ce13c2..d6a027e 100644 (file)
@@ -311,7 +311,7 @@ div#head h5 {
                background-color: transparent;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
-       div#p-search div#simpleSearch input#searchButton {
+       div#p-search div#simpleSearch button#searchButton {
                position: absolute;
                top: 0;
                left: 0;
@@ -327,7 +327,7 @@ div#head h5 {
                background-repeat: no-repeat;
        }
        /* IGNORED BY IE6 */
-       div#p-search div#simpleSearch > input#searchButton {
+       div#p-search div#simpleSearch > button#searchButton {
                height: 100%;
        }
 /* Panel */