|
|
|
@ -60,10 +60,6 @@ |
|
|
|
|
============================================================================== |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
$fck_attribute['Width'] = '100%'; |
|
|
|
|
$fck_attribute['Height'] = '400'; |
|
|
|
|
$fck_attribute['ToolbarSet'] = 'Middle'; |
|
|
|
|
$fck_attribute['Config']['IMUploadPath'] = 'upload/forum/'; |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
----------------------------------------------------------- |
|
|
|
@ -73,6 +69,14 @@ $fck_attribute['Config']['IMUploadPath'] = 'upload/forum/'; |
|
|
|
|
// name of the language file that needs to be included |
|
|
|
|
$language_file = 'forum'; |
|
|
|
|
require ('../inc/global.inc.php'); |
|
|
|
|
|
|
|
|
|
$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'; |
|
|
|
|
|
|
|
|
|
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'); |
|
|
|
|