Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 151... Línea 151...
151
        return $item->presentation == self::MODE_RESPONSETIME ?
151
        return $item->presentation == self::MODE_RESPONSETIME ?
152
                userdate($value->value) : $value->value;
152
                userdate($value->value) : $value->value;
153
    }
153
    }
Línea 154... Línea 154...
154
 
154
 
155
    public function print_analysed($item, $itemnr = '', $groupid = false, $courseid = false) {
155
    public function print_analysed($item, $itemnr = '', $groupid = false, $courseid = false) {
156
        echo "<table class=\"analysis itemtype_{$item->typ}\">";
156
        echo "<table class=\"analysis itemtype_{$item->typ} table-reboot\">";
157
        $analysed_item = $this->get_analysed($item, $groupid, $courseid);
157
        $analysed_item = $this->get_analysed($item, $groupid, $courseid);
158
        $data = $analysed_item->data;
158
        $data = $analysed_item->data;
159
        if (is_array($data)) {
159
        if (is_array($data)) {
160
            echo '<tr><th class="text-left">';
160
            echo '<tr><th class="text-start">';
161
            echo $itemnr . ' ';
161
            echo $itemnr . ' ';
162
            if (strval($item->label) !== '') {
162
            if (strval($item->label) !== '') {
163
                echo '('. format_string($item->label).') ';
163
                echo '('. format_string($item->label).') ';
164
            }
164
            }