lp_save.php 941 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. use ChamiloSession as Session;
  4. /**
  5. * Script that handles the saving of item status.
  6. *
  7. * @package chamilo.learnpath
  8. *
  9. * @author Yannick Warnier <ywarnier@beeznest.org>
  10. */
  11. /**
  12. * Initialization is to be done by lp_controller.php.
  13. * Switching within the field to update.
  14. */
  15. ?>
  16. <!DOCTYPE html
  17. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  18. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  19. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo api_get_language_isocode(); ?>" lang="<?php echo api_get_language_isocode(); ?>">
  20. <head>
  21. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo api_get_system_encoding(); ?>" />
  22. <script language='javascript'>
  23. <?php
  24. /** @var learnpath $lp */
  25. $lp = Session::read('oLP');
  26. if ($lp->mode != 'fullscreen') {
  27. }
  28. ?>
  29. </script>
  30. </head>
  31. <body dir="<?php echo api_get_text_direction(); ?>">
  32. </body></html>