From ce5b47b2c409045672b9f3e65d6aa066f7746b06 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 22 Oct 2006 03:32:22 +0000 Subject: [PATCH] Tweak Cologne Blue style so that all search boxes are given CSS widths. --- includes/DefaultSettings.php | 2 +- skins/CologneBlue.php | 7 ++++--- skins/common/cologneblue.css | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) 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 -- 2.20.1