Browse Source

Minor - format code.

Julio Montoya 9 years ago
parent
commit
73560972ce
1 changed files with 16 additions and 12 deletions
  1. 16 12
      main/mySpace/myStudents.php

+ 16 - 12
main/mySpace/myStudents.php

@@ -115,11 +115,6 @@ if (isset($_GET['details'])) {
     $nameTools = get_lang("DetailsStudentInCourse");
 } else {
     if (!empty ($_GET['origin']) && $_GET['origin'] == 'resume_session') {
-        /*$interbreadcrumb[] = array (
-            'url' => '../admin/index.php',
-            "name" => get_lang('PlatformAdmin')
-        );*/
-
         $interbreadcrumb[] = array (
             'url' => "../session/session_list.php",
             "name" => get_lang('SessionList')
@@ -316,7 +311,6 @@ if (isset($message)) {
 
 $token = Security::get_token();
 if (!empty($student_id)) {
-
     // Actions bar
     echo '<div class="actions">';
     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> ';
     if (!empty ($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 {
         $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">
                 <tr>
                     <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 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>
+                    <th><?php
+                        echo get_lang('Time').' ';
+                        Display :: display_icon('info3.gif', get_lang('TotalTimeByCourse'), array ('align' => 'absmiddle', 'hspace' => '3px')); ?></th>
+                    <th><?php
+                        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
                     echo '<th>'.get_lang('Details').'</th>';
                     if (api_is_allowed_to_edit()) {