Proyectos de Subversion Moodle

Rev

Rev 117 | Rev 121 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 117 Rev 118
Línea 39... Línea 39...
39
        if (empty($this->config)) {
39
        if (empty($this->config)) {
40
            $this->instance->defaultregion = 'below-content';
40
            $this->instance->defaultregion = 'below-content';
41
            $this->instance->region = 'below-content';
41
            $this->instance->region = 'below-content';
42
            $DB->update_record('block_instances', $this->instance);
42
            $DB->update_record('block_instances', $this->instance);
Línea 43... Línea 43...
43
 
43
 
44
            $this->title = 'User comments';
44
            $this->title = 'Students comments';
45
        } else {
45
        } else {
46
            $this->title = get_string('pluginname', 'block_comments');
46
            $this->title = get_string('pluginname', 'block_comments');
47
        }
-
 
48
 
-
 
49
        comment::init();
47
        }
Línea 50... Línea 48...
50
    }
48
    }
51
 
49
 
52
    function applicable_formats()
50
    function applicable_formats()