<?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=" " 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' ); ?>> </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; ?> />
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;
background-repeat: no-repeat;
}
/* IGNORED BY IE6 */
- div#p-search div#simpleSearch > input#searchButton {
+ div#p-search div#simpleSearch > button#searchButton {
height: 100%;
}
/* Panel */
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;
background-repeat: no-repeat;
}
/* IGNORED BY IE6 */
- div#p-search div#simpleSearch > input#searchButton {
+ div#p-search div#simpleSearch > button#searchButton {
height: 100%;
}
/* Panel */