title = get_string('blocktitle', 'block_search_forums'); $this->version = 2007101509; } function get_content() { global $CFG, $THEME; if($this->content !== NULL) { return $this->content; } $this->content = new stdClass; $this->content->footer = ''; if (empty($this->instance)) { $this->content->text = ''; return $this->content; } $advancedsearch = get_string('advancedsearch', 'block_search_forums'); $search = get_string('search'); //Accessibility: replaced with configurable text/'silent' character. // Theme config, $CFG->block_search_button = get_arrow_right() .''.get_string('search').''; $button = (isset($CFG->block_search_button)) ? $CFG->block_search_button : get_string('go'); $this->content->text = '