lp_save.php 1.0 KB

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. * @package chamilo.learnpath
  7. * @author Yannick Warnier <ywarnier@beeznest.org>
  8. */
  9. /**
  10. * Initialization is to be done by lp_controller.php.
  11. * Switching within the field to update
  12. */
  13. error_log('New LP - Loaded lp_save : '.$_SERVER['REQUEST_URI'].' from '.$_SERVER['HTTP_REFERER'], 0);
  14. ?>
  15. <!DOCTYPE html
  16. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  17. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  18. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo api_get_language_isocode(); ?>" lang="<?php echo api_get_language_isocode(); ?>">
  19. <head>
  20. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo api_get_system_encoding(); ?>" />
  21. <script language='javascript'>
  22. <?php
  23. /** @var learnpath $lp */
  24. $lp = Session::read('oLP');
  25. if ($lp->mode != 'fullscreen') {
  26. }
  27. ?>
  28. </script>
  29. </head>
  30. <body dir="<?php echo api_get_text_direction(); ?>">
  31. </body></html>