diff --git a/e107_admin/header.php b/e107_admin/header.php index ea4342514..86d8a6a8e 100644 --- a/e107_admin/header.php +++ b/e107_admin/header.php @@ -12,9 +12,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $ -| $Revision: 1.5 $ -| $Date: 2006-12-07 16:18:51 $ -| $Author: sweetas $ +| $Revision: 1.6 $ +| $Date: 2006-12-22 18:47:10 $ +| $Author: e107coders $ +---------------------------------------------------------------+ */ @@ -129,9 +129,7 @@ echo "\n"; // Wysiwyg JS support on or off. // your code should run off e_WYSIWYG if (varset($pref['wysiwyg'],FALSE) && check_class($pref['post_html']) && varset($e_wysiwyg) != "") { - require_once(e_HANDLER."tiny_mce/wysiwyg.php"); define("e_WYSIWYG",TRUE); - echo wysiwyg($e_wysiwyg); }else{ define("e_WYSIWYG",FALSE); } @@ -185,8 +183,8 @@ if (strpos(e_SELF.'?'.e_QUERY, 'menus.php?configure') === FALSE && isset($pref[' echo "\n"; -} -else +} +else { $css_file = file_exists(THEME.'admin_style.css') ? THEME_ABS.'admin_style.css' : THEME_ABS.'style.css'; echo "\n"; @@ -266,7 +264,7 @@ if(!isset($e107_popup)) $e107_popup = 0; } if ($e107_popup != 1) { - + // // L: (optional) Body JS to disable right clicks [reserved; user mode] @@ -459,4 +457,4 @@ if (strpos(e_SELF.'?'.e_QUERY, 'menus.php?configure') === FALSE) { } $sql->db_Mark_Time('(End: Parse Admin Header)'); } -?> \ No newline at end of file +?> diff --git a/e107_themes/templates/header_default.php b/e107_themes/templates/header_default.php index cb58efda0..a84c99100 100644 --- a/e107_themes/templates/header_default.php +++ b/e107_themes/templates/header_default.php @@ -6,9 +6,9 @@ | 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 $ -| $Revision: 1.3 $ -| $Date: 2006-12-07 12:53:49 $ -| $Author: mrpete $ +| $Revision: 1.4 $ +| $Date: 2006-12-22 18:47:10 $ +| $Author: e107coders $ +-----------------------------------------------------------------------------------------------+ */ @@ -91,9 +91,7 @@ echo "\n"; // Wysiwyg JS support on or off. if (varset($pref['wysiwyg'],FALSE) && check_class($pref['post_html']) && varset($e_wysiwyg) != "") { - require_once(e_HANDLER."tiny_mce/wysiwyg.php"); define("e_WYSIWYG",TRUE); - echo wysiwyg($e_wysiwyg); }else{ define("e_WYSIWYG",FALSE); } @@ -307,7 +305,7 @@ if(!isset($e107_popup)) $e107_popup = 0; } if ($e107_popup != 1) { - + // // L: (optional) Body JS to disable right clicks //