You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
832 B
40 lines
832 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
/**
|
|
* Layout (principal view) used for structuring other views.
|
|
*
|
|
* @author Christian Fasanando <christian1827@gmail.com>
|
|
*
|
|
* @package chamilo.attendace
|
|
*/
|
|
|
|
// protect a course script
|
|
api_protect_course_script(true);
|
|
|
|
// Header
|
|
$tool = TOOL_ATTENDANCE;
|
|
|
|
$func = isset($_REQUEST['func']) ? $_REQUEST['func'] : null;
|
|
if ('fullscreen' === $func) {
|
|
$htmlHeadXtra[] = api_get_css_asset('bootstrap/dist/css/bootstrap.min.css');
|
|
Display::display_reduced_header();
|
|
} else {
|
|
Display::display_header('');
|
|
}
|
|
|
|
// Introduction section
|
|
Display::display_introduction_section($tool);
|
|
|
|
// Tracking
|
|
Event::event_access_tool($tool);
|
|
|
|
// Display
|
|
echo $content;
|
|
|
|
// Footer
|
|
if ('fullscreen' === $func) {
|
|
Display::display_reduced_footer();
|
|
} else {
|
|
Display::display_footer();
|
|
}
|
|
|