Actualización

This commit is contained in:
Xes
2025-04-10 12:49:05 +02:00
parent 4aff98e77b
commit 1cdd00920f
9151 changed files with 1800913 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
<?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();
}