dirroot.'/mod/forum/lib.php'); class block_search_forums extends block_base { function init() { $this->title = get_string('blocktitle', 'block_search_forums'); $this->version = 2005030900; } 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'); //Accessibility: replaced with configurable text/'silent' character. check_theme_arrows(); // Theme config, $CFG->block_search_button = $THEME->rarrow .''.get_string('search').''; $button = (isset($CFG->block_search_button)) ? $CFG->block_search_button : get_string('go'); $this->content->text = '