* logo url specified in the xhtml src, uses $wgLogo
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 09:28:54 +0000 (09:28 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 09:28:54 +0000 (09:28 +0000)
* png fix js reactivated, needs to check for activex though

images/magnify-clip.png
includes/SkinPHPTal.php
stylesheets/IEFixes.js
stylesheets/monobook/main.css
templates/xhtml_slim.pt

index 4304142..9c7f337 100644 (file)
Binary files a/images/magnify-clip.png and b/images/magnify-clip.png differ
index e4050a8..1588207 100644 (file)
@@ -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' ) );
 
                        */
                        $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 );
index 952280e..b83a4d1 100644 (file)
@@ -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();
index 4230a11..205f80f 100644 (file)
@@ -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,
index b87edce..cc92bf3 100644 (file)
@@ -80,7 +80,7 @@
         </div>
         <!--<esi:include src="staticLogoNaviSearch"/> same for all pages, contains quite a few messages that are worth caching -->
         <div class="portlet" id="portlet-logo">
-          <a href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
+          <a style="background: url(${logopath}) no-repeat;" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
         </div>
         <div class="portlet" id="portlet-navigation">
           <h5 i18n:translate="string:navigation">Navigation</h5>