diff --git a/main/notebook/index.php b/main/notebook/index.php index eb98f19db1..c85f7acf45 100755 --- a/main/notebook/index.php +++ b/main/notebook/index.php @@ -47,6 +47,23 @@ Display::display_introduction_section(TOOL_NOTEBOOK,'left'); $fck_attribute = null; // Clearing this global variable immediatelly after it has been used. + +// config notebook FckEditor buttons bar + +$fck_attribute['Width'] = '100%'; +$fck_attribute['Height'] = '400'; + +if(!api_is_allowed_to_edit()) +{ + $fck_attribute['Config']['UserStatus'] = 'student'; + $fck_attribute['ToolbarSet'] = 'Notebook_Student'; +} +else +{ + $fck_attribute['ToolbarSet'] = 'Notebook'; +} + + // action links echo '