Browse Source

Minor - adding lang, disabling work comments.

Julio Montoya 11 years ago
parent
commit
98fd868576
2 changed files with 2 additions and 2 deletions
  1. 1 1
      main/work/work.lib.php
  2. 1 1
      main/work/work.php

+ 1 - 1
main/work/work.lib.php

@@ -27,7 +27,7 @@ if (isset($_configuration['add_document_to_work'])) {
     define('ADD_DOCUMENT_TO_WORK', false);
 }
 
-$_configuration['work_user_comments'] = true;
+//$_configuration['work_user_comments'] = false;
 if (isset($_configuration['work_user_comments'])) {
     define('ALLOW_USER_COMMENTS', $_configuration['work_user_comments']);
 } else {

+ 1 - 1
main/work/work.php

@@ -8,7 +8,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook', 'tracking');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;