Fixed footer when the search is empty

skala
Arthur Portugal 15 years ago
parent a228f6d428
commit 92c4148d80
  1. 3
      main/wiki/index.php

@ -1029,7 +1029,7 @@ if ($_GET['action']=='searchpages')
$form->addElement('style_submit_button', 'SubmitWikiSearch', get_lang('Search'), 'class="search"');
// setting the rules
$form->addRule('search_term', '<div class="required">'.get_lang('ThisFieldIsRequired'), 'required');
$form->addRule('search_term', '<span class="required">'.get_lang('ThisFieldIsRequired').'</span>', 'required');
$form->addRule('search_term', get_lang('TooShort'),'minlength',3);
if ($form->validate())
@ -2390,7 +2390,6 @@ echo "</div>"; // echo "<div id='mainwiki'>";
echo "</div>"; // echo "<div id='wikiwrapper'>";
/*
==============================================================================
FOOTER

Loading…
Cancel
Save