fixed button search in forum - partial DT #5116

skala
Cristian Fasanando 15 years ago
parent e7fd18c27b
commit 543b410b42
  1. 3
      main/forum/forumfunction.inc.php

@ -3193,7 +3193,7 @@ function forum_search() {
$form->addElement('text', 'search_term', get_lang('SearchTerm'),'class="input_titles"');
$form->applyFilter('search_term', 'html_filter');
$form->addElement('static', 'search_information', '', get_lang('ForumSearchInformation')/*, $dissertation[$_GET['opleidingsonderdeelcode']]['code']*/);
$form->addElement('style_submit_button', 'SubmitForumSearch', get_lang('Search'), 'class="search"');
$form->addElement('style_submit_button', null, get_lang('Search'), 'class="search"');
// setting the rules
$form->addRule('search_term', '<div class="required">'.get_lang('ThisFieldIsRequired'), 'required');
@ -3204,7 +3204,6 @@ function forum_search() {
$values = $form->exportValues();
$form->setDefaults($values);
$form->display();
// display the search results
display_forum_search_results($values['search_term']);
} else {

Loading…
Cancel
Save