course_info.conf.dist.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * This file holds the configuration constants and variables
  4. * for the course info tool.
  5. *
  6. * @package chamilo.configuration
  7. */
  8. $course_info_is_editable = true;
  9. /*
  10. //if (basename($_SERVER['SCRIPT_FILENAME']) == basename(__FILE__)) die('Va voir ailleurs');
  11. $showLinkToExportThisCourse = true;
  12. $showLinkToBackupThisCourse = true;
  13. $showLinkToRecycleThisCourse = true;
  14. $showLinkToRestoreCourse = true;
  15. $showLinkToCopyThisCourse = true;
  16. */
  17. // If true, these fileds keep the previous content.
  18. /*
  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. */
  29. $showDiskQuota = true;
  30. //$showDiskUse = true;
  31. //$showLinkToChangeDiskQuota = true;
  32. $showExpirationDate = true;
  33. $showCreationDate = true;
  34. $showLastEdit = true;
  35. $showLastVisit = true;
  36. $canReportExpirationDate = true; // Needs to be true
  37. // if ScriptToReportExpirationDate
  38. // is not automaticly called
  39. //$linkToChangeDiskQuota = 'changeQuota.php';
  40. $urlScriptToReportExpirationDate = 'postpone.php'; // external script to postpone the expiration of course.