[svn r18816] fixes when a student inserts an image in a new forum message or reply message FS#3680

skala
Juan Carlos Raña 16 years ago
parent 6041676d46
commit 1cbd11172f
  1. 7
      main/forum/newthread.php
  2. 6
      main/forum/reply.php

@ -65,13 +65,6 @@ $nameTools=get_lang('Forum');
// configuration for FCKeditor
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '400';
$fck_attribute['Config']['IMUploadPath'] = 'upload/forum/';
$fck_attribute['Config']['FlashUploadPath'] = 'upload/forum/';
$fck_attribute['Config']['InDocument'] = false;
$fck_attribute['Config']['CreateDocumentDir'] = '../../courses/'.api_get_course_path().'/document/';
if(!api_is_allowed_to_edit(false,true)) {
$fck_attribute['Config']['UserStatus'] = 'student';

@ -58,12 +58,6 @@ api_protect_course_script(true);
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '400';
$fck_attribute['Config']['IMUploadPath'] = 'upload/forum/';
$fck_attribute['Config']['FlashUploadPath'] = 'upload/forum/';
$fck_attribute['Config']['InDocument'] = false;
$fck_attribute['Config']['CreateDocumentDir'] = '../../courses/'.api_get_course_path().'/document/';
if(!api_is_allowed_to_edit(false,true)) {
$fck_attribute['Config']['UserStatus'] = 'student';
$fck_attribute['ToolbarSet'] = 'Forum_Student';

Loading…
Cancel
Save