From 91fe6e66daa3b1c5c649eaaec32e2b56ed82c5d2 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 30 Apr 2005 17:29:47 +0000 Subject: [PATCH] Added advanced search link (might need some layout work)... --- blocks/search_forums/block_search_forums.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/blocks/search_forums/block_search_forums.php b/blocks/search_forums/block_search_forums.php index 12aa22ec826..d8c71c1d8ca 100644 --- a/blocks/search_forums/block_search_forums.php +++ b/blocks/search_forums/block_search_forums.php @@ -2,7 +2,7 @@ class block_search_forums extends block_base { function init() { - $this->title = get_string('search', 'forum'); + $this->title = get_string('searchforums', 'forum'); $this->version = 2005030900; } @@ -21,12 +21,15 @@ class block_search_forums extends block_base { return $this->content; } + $advancedsearch = get_string('advancedsearch', 'forum'); + $advancedsearch = 'Advanced search'; $this->content->text = '
'; $this->content->text .= '
'; - $this->content->text .= ' '; - $this->content->text .= ''; - $this->content->text .= helpbutton('search', get_string('search'), 'moodle', true, false, '', true); - $this->content->text .= ''; + $this->content->text .= ''; // course + $this->content->text .= ''; + $this->content->text .= '
'; + $this->content->text .= ''.$advancedsearch.''; + $this->content->text .= helpbutton('search', $advancedsearch, 'moodle', true, false, '', true); $this->content->text .= '
'; return $this->content;