|
|
|
@ -45,13 +45,13 @@ $sql="SELECT lk.name,lk.description,lk.date_log,lk.weight,lk.visible,lk.type,us. |
|
|
|
|
$result=api_sql_query($sql); |
|
|
|
|
echo '<table width="100%" border="0" >'; |
|
|
|
|
echo '<tr>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('GradebookNameLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('GradebookDescriptionLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('Date').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('Weight').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('GradebookVisibilityLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('ResourceType').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="Gradebook-table-header"><strong>'.get_lang('GradebookWhoChangedItLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('GradebookNameLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('GradebookDescriptionLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('Date').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('Weight').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('GradebookVisibilityLog').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('ResourceType').'</strong></td>'; |
|
|
|
|
echo '<td align="center" class="gradebook-table-header"><strong>'.get_lang('GradebookWhoChangedItLog').'</strong></td>'; |
|
|
|
|
echo '</tr>'; |
|
|
|
|
while($row=Database::fetch_array($result)){ |
|
|
|
|
|
|
|
|
@ -61,18 +61,18 @@ if ('0000-00-00 00:00:00'!=$row[2]) { |
|
|
|
|
$date_log='0000-00-00 00:00:00'; |
|
|
|
|
} |
|
|
|
|
echo '<tr>'; |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$row[0].'</td>'; |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$row[1].'</td>'; |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$date_log.'</td>'; |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$row[3].'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$row[0].'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$row[1].'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$date_log.'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$row[3].'</td>'; |
|
|
|
|
if (1 == $row[4]) { |
|
|
|
|
$visib=get_lang('GradebookVisible'); |
|
|
|
|
} else { |
|
|
|
|
$visib=get_lang('GradebookInvisible'); |
|
|
|
|
} |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$visib.'</td>'; |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$row[5].'</td>'; |
|
|
|
|
echo '<td align="center" Class="Gradebook-table-body">'.$row[6].'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$visib.'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$row[5].'</td>'; |
|
|
|
|
echo '<td align="center" Class="gradebook-table-body">'.$row[6].'</td>'; |
|
|
|
|
echo '</tr>'; |
|
|
|
|
} |
|
|
|
|
echo '</table>'; |
|
|
|
|