1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Bugfix #3568 - wysiwyg was not being tested for properly. This has been an ongoing

issue, now resolved. admin and user code need not download wysiwyg js etc -- use
 e_WYSIWYG constant to see if it is enabled.
This commit is contained in:
mrpete 2007-01-20 15:57:53 +00:00
parent ac10964a52
commit f545170728

View File

@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.6 $
| $Date: 2006-12-22 18:47:10 $
| $Author: e107coders $
| $Revision: 1.7 $
| $Date: 2007-01-20 15:57:53 $
| $Author: mrpete $
+---------------------------------------------------------------+
*/
@ -129,7 +129,9 @@ echo "<!-- *JS* -->\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);
}