changeset 685 | 17ebe24cdf85 |
parent 677 | 2a263b598a2b |
child 689 | 13f8383a7538 |
684:15dbbe7e7674 | 685:17ebe24cdf85 |
---|---|
1 <?php |
1 <?php |
2 |
2 |
3 /* |
3 /* |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
5 * Version 1.1.4 (Caoineag alpha 4) |
5 * Version 1.1.5 (Caoineag alpha 5) |
6 * Copyright (C) 2006-2008 Dan Fuhry |
6 * Copyright (C) 2006-2008 Dan Fuhry |
7 * |
7 * |
8 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
8 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
9 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
9 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
10 * |
10 * |
2496 $this->sidebar_extra = ''; |
2496 $this->sidebar_extra = ''; |
2497 $this->sidebar_widgets = ''; |
2497 $this->sidebar_widgets = ''; |
2498 $this->toolbar_menu = ''; |
2498 $this->toolbar_menu = ''; |
2499 $this->additional_headers = '<style type="text/css">div.pagenav { border-top: 1px solid #CCC; padding-top: 7px; margin-top: 10px; }</style>'; |
2499 $this->additional_headers = '<style type="text/css">div.pagenav { border-top: 1px solid #CCC; padding-top: 7px; margin-top: 10px; }</style>'; |
2500 |
2500 |
2501 $this->fading_button = '<div style="background-image: url('.cdnPath.'/images/about-powered-enano-hover.png); background-repeat: no-repeat; width: 88px; height: 31px; margin: 0 auto 5px auto;"> |
2501 $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 5px auto;"> |
2502 <a href="http://enanocms.org/" onclick="window.open(this.href); return false;"><img style="border-width: 0;" alt=" " src="'.cdnPath.'/images/about-powered-enano.png" onmouseover="domOpacity(this, 100, 0, 500);" onmouseout="domOpacity(this, 0, 100, 500);" /></a> |
2502 <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> |
2503 </div>'; |
2503 </div>'; |
2504 |
2504 |
2505 // get list of themes |
2505 // get list of themes |
2506 $this->theme_list = array(); |
2506 $this->theme_list = array(); |
2507 $this->named_theme_list = array(); |
2507 $this->named_theme_list = array(); |
2620 $js_dynamic = ''; |
2620 $js_dynamic = ''; |
2621 if ( defined('IN_ENANO_INSTALL') ) |
2621 if ( defined('IN_ENANO_INSTALL') ) |
2622 { |
2622 { |
2623 $js_dynamic .= '<script type="text/javascript" src="install.php?mode=langjs"></script>'; |
2623 $js_dynamic .= '<script type="text/javascript" src="install.php?mode=langjs"></script>'; |
2624 } |
2624 } |
2625 $js_dynamic .= '<script type="text/javascript">var title="'. $title .'"; var scriptPath="'.scriptPath.'"; var ENANO_SID=""; var AES_BITS='.AES_BITS.'; var AES_BLOCKSIZE=' . AES_BLOCKSIZE . '; var pagepass=\'\'; var ENANO_LANG_ID = 1;</script>'; |
2625 $js_dynamic .= '<script type="text/javascript">var title="'. $title .'"; var scriptPath="'.scriptPath.'"; var cdnPath="'.scriptPath.'"; var ENANO_SID=""; var AES_BITS='.AES_BITS.'; var AES_BLOCKSIZE=' . AES_BLOCKSIZE . '; var pagepass=\'\'; var ENANO_LANG_ID = 1;</script>'; |
2626 |
2626 |
2627 global $site_name, $site_desc; |
2627 global $site_name, $site_desc; |
2628 $site_default_name = ( !empty($site_name) ) ? $site_name : 'Critical error'; |
2628 $site_default_name = ( !empty($site_name) ) ? $site_name : 'Critical error'; |
2629 $site_default_desc = ( !empty($site_desc) ) ? $site_desc : 'This site is experiencing a problem and cannot load.'; |
2629 $site_default_desc = ( !empty($site_desc) ) ? $site_desc : 'This site is experiencing a problem and cannot load.'; |
2630 |
2630 |