From b0ac86dcb040dbe14627badd78b34833cfd7c634 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 22 Apr 2004 09:28:54 +0000 Subject: [PATCH] * logo url specified in the xhtml src, uses $wgLogo * png fix js reactivated, needs to check for activex though --- images/magnify-clip.png | Bin 341 -> 297 bytes includes/SkinPHPTal.php | 3 ++- stylesheets/IEFixes.js | 3 +-- stylesheets/monobook/main.css | 6 ------ templates/xhtml_slim.pt | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/images/magnify-clip.png b/images/magnify-clip.png index 43041428851b4e30764b3ad22da3c7643ef8701e..9c7f3376c5932eb189a04adc2899c683a465d093 100644 GIT binary patch literal 297 zcmeAS@N?(olHy`uVBq!ia0vp^azHH3!3-p|AM!^4shj|x5Z5nXzNpB{YN{w|tE=c} zs#%&E*;$&~TU$8US-U#edAd6Jdb;^~c?9|Sh6e}6M@Ob5CuV1)l@#Xp^>j_>>zUZs zyJFdr!-ozYKX&xQ@nh%DpSyDT^7U)i?%uic`0=ABj~_pM`sC%ym-15L|NsAInmqR; z&|b!pAirP+hi5m^fShbk7srr_TgeF$Tn=GEj86=gwoVan5a~9V&&0E#GhyPhc4JGI zkKU74L_0;y==P0>;AzhbbSq0!D-(;8+2v{>(X!(xtHsfS4WiEG>~Zzo8#GUNcyfNy taAMfC*;QdzMIpQ{vSB7fBlR17tSAGu(!{DaKE9wK0ZEv!iDqs=?V7s`x)wiih;)^mS#w!X(BhVrndQ?Ke=U!PCVtq+-s|UPrM*3OuZym()5UbVIV=)dw#0 zcD}RYMb7iTKNbHpGfnbSHa6}IlCjv!k$l*SHPJ2W?3cGwb}>15TtCP)N3`pKV^DFM zkL`>rt8QdZ@LgXR{mJ&(@kJY=EKQ#=EDd?h=e6|J&bOXVpYGT@>2}TkjCX5auGp}1 cweb&zkRPm;thtQyfNo*%boFyt=akR{0KBGzMF0Q* diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index e4050a872f..1588207688 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -64,7 +64,7 @@ global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgOut; global $wgScript, $wgStyleSheetPath, $wgLanguageCode, $wgUseNewInterlanguage; global $wgMimeType, $wgOutputEncoding, $wgUseDatabaseMessages, $wgRequest; - global $wgDisableCounters; + global $wgDisableCounters, $wgLogo; extract( $wgRequest->getValues( 'oldid', 'diff' ) ); @@ -101,6 +101,7 @@ */ $tpl->setRef( "searchaction", &$wgScript ); $tpl->setRef( "stylepath", &$wgStyleSheetPath ); + $tpl->setRef( "logopath", &$wgLogo ); $tpl->setRef( "lang", &$wgLanguageCode ); $tpl->set( "langname", $wgLang->getLanguageName( $wgLanguageCode ) ); $tpl->setRef( "username", &$this->username ); diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js index 952280e6d8..b83a4d1c03 100644 --- a/stylesheets/IEFixes.js +++ b/stylesheets/IEFixes.js @@ -5,8 +5,7 @@ else var version = 0; window.attachEvent("onload", hookit); function hookit() { - // replaced by special indexed logo for now - //fixalpha(); + fixalpha(); if(version == 6) { var wrapper = document.getElementById('tawrapper'); if (!wrapper) relativeforfloats(); diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 4230a11f63..205f80f127 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -661,7 +661,6 @@ div.townBox dl dd { display: block; height: 155px; width: 135px; - background: url(wiki.png) no-repeat; background-repeat: no-repeat; text-decoration: none; } @@ -952,11 +951,6 @@ head:first-child+body #portal-footer li { * html #portal-column-content { display: inline; } -/* only indexed png transparency */ -* html #portlet-logo a, -* html #portlet-logo a:hover { - background: url(wiki-indexed.png) no-repeat; -} /* float/negative margin brokenness */ * html #bodyContent pre, diff --git a/templates/xhtml_slim.pt b/templates/xhtml_slim.pt index b87edcea9e..cc92bf31ab 100644 --- a/templates/xhtml_slim.pt +++ b/templates/xhtml_slim.pt @@ -80,7 +80,7 @@
Navigation
-- 2.20.1