From: Trevor Parscal Date: Fri, 17 Jul 2009 19:09:44 +0000 (+0000) Subject: Changed the simple search button from an input tag to a button tag to provide better... X-Git-Tag: 1.31.0-rc.0~40872 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=5c7bcd40463eb01234be5d5c95ba77472d41f907;p=lhc%2Fweb%2Fwiklou.git Changed the simple search button from an input tag to a button tag to provide better styling support, especially in older versions of Safari. --- diff --git a/skins/Vector.php b/skins/Vector.php index c49d95c1ff..58b3e48b09 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -779,7 +779,7 @@ class VectorTemplate extends QuickTemplate {
skin->tooltipAndAccesskey( 'search' ); ?> data['search'] ) ): ?> value="text( 'search' ) ?>" /> - skin->tooltipAndAccesskey( 'search-fulltext' ); ?> /> +
skin->tooltipAndAccesskey( 'search' ); ?> data['search'] ) ): ?> value="text( 'search' ) ?>" /> diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index 6cddd9f828..93e6d3df45 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -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 */ diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 6ce13c2125..d6a027e890 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -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 */