testheaderpage.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /*
  3. DOKEOS - elearning and course management software
  4. For a full list of contributors, see documentation/credits.html
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License
  7. as published by the Free Software Foundation; either version 2
  8. of the License, or (at your option) any later version.
  9. See "documentation/licence.html" more details.
  10. Contact:
  11. Dokeos
  12. Rue des Palais 44 Paleizenstraat
  13. B-1030 Brussels - Belgium
  14. Tel. +32 (2) 211 34 56
  15. */
  16. /**
  17. * Code library for HotPotatoes integration.
  18. * @package dokeos.exercise
  19. * @author Istvan Mandak
  20. * @version $Id: testheaderpage.php 10789 2007-01-18 19:18:27Z pcool $
  21. */
  22. // name of the language file that needs to be included
  23. $language_file='exercice';
  24. include('../inc/global.inc.php');
  25. require_once($_configuration['root_sys'].'main/exercice/hotpotatoes.lib.php');
  26. $documentPath= api_get_path(SYS_COURSE_PATH).$_course['path']."/document";
  27. $title = GetQuizName($_GET['file'],$documentPath);
  28. if ($title =='')
  29. {
  30. $title = GetFileName($_GET['file']);
  31. }
  32. $nameTools = $title;
  33. $noPHP_SELF=true;
  34. $interbreadcrumb[]= array ("url"=>"./exercice.php", "name"=> get_lang('Exercices'));
  35. Display::display_header($nameTools,"Exercise");
  36. echo "<a name='TOP'></a>";
  37. ?>