Feature #2484 additional language use variables and hide css and HotPotatoes folders

skala
Juan Carlos Raña 15 years ago
parent ee1f9e4a9d
commit befdfafd0a
  1. 7
      main/document/document.php

@ -32,7 +32,7 @@
/* INIT SECTION */
// Language files that need to be included
$language_file = array('document', 'slideshow', 'gradebook');
$language_file = array('document', 'slideshow', 'gradebook', 'create_course');
require_once '../inc/global.inc.php';
$this_section = SECTION_COURSES;
@ -825,6 +825,11 @@ if (isset($docs_and_folders) && is_array($docs_and_folders)) {
$row[] = $id['path'];
}
// Hide HotPotatoes and css folders
if(basename($id['path'])=='HotPotatoes_files' || basename($id['path'])=='css'){
break;
}
// Show the owner of the file only in groups
$user_link = '';

Loading…
Cancel
Save