Minor - format code.

1.10.x
Julio Montoya 10 years ago
parent e297d7cb62
commit 73560972ce
  1. 28
      main/mySpace/myStudents.php

@ -115,11 +115,6 @@ if (isset($_GET['details'])) {
$nameTools = get_lang("DetailsStudentInCourse"); $nameTools = get_lang("DetailsStudentInCourse");
} else { } else {
if (!empty ($_GET['origin']) && $_GET['origin'] == 'resume_session') { if (!empty ($_GET['origin']) && $_GET['origin'] == 'resume_session') {
/*$interbreadcrumb[] = array (
'url' => '../admin/index.php',
"name" => get_lang('PlatformAdmin')
);*/
$interbreadcrumb[] = array ( $interbreadcrumb[] = array (
'url' => "../session/session_list.php", 'url' => "../session/session_list.php",
"name" => get_lang('SessionList') "name" => get_lang('SessionList')
@ -316,7 +311,6 @@ if (isset($message)) {
$token = Security::get_token(); $token = Security::get_token();
if (!empty($student_id)) { if (!empty($student_id)) {
// Actions bar // Actions bar
echo '<div class="actions">'; echo '<div class="actions">';
echo '<a href="javascript: window.back();" ">'. echo '<a href="javascript: window.back();" ">'.
@ -328,7 +322,7 @@ if (!empty($student_id)) {
Display::return_icon('export_csv.png', get_lang('ExportAsCSV'),'',ICON_SIZE_MEDIUM).'</a> '; Display::return_icon('export_csv.png', get_lang('ExportAsCSV'),'',ICON_SIZE_MEDIUM).'</a> ';
if (!empty ($user_info['email'])) { if (!empty ($user_info['email'])) {
$send_mail = '<a href="mailto:'.$user_info['email'].'">'. $send_mail = '<a href="mailto:'.$user_info['email'].'">'.
Display :: return_icon('mail_send.png', get_lang('SendMail'),'',ICON_SIZE_MEDIUM).'</a>'; Display :: return_icon('mail_send.png', get_lang('SendMail'),'',ICON_SIZE_MEDIUM).'</a>';
} else { } else {
$send_mail = Display :: return_icon('mail_send_na.png', get_lang('SendMail'),'',ICON_SIZE_MEDIUM); $send_mail = Display :: return_icon('mail_send_na.png', get_lang('SendMail'),'',ICON_SIZE_MEDIUM);
} }
@ -762,11 +756,21 @@ if (!empty($student_id)) {
<table class="data_table"> <table class="data_table">
<tr> <tr>
<th><?php echo get_lang('Learnpaths');?></th> <th><?php echo get_lang('Learnpaths');?></th>
<th><?php echo get_lang('Time').' '; Display :: display_icon('info3.gif', get_lang('TotalTimeByCourse'), array ('align' => 'absmiddle', 'hspace' => '3px')); ?></th> <th><?php
<th><?php echo get_lang('AverageScore').' '; Display :: display_icon('info3.gif', get_lang('AverageIsCalculatedBasedInAllAttempts'), array ( 'align' => 'absmiddle', 'hspace' => '3px')); ?></th> echo get_lang('Time').' ';
<th><?php echo get_lang('LatestAttemptAverageScore').' '; Display :: display_icon('info3.gif', get_lang('AverageIsCalculatedBasedInTheLatestAttempts'), array ( 'align' => 'absmiddle', 'hspace' => '3px')); ?></th> Display :: display_icon('info3.gif', get_lang('TotalTimeByCourse'), array ('align' => 'absmiddle', 'hspace' => '3px')); ?></th>
<th><?php echo get_lang('Progress').' '; Display :: display_icon('info3.gif', get_lang('LPProgressScore'), array ('align' => 'absmiddle','hspace' => '3px')); ?></th> <th><?php
<th><?php echo get_lang('LastConnexion').' '; Display :: display_icon('info3.gif', get_lang('LastTimeTheCourseWasUsed'), array ('align' => 'absmiddle','hspace' => '3px')); ?></th> echo get_lang('AverageScore').' ';
Display :: display_icon('info3.gif', get_lang('AverageIsCalculatedBasedInAllAttempts'), array ( 'align' => 'absmiddle', 'hspace' => '3px')); ?></th>
<th><?php
echo get_lang('LatestAttemptAverageScore').' ';
Display :: display_icon('info3.gif', get_lang('AverageIsCalculatedBasedInTheLatestAttempts'), array ( 'align' => 'absmiddle', 'hspace' => '3px')); ?></th>
<th><?php
echo get_lang('Progress').' ';
Display :: display_icon('info3.gif', get_lang('LPProgressScore'), array ('align' => 'absmiddle','hspace' => '3px')); ?></th>
<th><?php
echo get_lang('LastConnexion').' ';
Display :: display_icon('info3.gif', get_lang('LastTimeTheCourseWasUsed'), array ('align' => 'absmiddle','hspace' => '3px')); ?></th>
<?php <?php
echo '<th>'.get_lang('Details').'</th>'; echo '<th>'.get_lang('Details').'</th>';
if (api_is_allowed_to_edit()) { if (api_is_allowed_to_edit()) {

Loading…
Cancel
Save