1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

Fix for sitetheme_deflayout name change.

This commit is contained in:
CaMer0n
2009-07-05 21:20:30 +00:00
parent dad824a8d2
commit 3e9c3ff24d

View File

@@ -6,9 +6,9 @@
| Released under the terms and conditions of the GNU General Public License (http://gnu.org). | Released under the terms and conditions of the GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $ | $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $
| $Revision: 1.29 $ | $Revision: 1.30 $
| $Date: 2009-04-16 10:09:32 $ | $Date: 2009-07-05 21:20:30 $
| $Author: secretr $ | $Author: e107coders $
+-----------------------------------------------------------------------------------------------+ +-----------------------------------------------------------------------------------------------+
*/ */
@@ -445,7 +445,7 @@ if ($e107_popup != 1) {
// //
// M: Send top of body for custom pages and for news // M: Send top of body for custom pages and for news
// //
$def = varset($pref['theme_deflayout']); $def = varset($pref['sitetheme_deflayout']);
if(is_array($HEADER) && isset($HEADER[$def]) && isset($FOOTER[$def])) if(is_array($HEADER) && isset($HEADER[$def]) && isset($FOOTER[$def]))
{ {
$HEADER = $HEADER[$def]; $HEADER = $HEADER[$def];