catalog_layout.php 501 B

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