catalog_layout.php 495 B

123456789101112131415161718192021
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Layout (principal view) used for structuring course/session catalog
  5. * @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
  6. * @package chamilo.auth
  7. */
  8. if (api_get_setting('course_catalog_published') !== 'true') {
  9. // Access rights: anonymous users can't do anything usefull here.
  10. api_block_anonymous_users();
  11. }
  12. // Header
  13. Display::display_header('');
  14. // Display
  15. echo $content;
  16. // Footer
  17. Display::display_footer();