|
@@ -1,4 +1,25 @@
|
|
|
<?php
|
|
|
+/*
|
|
|
+==============================================================================
|
|
|
+ Dokeos - elearning and course management software
|
|
|
+
|
|
|
+ Copyright (c) 2008 Dokeos SPRL
|
|
|
+
|
|
|
+ For a full list of contributors, see "credits.txt".
|
|
|
+ The full license can be read in "license.txt".
|
|
|
+
|
|
|
+ This program is free software; you can redistribute it and/or
|
|
|
+ modify it under the terms of the GNU General Public License
|
|
|
+ as published by the Free Software Foundation; either version 2
|
|
|
+ of the License, or (at your option) any later version.
|
|
|
+
|
|
|
+ See the GNU General Public License for more details.
|
|
|
+
|
|
|
+ Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
|
|
|
+ Mail: info@dokeos.com
|
|
|
+==============================================================================
|
|
|
+*/
|
|
|
+
|
|
|
|
|
|
include_once (dirname(__FILE__).'/../../../inc/global.inc.php');
|
|
|
include_once (dirname(__FILE__).'/../be.inc.php');
|
|
@@ -34,13 +55,15 @@ class GradebookTable extends SortableTable
|
|
|
$this->set_header($column++, '', false);
|
|
|
$this->set_header($column++, get_lang('Type'));
|
|
|
$this->set_header($column++, get_lang('Name'));
|
|
|
- $this->set_header($column++, get_lang('Description'));
|
|
|
+ $this->set_header($column++, get_lang('Description'));
|
|
|
$this->set_header($column++, get_lang('Weight'));
|
|
|
- $this->set_header($column++, get_lang('Date'));
|
|
|
+ $this->set_header($column++, get_lang('Date'),true, 'width="80"');
|
|
|
+
|
|
|
//admins get an edit column
|
|
|
if (api_is_allowed_to_create_course())
|
|
|
{
|
|
|
- $this->set_header($column++, get_lang('Modify'), false);
|
|
|
+
|
|
|
+ $this->set_header($column++, get_lang('Modify'), false, 'width="80"');
|
|
|
//actions on multiple selected documents
|
|
|
$this->set_form_actions(array (
|
|
|
'delete' => get_lang('DeleteSelected'),
|