|
@@ -59,12 +59,7 @@
|
|
|
==============================================================================
|
|
|
*/
|
|
|
|
|
|
-$fck_attribute['Width'] = '100%';
|
|
|
-$fck_attribute['Height'] = '400';
|
|
|
-$fck_attribute['ToolbarSet'] = 'Middle';
|
|
|
-$fck_attribute['Config']['IMUploadPath'] = 'upload/forum/';
|
|
|
-$fck_attribute['Config']['FlashUploadPath'] = 'upload/forum/';
|
|
|
-if(!api_is_allowed_to_edit()) $fck_attribute['Config']['UserStatus'] = 'student';
|
|
|
+
|
|
|
|
|
|
/*
|
|
|
-----------------------------------------------------------
|
|
@@ -78,7 +73,12 @@ require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'
|
|
|
include_once (api_get_path(LIBRARY_PATH).'groupmanager.lib.php');
|
|
|
$nameTools=get_lang('Forum');
|
|
|
|
|
|
-
|
|
|
+$fck_attribute['Width'] = '100%';
|
|
|
+$fck_attribute['Height'] = '400';
|
|
|
+$fck_attribute['ToolbarSet'] = 'Middle';
|
|
|
+$fck_attribute['Config']['IMUploadPath'] = 'upload/forum/';
|
|
|
+$fck_attribute['Config']['FlashUploadPath'] = 'upload/forum/';
|
|
|
+if(!api_is_allowed_to_edit()) $fck_attribute['Config']['UserStatus'] = 'student';
|
|
|
/*
|
|
|
-----------------------------------------------------------
|
|
|
Including necessary files
|