layout.php 514 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Layout (principal view) used for structuring other views
  5. * @author Christian Fasanando <christian1827@gmail.com>
  6. * @package chamilo.attendace
  7. */
  8. // protect a course script
  9. api_protect_course_script(true);
  10. // Header
  11. $tool = TOOL_ATTENDANCE;
  12. Display :: display_header('');
  13. // Introduction section
  14. Display::display_introduction_section($tool);
  15. // Tracking
  16. Event::event_access_tool($tool);
  17. // Display
  18. echo $content;
  19. // Footer
  20. Display :: display_footer();