includes/template.php
changeset 87 570f68c3fe36
parent 86 c162ca39db8f
child 91 8079b0288e8e
--- a/includes/template.php	Fri Aug 10 15:57:22 2007 -0400
+++ b/includes/template.php	Sun Aug 12 13:11:16 2007 -0400
@@ -42,12 +42,9 @@
     $this->plugin_blocks = Array();
     $this->theme_loaded = false;
     
-    $this->fading_button = '<a href="http://enanocms.org" onclick="if ( !KILL_SWITCH ) { window.open(this.href); return false; }" style="text-align: center; margin: 0 auto; display: table; background-image: none;">
-                            <img alt="Powered by Enano CMS" style="border-width: 0; position: absolute;" 
-                                 src="' . scriptPath . '/images/about-powered-enano.png" id="enanoFader" onmouseover="domOpacity(this, 100, 0, 500);" 
-                                 onmouseout="opacity(this.id, 0, 100, 500);" />
-                            <img alt="Powered by Enano CMS" style="border-width: 0px;" src="' . scriptPath . '/images/about-powered-enano-hover.png" />
-                          </a>';
+    $this->fading_button = '<div style="background-image: url('.scriptPath.'/images/about-powered-enano-hover.png); background-repeat: no-repeat; width: 88px; height: 31px; margin: 0 auto;">
+                              <a href="http://enanocms.org/" onclick="window.open(this.href); return false;"><img style="border-width: 0;" alt=" " src="'.scriptPath.'/images/about-powered-enano.png" onmouseover="domOpacity(this, 100, 0, 500);" onmouseout="domOpacity(this, 0, 100, 500);" /></a>
+                            </div>';
     
     $this->theme_list = Array();
     $this->named_theme_list = Array();