[evolvis-commits] r11294: Added support to fckeditor↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 18:07:04 CET 2011


Author: mirabilos
Date: 2011-02-24 18:07:04 +0100 (Thu, 24 Feb 2011)
New Revision: 11294

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/forum.php
   trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class
Log:
Added support to fckeditor


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/forum.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/forum.php	2011-02-24 17:07:03 UTC (rev 11293)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/forum.php	2011-02-24 17:07:04 UTC (rev 11294)
@@ -25,8 +25,8 @@
 require_once('common/forum/ForumMessageFactory.class');
 require_once('common/forum/ForumMessage.class');
 require_once('www/forum/include/AttachManager.class'); //attachent manager
-require_once('www/include/TextSupport.class'); // bbcode, smilies support
-require_once('common/forum/TextSanitizer.class'); // to make the HTML input by the user safe to store
+//require_once('www/include/TextSupport.class'); // bbcode, smilies support
+require_once('common/include/TextSanitizer.class'); // to make the HTML input by the user safe to store
 
 $forum_id = getIntFromRequest('forum_id');
 $style = getStringFromRequest('style');

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class	2011-02-24 17:07:03 UTC (rev 11293)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class	2011-02-24 17:07:04 UTC (rev 11294)
@@ -24,8 +24,8 @@
 require_once('www/forum/admin/ForumAdmin.class');
 require_once('www/forum/include/AttachManager.class');
 require_once('www/include/TextSupport.class'); // bbcode, smilies support
+require_once('www/include/fckeditor/fckeditor.php');
 
-
 function forum_header($params) {
 	global $HTML,$group_id,$forum_name,$forum_id,$sys_datefmt,$sys_news_group,$Language,$f,$sys_use_forum,$group_forum_id;
 
@@ -491,7 +491,7 @@
 				<?php
 				//plugin_hook("text_editor");
 				$oFCKeditor = new FCKeditor('body') ;
-				$oFCKeditor->BasePath = 'http://' . $sys_default_domain  . '/forum/include/fckeditor/';
+				$oFCKeditor->BasePath = 'http://' . $sys_default_domain  . '/include/fckeditor/';
 				$oFCKeditor->Value = $body;
 				$oFCKeditor->Width = "800";
 				$oFCKeditor->Height = "500";
@@ -553,7 +553,7 @@
 			<?php 
 				//plugin_hook("text_editor");
 				$oFCKeditor = new FCKeditor('body') ;
-				$oFCKeditor->BasePath = 'http://' . $sys_default_domain  . '/forum/include/fckeditor/';
+				$oFCKeditor->BasePath = 'http://' . $sys_default_domain  . '/include/fckeditor/';
 				$oFCKeditor->Value = '';
 				$oFCKeditor->Width = "800";
 				$oFCKeditor->Height = "500";



More information about the evolvis-commits mailing list