Proyectos de Subversion Moodle

Rev

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

Rev 246 Rev 247
Línea 48... Línea 48...
48
 
48
 
49
        if (!$this->user || !core_user::is_real_user($this->userID)) {
49
        if (!$this->user || !core_user::is_real_user($this->userID)) {
50
            throw new moodle_exception('invaliduser', 'error');
50
            throw new moodle_exception('invaliduser', 'error');
Línea 51... Línea 51...
51
        }
51
        }
52
 
52
 
53
        $PAGE->set_context(context_user::instance($this->userID));
53
        //$PAGE->set_context(context_user::instance($this->userID));
54
        //$PAGE->set_pagelayout('mydashboard');
54
        //$PAGE->set_pagelayout('mydashboard');
Línea 55... Línea 55...
55
        $PAGE->set_title("{$SITE->shortname}: " . $this->title);
55
        //$PAGE->set_title("{$SITE->shortname}: " . $this->title);
56
    }
56
    }
57
 
57