Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 23... Línea 23...
23
 */
23
 */
Línea 24... Línea 24...
24
 
24
 
25
require_once("../../config.php");
25
require_once("../../config.php");
Línea 26... Línea -...
26
require_once("lib.php");
-
 
27
 
-
 
28
$current_tab = 'analysis';
26
require_once("lib.php");
29
 
27
 
30
$id = required_param('id', PARAM_INT);  //the POST dominated the GET
28
$id = required_param('id', PARAM_INT);  //the POST dominated the GET
31
$courseitemfilter = optional_param('courseitemfilter', '0', PARAM_INT);
29
$courseitemfilter = optional_param('courseitemfilter', '0', PARAM_INT);
Línea 116... Línea 114...
116
            $coursecontext = context_course::instance($c->course_id);
114
            $coursecontext = context_course::instance($c->course_id);
117
            $shortname = format_string($c->shortname, true, array('context' => $coursecontext));
115
            $shortname = format_string($c->shortname, true, array('context' => $coursecontext));
Línea 118... Línea 116...
118
 
116
 
119
            echo '<tr>';
117
            echo '<tr>';
120
            echo '<td>'.$shortname.'</td>';
118
            echo '<td>'.$shortname.'</td>';
121
            echo '<td class="text-right">';
119
            echo '<td class="text-end">';
122
            echo format_float(($c->sumvalue / $c->countvalue), 2);
120
            echo format_float(($c->sumvalue / $c->countvalue), 2);
123
            echo '</td>';
121
            echo '</td>';
124
            echo '</tr>';
122
            echo '</tr>';
125
        }
123
        }