Proyectos de Subversion Moodle

Rev

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

Rev 115 Rev 116
Línea 39... Línea 39...
39
        if (empty($this->config)) {
39
        if (empty($this->config)) {
40
            $this->instance->defaultregion = 'side-pre';
40
            $this->instance->defaultregion = 'side-pre';
41
            $this->instance->region = 'side-pre';
41
            $this->instance->region = 'side-pre';
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 = 'Students feedback';
44
            $this->title = 'User comments';
45
        } else {
45
        } else {
46
            $this->title = get_string('pluginname', 'block_comments');
46
            $this->title = get_string('pluginname', 'block_comments');
Línea 47... Línea 47...
47
        }
47
        }
Línea 52... Línea 52...
52
    function applicable_formats()
52
    function applicable_formats()
53
    {
53
    {
54
        return array('all' => true);
54
        return array('all' => true);
55
    }
55
    }
Línea -... Línea 56...
-
 
56
 
-
 
57
    function has_config()
-
 
58
    {
-
 
59
        return true;
-
 
60
    }
56
 
61
 
57
    function instance_allow_multiple()
62
    function instance_allow_multiple()
58
    {
63
    {
59
        return false;
64
        return false;