Proyectos de Subversion Moodle

Rev

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

Rev 112 Rev 114
Línea 54... Línea 54...
54
 
54
 
55
    function specialization()
55
    function specialization()
56
    {
56
    {
57
        global $CFG, $DB;
57
        global $CFG, $DB;
58
        if (empty($this->config)) {
58
        if (empty($this->config)) {
59
            $this->instance->defaultregion = 'side-pre';
59
            $this->instance->defaultregion = 'bellow-content';
60
            $this->instance->region = 'side-pre';
60
            $this->instance->region = 'bellow-content';
Línea 61... Línea 61...
61
            $DB->update_record('block_instances', $this->instance);
61
            $DB->update_record('block_instances', $this->instance);
62
 
62
 
63
            $this->title = 'Comments';
63
            $this->title = 'Comments';
64
        } else {
64
        } else {
65
            $this->title = get_string('pluginname', 'block_comments');
65
            $this->title = get_string('pluginname', 'comments');
Línea 66... Línea 66...
66
        }
66
        }
67
    }
67
    }