lp_save.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. error_log('New LP - Loaded lp_save : '.$_SERVER['REQUEST_URI'].' from '.$_SERVER['HTTP_REFERER'], 0);
  16. ?>
  17. <!DOCTYPE html
  18. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  19. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo api_get_language_isocode(); ?>" lang="<?php echo api_get_language_isocode(); ?>">
  21. <head>
  22. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo api_get_system_encoding(); ?>" />
  23. <script language='javascript'>
  24. <?php
  25. /** @var learnpath $lp */
  26. $lp = Session::read('oLP');
  27. if ($lp->mode != 'fullscreen') {
  28. }
  29. ?>
  30. </script>
  31. </head>
  32. <body dir="<?php echo api_get_text_direction(); ?>">
  33. </body></html>