'.api_display_tool_title($nameTools) . ''; /* ----------------------------------------------------------- Introduction section (editable by course admins) ----------------------------------------------------------- */ $fck_attribute['Width'] = '100%'; $fck_attribute['Height'] = '300'; $fck_attribute['ToolbarSet'] = 'Introduction'; // A special case, some default settings do not fit. These settings should stay. $fck_attribute['Config']['CreateDocumentWebDir'] = api_get_path('WEB_COURSE_PATH').api_get_course_path().'/document/'; $fck_attribute['Config']['CreateDocumentDir'] = 'document/'; $fck_attribute['Config']['BaseHref'] = api_get_path('WEB_COURSE_PATH').api_get_course_path().'/'; Display::display_introduction_section(TOOL_COURSE_HOMEPAGE); $fck_attribute = null; // Clearing this global variable immediatelly after it has been used. /* ----------------------------------------------------------- SWITCH TO A DIFFERENT HOMEPAGE VIEW the setting homepage_view is adjustable through the platform administration section ----------------------------------------------------------- */ if(get_setting('homepage_view') == "activity") { include('activity.php'); } elseif(get_setting('homepage_view') == "2column") { include('2column.php'); } elseif(get_setting('homepage_view') == "3column") { include('3column.php'); } /* ============================================================================== FOOTER ============================================================================== */ Display::display_footer(); ?>