includes/template.php
changeset 54 84b56303cab5
parent 53 3dea509d88ae
child 57 b354deeaa4c4
--- a/includes/template.php	Sat Jul 07 22:54:20 2007 -0400
+++ b/includes/template.php	Sat Jul 07 23:06:28 2007 -0400
@@ -28,12 +28,7 @@
    * @var string
    */
   
-  var $fading_button = '<a href="http://enanocms.org" onclick="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="/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="/images/about-powered-enano-hover.png" />
-                        </a>';
+  var $fading_button = '';
   
   function __construct()
   {
@@ -47,6 +42,13 @@
     $this->plugin_blocks = Array();
     $this->theme_loaded = false;
     
+    $fading_button = '<a href="http://enanocms.org" onclick="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->theme_list = Array();
     $this->named_theme_list = Array();
     $e = $db->sql_query('SELECT theme_id,theme_name,enabled,default_style FROM '.table_prefix.'themes WHERE enabled=1 ORDER BY theme_order;');