1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

removed tinymce inclusion from header files. (Already loaded with e_meta.php)

This commit is contained in:
CaMer0n
2007-01-23 22:44:47 +00:00
parent f28bb472db
commit 7a1a1cb3b0
2 changed files with 6 additions and 10 deletions

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $ | $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.7 $ | $Revision: 1.8 $
| $Date: 2007-01-20 15:57:53 $ | $Date: 2007-01-23 22:44:47 $
| $Author: mrpete $ | $Author: e107coders $
+---------------------------------------------------------------+ +---------------------------------------------------------------+
*/ */
@@ -129,9 +129,7 @@ echo "<!-- *JS* -->\n";
// Wysiwyg JS support on or off. // Wysiwyg JS support on or off.
// your code should run off e_WYSIWYG // your code should run off e_WYSIWYG
if (varset($pref['wysiwyg'],FALSE) && check_class($pref['post_html']) && varset($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); define("e_WYSIWYG",TRUE);
echo wysiwyg($e_wysiwyg);
}else{ }else{
define("e_WYSIWYG",FALSE); define("e_WYSIWYG",FALSE);
} }

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.5 $ | $Revision: 1.6 $
| $Date: 2007-01-17 13:49:59 $ | $Date: 2007-01-23 22:44:47 $
| $Author: mrpete $ | $Author: e107coders $
+-----------------------------------------------------------------------------------------------+ +-----------------------------------------------------------------------------------------------+
*/ */
@@ -91,9 +91,7 @@ echo "<!-- *JS* -->\n";
// Wysiwyg JS support on or off. // Wysiwyg JS support on or off.
if (varset($pref['wysiwyg'],FALSE) && check_class($pref['post_html']) && varset($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); define("e_WYSIWYG",TRUE);
echo wysiwyg($e_wysiwyg);
}else{ }else{
define("e_WYSIWYG",FALSE); define("e_WYSIWYG",FALSE);
} }