1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 21:21:54 +02: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.
in forum_post, removed old wysiwyg detection code.
This commit is contained in:
mrpete 2006-12-07 12:55:12 +00:00
parent 791ef7d776
commit 6285cd3571

View File

@ -11,14 +11,13 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:13 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-07 12:55:12 $
| $Author: mrpete $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
$WYSIWYG = $pref['wysiwyg'];
$e_wysiwyg = "post";
$lan_file = e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_post.php';
include(file_exists($lan_file) ? $lan_file : e_PLUGIN.'forum/languages/English/lan_forum_post.php');