- old layout if fulltext search is disabled

This commit is contained in:
steinm 2011-03-14 16:36:54 +00:00
parent 5979c13d04
commit 1bb837cc46

View File

@ -68,7 +68,13 @@ function checkForm()
UI::contentHeading(getMLText("search")); UI::contentHeading(getMLText("search"));
UI::contentContainerStart(); UI::contentContainerStart();
?> ?>
<?php
if($settings->_enableFullSearch) {
?>
<div style="width: 35%; float: left;"> <div style="width: 35%; float: left;">
<?php
}
?>
<h2><?= getMLText('databasesearch') ?></h2> <h2><?= getMLText('databasesearch') ?></h2>
<form action="../op/op.Search.php" name="form1" onsubmit="return checkForm();"> <form action="../op/op.Search.php" name="form1" onsubmit="return checkForm();">
<table class="searchform"> <table class="searchform">
@ -175,10 +181,10 @@ echo "</td>\n</tr>\n";
</table> </table>
</form> </form>
</div>
<?php <?php
if($settings->_enableFullSearch) { if($settings->_enableFullSearch) {
?> ?>
</div>
<div style="width: 35%; float: left; margin-left: 20px;"> <div style="width: 35%; float: left; margin-left: 20px;">
<form action="../op/op.SearchFulltext.php" name="form2" onsubmit="return checkForm();"> <form action="../op/op.SearchFulltext.php" name="form2" onsubmit="return checkForm();">
<table class="searchform"> <table class="searchform">