From: Aryeh Gregor Date: Sun, 22 Oct 2006 03:32:22 +0000 (+0000) Subject: Tweak Cologne Blue style so that all search boxes are given CSS widths. X-Git-Tag: 1.31.0-rc.0~55403 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=ce5b47b2c409045672b9f3e65d6aa066f7746b06;p=lhc%2Fweb%2Fwiklou.git Tweak Cologne Blue style so that all search boxes are given CSS widths. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index d6033a865a..20f4aa700f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1030,7 +1030,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '20'; +$wgStyleVersion = '21'; # Server-side caching: diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php index 6613ff12ad..5a3f910a1c 100644 --- a/skins/CologneBlue.php +++ b/skins/CologneBlue.php @@ -307,9 +307,10 @@ class SkinCologneBlue extends Skin { $s = "
searchboxes}\" method=\"get\" class=\"inline\" action=\"$action\">"; if ( "" != $label ) { $s .= "{$label}: "; } - $s .= "searchboxes}\" name=\"search\" size=\"14\" value=\"" - . htmlspecialchars(substr($search,0,256)) . "\" />" - . "
searchboxes}\" name=\"go\" value=\"" . htmlspecialchars( wfMsg( "searcharticle" ) ) . "\" /> searchboxes}\" name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( "search" ) ) . "\" />
"; + $s .= "searchboxes}\" class=\"mw-searchInput\" name=\"search\" size=\"14\" value=\"" + . htmlspecialchars(substr($search,0,256)) . "\" />
" + . "searchboxes}\" class=\"searchButton\" name=\"go\" value=\"" . htmlspecialchars( wfMsg( "searcharticle" ) ) . "\" />" + . "searchboxes}\" class=\"searchButton\" name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( "search" ) ) . "\" />"; // Ensure unique id's for search boxes made after the first $this->searchboxes = $this->searchboxes == '' ? 2 : $this->searchboxes + 1; diff --git a/skins/common/cologneblue.css b/skins/common/cologneblue.css index 8153d3c63b..5b6e5bca1a 100644 --- a/skins/common/cologneblue.css +++ b/skins/common/cologneblue.css @@ -93,4 +93,4 @@ a.stub, #quickbar a.stub { color:#772233; text-decoration:none; } a.new, #quickbar a.new { color: #CC2200; } h2, h3, h4, h5, h6 { margin-bottom: 0; } small { font-size: 75%; } -input#searchInput { width: 106px; } \ No newline at end of file +input.mw-searchInput { width: 106px; } \ No newline at end of file