layout.php 521 B

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