1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Optimized search form template for Bootstrap5 and Bootstrap3.

This commit is contained in:
Cameron
2022-03-07 11:39:09 -08:00
parent f008483a8d
commit 06de1752d4
2 changed files with 23 additions and 20 deletions

View File

@@ -6,9 +6,9 @@ if (!defined('e107_INIT')) { exit; }
$SEARCH_TEMPLATE['form']['start'] = '
<form class="form-horizontal" id="searchform" method="get" action="{SEARCH_FORM_URL}">
<div class="form-group">
<div class="form-group mb-3">
<label for="q" class="col-sm-3 control-label">{LAN=199}</label>
<div class="col-sm-9">{SEARCH_MAIN}
<div class="col-sm-8">{SEARCH_MAIN}
</div>
</div>
<div id="search-enhanced" {ENHANCED_DISPLAY}>
@@ -29,7 +29,7 @@ $SEARCH_TEMPLATE['form']['advanced'] = '
$SEARCH_TEMPLATE['form']['enhanced'] = '
<div id="{ENHANCED_DISPLAY_ID}" class="form-group">
<div id="{ENHANCED_DISPLAY_ID}" class="form-group mb-3">
<label for="{ENHANCED_DISPLAY_FIELDNAME}" class="col-sm-3 control-label">{ENHANCED_TEXT}</label>
<div class="col-sm-9">
{ENHANCED_FIELD}
@@ -48,9 +48,9 @@ $SEARCH_TEMPLATE['form']['type'] = '
*/
$SEARCH_TEMPLATE['form']['category'] = '
<div class="form-group">
<div class="form-group ">
<label for="t" class="col-sm-3 control-label">{LAN=SEARCH_19}</label>
<div class="col-sm-9">
<div class="col-sm-9 checkbox form-check-inline">
{SEARCH_MAIN_CHECKBOXES}{SEARCH_DROPDOWN}&nbsp;
</div>