1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00
php-e107/e107_core/templates/search_template.php
2021-03-03 12:06:24 -08:00

74 lines
2.0 KiB
PHP

<?php
if (!defined('e107_INIT')) { exit; }
// Bootstrap
$SEARCH_TEMPLATE['form']['start'] = '
<form class="form-horizontal" role="form" id="searchform" method="get" action="{SEARCH_FORM_URL}">
<div class="form-group">
<label for="inputEmail3" class="col-sm-3 control-label">{LAN=199}</label>
<div class="col-sm-9">{SEARCH_MAIN}
</div>
</div>
<div id="search-enhanced" {ENHANCED_DISPLAY}>
{SEARCH_ENHANCED}
</div>
';
$SEARCH_TEMPLATE['form']['advanced'] = '
<div class="form-group">
<label for="inputPassword3" class="col-sm-3 control-label">{SEARCH_ADV_A}</label>
<div class="col-sm-9">
{SEARCH_ADV_B}
</div>
</div>';
$SEARCH_TEMPLATE['form']['enhanced'] = '
<div id="{ENHANCED_DISPLAY_ID}" class="form-group">
<label for="inputPassword3" class="col-sm-3 control-label">{ENHANCED_TEXT}</label>
<div class="col-sm-9">
{ENHANCED_FIELD}
</div>
</div>';
/*
$SEARCH_TEMPLATE['form']['type'] = '
<div class="form-group">
<label for="inputPassword3" class="col-sm-3 control-label">{LAN=SEARCH_75}</label>
<div class="col-sm-9">
{SEARCH_TYPE_SEL}
</div>
</div>';
*/
$SEARCH_TEMPLATE['form']['category'] = '
<div class="form-group">
<label for="inputPassword3" class="col-sm-3 control-label">{LAN=SEARCH_19}</label>
<div class="col-sm-9">
{SEARCH_MAIN_CHECKBOXES}{SEARCH_DROPDOWN}&nbsp;
</div>
</div>
{SEARCH_ADVANCED}';
$SEARCH_TEMPLATE['form']['end'] = "
</form>
";
$SEARCH_TEMPLATE['form']['advanced-combo'] = '<div>{SEARCH_ADV_TEXT}</div>';
$SEARCH_TEMPLATE['form']['message'] = '<div>{SEARCH_MESSAGE}</div>';
$SEARCH_TEMPLATE['shortcode'] = "<!-- start-search-shortcode-template -->
{SEARCH_INPUT}
{SEARCH_BUTTON}
<!-- end-search-shortcode-template -->";