title = get_string('mymoodle','my'); $this->version = 2007040400; } function get_content() { global $CFG; if ($this->content !== NULL) { return $this->content; } if(empty($CFG->loginhttps)) { $securewwwroot = $CFG->wwwroot; } else { $securewwwroot = str_replace('http:','https:',$CFG->wwwroot); } $this->content = new stdClass; $this->content->text = ''.get_string('mymoodle','my').''; $this->content->footer = ''; return $this->content; } function hide_header() { //Default, false--> the header is shown return true; } function applicable_formats() { return array('all' => true); } } ?>