Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 261... Línea 261...
261
        self::$comment_area = optional_param('comment_area',    '', PARAM_AREA);
261
        self::$comment_area = optional_param('comment_area',    '', PARAM_AREA);
Línea 262... Línea 262...
262
 
262
 
263
        $page->requires->strings_for_js(array(
263
        $page->requires->strings_for_js(array(
264
                'addcomment',
264
                'addcomment',
265
                'comments',
-
 
266
                'commentscount',
265
                'comments',
267
                'commentsrequirelogin',
266
                'commentsrequirelogin',
268
                'deletecommentbyon'
267
                'deletecommentbyon'
269
            ),
268
            ),
270
            'moodle'
269
            'moodle'
Línea 452... Línea 451...
452
            if (!$this->notoggle) {
451
            if (!$this->notoggle) {
453
                // If toggling is enabled (notoggle=false) then print the controls to toggle
452
                // If toggling is enabled (notoggle=false) then print the controls to toggle
454
                // comments open and closed
453
                // comments open and closed
455
                $countstring = '';
454
                $countstring = '';
456
                if ($this->displaytotalcount) {
455
                if ($this->displaytotalcount) {
457
                    $countstring = '('.$this->count().')';
456
                    $countstring = '(' . html_writer::span($this->count(), 'comment-link-count') . ')';
458
                }
457
                }
459
                $collapsedimage= 't/collapsed';
458
                $collapsedimage= 't/collapsed';
460
                if (right_to_left()) {
459
                if (right_to_left()) {
461
                    $collapsedimage= 't/collapsed_rtl';
460
                    $collapsedimage= 't/collapsed_rtl';
462
                } else {
461
                } else {