includes/template.php
changeset 87 570f68c3fe36
parent 86 c162ca39db8f
child 91 8079b0288e8e
equal deleted inserted replaced
86:c162ca39db8f 87:570f68c3fe36
    40     $this->toolbar_menu = '';
    40     $this->toolbar_menu = '';
    41     $this->additional_headers = '';
    41     $this->additional_headers = '';
    42     $this->plugin_blocks = Array();
    42     $this->plugin_blocks = Array();
    43     $this->theme_loaded = false;
    43     $this->theme_loaded = false;
    44     
    44     
    45     $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;">
    45     $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;">
    46                             <img alt="Powered by Enano CMS" style="border-width: 0; position: absolute;" 
    46                               <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>
    47                                  src="' . scriptPath . '/images/about-powered-enano.png" id="enanoFader" onmouseover="domOpacity(this, 100, 0, 500);" 
    47                             </div>';
    48                                  onmouseout="opacity(this.id, 0, 100, 500);" />
       
    49                             <img alt="Powered by Enano CMS" style="border-width: 0px;" src="' . scriptPath . '/images/about-powered-enano-hover.png" />
       
    50                           </a>';
       
    51     
    48     
    52     $this->theme_list = Array();
    49     $this->theme_list = Array();
    53     $this->named_theme_list = Array();
    50     $this->named_theme_list = Array();
    54     $e = $db->sql_query('SELECT theme_id,theme_name,enabled,default_style FROM '.table_prefix.'themes WHERE enabled=1 ORDER BY theme_order;');
    51     $e = $db->sql_query('SELECT theme_id,theme_name,enabled,default_style FROM '.table_prefix.'themes WHERE enabled=1 ORDER BY theme_order;');
    55     if(!$e) $db->_die('The list of themes could not be selected.');
    52     if(!$e) $db->_die('The list of themes could not be selected.');