course_info.conf.dist.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php // $Id $
  2. /**
  3. ==============================================================================
  4. * This file holds the configuration constants and variables
  5. * for the course info tool.
  6. *
  7. * @package dokeos.configuration
  8. ==============================================================================
  9. */
  10. /**
  11. * @todo check if these are used. If this is the case then they should be changed into dokeos config settings and stored in the database.
  12. *
  13. */
  14. $course_info_is_editable = true;
  15. //if (basename($_SERVER["SCRIPT_FILENAME"])==basename(__FILE__)) die("Va voir ailleurs");
  16. $showLinkToDeleteThisCourse = TRUE;
  17. $showLinkToExportThisCourse = TRUE;
  18. $showLinkToBackupThisCourse = TRUE;
  19. $showLinkToRecycleThisCourse = TRUE;
  20. $showLinkToRestoreCourse = TRUE;
  21. $showLinkToCopyThisCourse = TRUE;
  22. // If true, these fileds keep the previous content.
  23. $canBeEmpty["screenCode"] = FALSE;
  24. $canBeEmpty["course_title"] = FALSE;
  25. $canBeEmpty["course_category"] = TRUE;
  26. $canBeEmpty["description"] = TRUE;
  27. $canBeEmpty["visibility"] = FALSE;
  28. $canBeEmpty["titulary"] = FALSE;
  29. $canBeEmpty["course_language"]= FALSE;
  30. $canBeEmpty["department_name"] = TRUE;
  31. $canBeEmpty["department_url"] = TRUE;
  32. $showDiskQuota = TRUE;
  33. $showDiskUse = TRUE;
  34. $showLinkToChangeDiskQuota = TRUE;
  35. $showExpirationDate = TRUE;
  36. $showCreationDate = TRUE;
  37. $showLastEdit = TRUE;
  38. $showLastVisit = TRUE;
  39. $canReportExpirationDate = TRUE; // need to be true
  40. // if ScriptToReportExpirationDate
  41. // is not automaticly called
  42. $linkToChangeDiskQuota = "changeQuota.php";
  43. $urlScriptToReportExpirationDate = "postpone.php"; // external script to postpone the expiration of course.
  44. ?>