Tweak Cologne Blue style so that all search boxes are given CSS widths.
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 22 Oct 2006 03:32:22 +0000 (03:32 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 22 Oct 2006 03:32:22 +0000 (03:32 +0000)
includes/DefaultSettings.php
skins/CologneBlue.php
skins/common/cologneblue.css

index d6033a8..20f4aa7 100644 (file)
@@ -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:
 
index 6613ff1..5a3f910 100644 (file)
@@ -307,9 +307,10 @@ class SkinCologneBlue extends Skin {
                $s = "<form id=\"searchform{$this->searchboxes}\" method=\"get\" class=\"inline\" action=\"$action\">";
                if ( "" != $label ) { $s .= "{$label}: "; }
 
-               $s .= "<input type='text' id=\"searchInput{$this->searchboxes}\" name=\"search\" size=\"14\" value=\""
-                 . htmlspecialchars(substr($search,0,256)) . "\" />"
-                 . "<br /><input type='submit' id=\"searchGoButton{$this->searchboxes}\" name=\"go\" value=\"" . htmlspecialchars( wfMsg( "searcharticle" ) ) . "\" /> <input type='submit' id=\"mw-searchButton{$this->searchboxes}\" name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( "search" ) ) . "\" /></form>";
+               $s .= "<input type='text' id=\"searchInput{$this->searchboxes}\" class=\"mw-searchInput\" name=\"search\" size=\"14\" value=\""
+                 . htmlspecialchars(substr($search,0,256)) . "\" /><br />"
+                 . "<input type='submit' id=\"searchGoButton{$this->searchboxes}\" class=\"searchButton\" name=\"go\" value=\"" . htmlspecialchars( wfMsg( "searcharticle" ) ) . "\" />"
+                 . "<input type='submit' id=\"mw-searchButton{$this->searchboxes}\" class=\"searchButton\" name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( "search" ) ) . "\" /></form>";
 
                // Ensure unique id's for search boxes made after the first
                $this->searchboxes = $this->searchboxes == '' ? 2 : $this->searchboxes + 1;
index 8153d3c..5b6e5bc 100644 (file)
@@ -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