* (bug 6562) Removed unmaintained ParserXml.php for now
[lhc/web/wiklou.git] / skins / CologneBlue.php
index eeff28a..b5f7c91 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 if( !defined( 'MEDIAWIKI' ) )
-       die();
+       die( -1 );
 
 /**
  * @todo document
@@ -16,18 +16,15 @@ if( !defined( 'MEDIAWIKI' ) )
  * @subpackage Skins
  */
 class SkinCologneBlue extends Skin {
-       # We have several search form. Make sure they have different id
-       var $searchFormCount = '' ;
 
        function getStylesheet() {
-               return "common/cologneblue.css?1";
+               return "common/cologneblue.css?2";
        }
        function getSkinName() {
                return "cologneblue";
        }
 
        function doBeforeContent() {
-               global $wgOut, $wgTitle;
 
                $s = "";
                $qb = $this->qbSetting();
@@ -101,7 +98,7 @@ class SkinCologneBlue extends Skin {
        }
 
        function doGetUserStyles() {
-               global $wgOut, $wgStyleSheetPath;
+               global $wgOut;
                $s = parent::doGetUserStyles();
                $qb = $this->qbSetting();
 
@@ -167,8 +164,6 @@ class SkinCologneBlue extends Skin {
                        }
                }
 
-
-
                return $s;
        }
 
@@ -302,17 +297,17 @@ class SkinCologneBlue extends Skin {
 
        function searchForm( $label = "" )
        {
-               global $wgRequest, $searchFormCount;
+               global $wgRequest;
 
                $search = $wgRequest->getText( 'search' );
                $action = $this->escapeSearchLink();
-               $s = "<form id=\"searchForm{$searchFormCount}\" method=\"get\" class=\"inline\" action=\"$action\">";
+               $s = "<form id=\"search\" method=\"get\" class=\"inline\" action=\"$action\">";
                if ( "" != $label ) { $s .= "{$label}: "; }
 
-               $s .= "<input type='text' name=\"searchInput{$searchFormCount}\" size='14' value=\""
+               $s .= "<input type='text' name=\"search\" size='14' value=\""
                  . htmlspecialchars(substr($search,0,256)) . "\" />"
                  . "<br /><input type='submit' name=\"go\" value=\"" . htmlspecialchars( wfMsg( "go" ) ) . "\" /> <input type='submit' name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( "search" ) ) . "\" /></form>";
-               $searchFormCount++;
+
                return $s;
        }
 }