course_info.conf.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. $course_info_is_editable = true;
  11. //if (basename($_SERVER["SCRIPT_FILENAME"])==basename(__FILE__)) die("Va voir ailleurs");
  12. $showLinkToDeleteThisCourse = TRUE;
  13. $showLinkToExportThisCourse = TRUE;
  14. $showLinkToBackupThisCourse = TRUE;
  15. $showLinkToRecycleThisCourse = TRUE;
  16. $showLinkToRestoreCourse = TRUE;
  17. $showLinkToCopyThisCourse = TRUE;
  18. // If true, these fileds keep the previous content.
  19. $canBeEmpty["screenCode"] = FALSE;
  20. $canBeEmpty["course_title"] = FALSE;
  21. $canBeEmpty["course_category"] = TRUE;
  22. $canBeEmpty["description"] = TRUE;
  23. $canBeEmpty["visibility"] = FALSE;
  24. $canBeEmpty["titulary"] = FALSE;
  25. $canBeEmpty["course_language"]= FALSE;
  26. $canBeEmpty["department_name"] = TRUE;
  27. $canBeEmpty["department_url"] = TRUE;
  28. $showDiskQuota = TRUE;
  29. $showDiskUse = TRUE;
  30. $showLinkToChangeDiskQuota = TRUE;
  31. $showExpirationDate = TRUE;
  32. $showCreationDate = TRUE;
  33. $showLastEdit = TRUE;
  34. $showLastVisit = TRUE;
  35. $canReportExpirationDate = TRUE; // need to be true
  36. // if ScriptToReportExpirationDate
  37. // is not automaticly called
  38. $linkToChangeDiskQuota = "changeQuota.php";
  39. $urlScriptToReportExpirationDate = "postpone.php"; // external script to postpone the expiration of course.
  40. ?>