testheaderpage.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /*
  3. ==============================================================================
  4. Dokeos - elearning and course management software
  5. Copyright (c) 2004 Dokeos S.A.
  6. Copyright (c) 2003 Ghent University (UGent)
  7. Copyright (c) 2001 Universite catholique de Louvain (UCL)
  8. Copyright (c) Istvan Mandak
  9. For a full list of contributors, see "credits.txt".
  10. The full license can be read in "license.txt".
  11. This program is free software; you can redistribute it and/or
  12. modify it under the terms of the GNU General Public License
  13. as published by the Free Software Foundation; either version 2
  14. of the License, or (at your option) any later version.
  15. See the GNU General Public License for more details.
  16. Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
  17. ==============================================================================
  18. */
  19. /**
  20. ==============================================================================
  21. * Code library for HotPotatoes integration.
  22. *
  23. * @author Istvan Mandak
  24. * @package dokeos.exercise
  25. ==============================================================================
  26. */
  27. $langFile='exercice';
  28. include('../inc/global.inc.php');
  29. require_once($rootSys.'main/exercice/hotpotatoes.lib.php');
  30. $documentPath= api_get_path(SYS_COURSE_PATH).$_course['path']."/document";
  31. $title = GetQuizName($_GET['file'],$documentPath);
  32. if ($title =='')
  33. {
  34. $title = GetFileName($_GET['file']);
  35. }
  36. $nameTools = $title;
  37. $noPHP_SELF=true;
  38. $interbreadcrumb[]= array ("url"=>"./exercice.php", "name"=> get_lang('Exercices'));
  39. Display::display_header($nameTools,"Exercise");
  40. echo "<a name='TOP'></a>";
  41. ?>