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:
@@ -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}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user