course_info.conf.dist.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /*
  3. ==============================================================================
  4. Dokeos - elearning and course management software
  5. Copyright (c) 2008 Dokeos SPRL
  6. For a full list of contributors, see "credits.txt".
  7. The full license can be read in "license.txt".
  8. This program is free software; you can redistribute it and/or
  9. modify it under the terms of the GNU General Public License
  10. as published by the Free Software Foundation; either version 2
  11. of the License, or (at your option) any later version.
  12. See the GNU General Public License for more details.
  13. Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
  14. Mail: info@dokeos.com
  15. ==============================================================================
  16. */
  17. /**
  18. ==============================================================================
  19. * This file holds the configuration constants and variables
  20. * for the course info tool.
  21. *
  22. * @package dokeos.configuration
  23. ==============================================================================
  24. */
  25. $course_info_is_editable = true;
  26. /*
  27. //if (basename($_SERVER["SCRIPT_FILENAME"])==basename(__FILE__)) die("Va voir ailleurs");
  28. $showLinkToExportThisCourse = TRUE;
  29. $showLinkToBackupThisCourse = TRUE;
  30. $showLinkToRecycleThisCourse = TRUE;
  31. $showLinkToRestoreCourse = TRUE;
  32. $showLinkToCopyThisCourse = TRUE;
  33. */
  34. // If true, these fileds keep the previous content.
  35. /*
  36. $canBeEmpty["screenCode"] = FALSE;
  37. $canBeEmpty["course_title"] = FALSE;
  38. $canBeEmpty["course_category"] = TRUE;
  39. $canBeEmpty["description"] = TRUE;
  40. $canBeEmpty["visibility"] = FALSE;
  41. $canBeEmpty["titulary"] = FALSE;
  42. $canBeEmpty["course_language"]= FALSE;
  43. $canBeEmpty["department_name"] = TRUE;
  44. $canBeEmpty["department_url"] = TRUE;
  45. */
  46. $showDiskQuota = TRUE;
  47. //$showDiskUse = TRUE;
  48. //$showLinkToChangeDiskQuota = TRUE;
  49. $showExpirationDate = TRUE;
  50. $showCreationDate = TRUE;
  51. $showLastEdit = TRUE;
  52. $showLastVisit = TRUE;
  53. $canReportExpirationDate = TRUE; // need to be true
  54. // if ScriptToReportExpirationDate
  55. // is not automaticly called
  56. //$linkToChangeDiskQuota = "changeQuota.php";
  57. $urlScriptToReportExpirationDate = "postpone.php"; // external script to postpone the expiration of course.
  58. ?>