590 lines
46 KiB
Twig
590 lines
46 KiB
Twig
{% include "headitem.html.twig" with {title: "D3TBCLEXTSEARCH_SETTINGS_NAVIGATION"|translate} %}
|
|
|
|
<style type="text/css">
|
|
.ext_edittext {
|
|
padding: 2px;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
{% if updatelist == 1 %}
|
|
UpdateList('{{ oxid }}');
|
|
{% endif %}
|
|
|
|
function UpdateList( sID)
|
|
{
|
|
let oSearch = parent.list.document.getElementById("search");
|
|
oSearch.oxid.value=sID;
|
|
oSearch.fnc.value='';
|
|
oSearch.submit();
|
|
}
|
|
|
|
function EditThis( sID)
|
|
{
|
|
let oTransfer = document.getElementById("transfer");
|
|
oTransfer.oxid.value=sID;
|
|
oTransfer.cl.value='';
|
|
oTransfer.submit();
|
|
|
|
let oSearch = parent.list.document.getElementById("search");
|
|
oSearch.actedit.value = 0;
|
|
oSearch.oxid.value=sID;
|
|
oSearch.submit();
|
|
}
|
|
|
|
function _groupExp(el) {
|
|
let _cur = el.parentNode;
|
|
|
|
if (_cur.className === "exp") _cur.className = "";
|
|
else _cur.className = "exp";
|
|
}
|
|
-->
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
<!--
|
|
fieldset {
|
|
border: 1px inset black;
|
|
background-color: #F0F0F0;
|
|
}
|
|
|
|
legend {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.groupExp dl dt {
|
|
font-weight: normal;
|
|
width: 55%;
|
|
padding-left: 10px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
label.disabled {
|
|
color: grey;
|
|
}
|
|
|
|
.edittext select.editinput {
|
|
width: auto;
|
|
}
|
|
-->
|
|
</style>
|
|
|
|
{% if readonly %}
|
|
{% set readonly = "readonly disabled" %}
|
|
{% else %}
|
|
{% set readonly = "" %}
|
|
{% endif %}
|
|
|
|
<form name="transfer" id="transfer" action="{{ oViewConf.getSelfLink()|raw}}" method="post">
|
|
{{ oViewConf.getHiddenSid()|raw }}
|
|
<input type="hidden" name="oxid" value="{{ oxid }}">
|
|
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName() }}">
|
|
<input type="hidden" name="actshop" value="{{ actshopobj.getId() }}">
|
|
<input type="hidden" name="editlanguage" value="{{ editlanguage }}">
|
|
</form>
|
|
|
|
<form name="myedit" id="myedit" action="{{ oViewConf.getSelfLink()|raw}}" method="post">
|
|
{{ oViewConf.getHiddenSid()|raw }}
|
|
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName() }}">
|
|
<input type="hidden" name="fnc" value="save">
|
|
<input type="hidden" name="oxid" value="{{ oxid }}">
|
|
<input type="hidden" name="editval[oxid]" value="{{ oxid }}">
|
|
|
|
{% if oView.getValueStatus() == 'error' %}
|
|
<table style="border: 0; width: 98%;">
|
|
<tr>
|
|
<td style="vertical-align: top;" class="edittext">
|
|
<b>{{ translate({ ident: "D3_EXTSEARCH_MAIN_NOCONFIG_DESC" }) }}</b><br>
|
|
<input type="submit" value="{{ translate({ ident: "D3_EXTSEARCH_MAIN_NOCONFIG_BTN" }) }}" {{ readonly }}>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{% else %}
|
|
<table style="border: 0; width: 98%;">
|
|
<tr>
|
|
<td style="vertical-align: top;" class="edittext">
|
|
{% block d3_cfg_extsearch_navigation__form %}
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__main %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_MAINSETTINGS" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="emptysearch">{{ translate({ ident: "D3_EXTSEARCH_NAVI_EMPTYSEARCH" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_emptySearch]" value="0">
|
|
<input id="emptysearch" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_emptySearch]" value='1' {% if edit.getEditValue('blExtSearch_emptySearch') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_EMPTYSEARCH_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_EMPTYSEARCH_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>
|
|
<label for="showHighlightedText">{{ translate({ ident: "D3_EXTSEARCH_NAVI_HIGHLIGHT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showHighlightedText]" value="0">
|
|
<input id="showHighlightedText" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showHighlightedText]" value='1' {% if edit.getEditValue('blExtSearch_showHighlightedText') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_HIGHLIGHT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_HIGHLIGHT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>
|
|
<label for="dontShowFilterArticleCount">{{ translate({ ident: "D3_EXTSEARCH_NAVI_DONTSHOWFILTERARTICLECOUNT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_dontShowFilterArticleCount]" value="0">
|
|
<input id="dontShowFilterArticleCount" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_dontShowFilterArticleCount]" value='1' {% if edit.getEditValue('blExtSearch_dontShowFilterArticleCount') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_DONTSHOWFILTERARTICLECOUNT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_DONTSHOWFILTERARTICLECOUNT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
|
|
{% if oView.d3UseAlistFilters() %}
|
|
{% set blActionRestriction = "" %}
|
|
{% else %}
|
|
{% set blActionRestriction = "readonly disabled" %}
|
|
{% set blRestricted = true %}
|
|
{% endif %}
|
|
<dl>
|
|
<dt>
|
|
<label for="alistfilter" class="{{ blActionRestriction }}">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ALISTFILTER" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_useAListFilter]" value="0" {{ blActionRestriction }}>
|
|
<input id="alistfilter" class="edittext ext_edittext" type="checkbox" {{ blActionRestriction }} name="value[blExtSearch_useAListFilter]" value='1' {% if not blRestricted and edit.getEditValue('blExtSearch_useAListFilter') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ALISTFILTER_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ALISTFILTER_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__catfilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATFILTER" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="showCatList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATLIST" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showCatList]" value="0">
|
|
<input id="showCatList" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showCatList]" value='1' {% if edit.getEditValue('blExtSearch_showCatList') == 1 %}checked{% endif %} onclick='{% include "@d3_extsearch/admin/d3_togglegroup_extsearch.html.twig" with {sToggleOptionName: "blExtSearch_showCatList", sToggleOptionClass: ".category_options"} %}' {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_CATLIST_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_CATLIST_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="category_options">
|
|
<dt>
|
|
<label for="orderCatList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATLIST_SORT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="orderCatList" class="editinput" name="value[sExtSearch_orderCatList]" size="1" {{ readonly }}>
|
|
<option value="counter"{% if edit.getEditValue('sExtSearch_orderCatList') == 'counter' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATLIST_SORT_COUNT" }) }}</option>
|
|
<option value="oxorder"{% if edit.getEditValue('sExtSearch_orderCatList') == 'oxorder' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATLIST_SORT_DATA" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_CATLIST_SORT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_CATLIST_SORT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="category_options">
|
|
<dt>
|
|
<label for="displaytypeCatList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="displaytypeCatList" class="editinput" name="value[sExtSearch_displaytypeCatList]" size="1" {{ readonly }}>
|
|
<option value="combined"{% if edit.getEditValue('sExtSearch_displaytypeCatList') == 'combined' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_COMBINED" }) }}</option>
|
|
<option value="single"{% if edit.getEditValue('sExtSearch_displaytypeCatList') == 'single' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_SINGLE" }) }}</option>
|
|
<option value="multi"{% if edit.getEditValue('sExtSearch_displaytypeCatList') == 'multi' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_MULTI" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="category_options">
|
|
<dt>
|
|
<label for="mainCategoryOnly">{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATLISTMAINCATEGORIESONLY" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_catListMainCategoryOnly]" value="0">
|
|
<input id="mainCategoryOnly" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_catListMainCategoryOnly]" value='1' {% if edit.getEditValue('blExtSearch_catListMainCategoryOnly') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_CATLISTMAINCATEGORIESONLY_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_CATLISTMAINCATEGORIESONLY_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl>
|
|
<dd style="padding-left: 10px">{{ translate({ ident: "D3_EXTSEARCH_NAVI_CATLIST_MORE_DESC" }) }}</dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__vendorfilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_VENDORFILTER" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="showVendorList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_VENDORLIST" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showVendorList]" value="0">
|
|
<input id="showVendorList" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showVendorList]" value='1' {% if edit.getEditValue('blExtSearch_showVendorList') == 1 %}checked{% endif %} onclick='{% include "@d3_extsearch/admin/d3_togglegroup_extsearch.html.twig" with {sToggleOptionName: "blExtSearch_showVendorList", sToggleOptionClass: ".vendor_options"} %}' {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_VENDORLIST_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_VENDORLIST_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="vendor_options">
|
|
<dt>
|
|
<label for="orderVendorList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_VENDORLIST_SORT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="orderVendorList" class="editinput" name="value[sExtSearch_orderVendorList]" size="1" {{ readonly }}>
|
|
<option value="counter"{% if edit.getEditValue('sExtSearch_orderVendorList') == 'counter' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_VENDORLIST_SORT_COUNT" }) }}</option>
|
|
<option value="oxtitle"{% if edit.getEditValue('sExtSearch_orderVendorList') == 'oxtitle' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_VENDORLIST_SORT_ALPHA" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_VENDORLIST_SORT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_VENDORLIST_SORT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="vendor_options">
|
|
<dt>
|
|
<label for="displaytypeVendorList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="displaytypeVendorList" class="editinput" name="value[sExtSearch_displaytypeVendorList]" size="1" {{ readonly }}>
|
|
<option value="combined"{% if edit.getEditValue('sExtSearch_displaytypeVendorList') == 'combined' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_COMBINED" }) }}</option>
|
|
<option value="single"{% if edit.getEditValue('sExtSearch_displaytypeVendorList') == 'single' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_SINGLE" }) }}</option>
|
|
<option value="multi"{% if edit.getEditValue('sExtSearch_displaytypeVendorList') == 'multi' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_MULTI" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__manufacturerfilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_MANUFACTURERFILTER" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="showManufacturerList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_MANUFACTURERLIST" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showManufacturerList]" value="0">
|
|
<input id="showManufacturerList" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showManufacturerList]" value='1' {% if edit.getEditValue('blExtSearch_showManufacturerList') == 1 %}checked{% endif %} onclick='{% include "@d3_extsearch/admin/d3_togglegroup_extsearch.html.twig" with {sToggleOptionName: "blExtSearch_showManufacturerList", sToggleOptionClass: ".manufacturer_options"} %}' {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_MANUFACTURERLIST_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_MANUFACTURERLIST_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="manufacturer_options">
|
|
<dt>
|
|
<label for="orderManufacturerList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="orderManufacturerList" class="editinput" name="value[sExtSearch_orderManufacturerList]" size="1" {{ readonly }}>
|
|
<option value="counter"{% if edit.getEditValue('sExtSearch_orderManufacturerList') == 'counter' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT_COUNT" }) }}</option>
|
|
<option value="oxtitle"{% if edit.getEditValue('sExtSearch_orderManufacturerList') == 'oxtitle' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT_ALPHA" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="manufacturer_options">
|
|
<dt>
|
|
<label for="displaytypeManufacturerList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="displaytypeManufacturerList" class="editinput" name="value[sExtSearch_displaytypeManufacturerList]" size="1" {{ readonly }}>
|
|
<option value="combined"{% if edit.getEditValue('sExtSearch_displaytypeManufacturerList') == 'combined' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_COMBINED" }) }}</option>
|
|
<option value="single"{% if edit.getEditValue('sExtSearch_displaytypeManufacturerList') == 'single' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_SINGLE" }) }}</option>
|
|
<option value="multi"{% if edit.getEditValue('sExtSearch_displaytypeManufacturerList') == 'multi' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_MULTI" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__attributefilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTEFILTER" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="showAttributeList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTELIST" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showAttributeList]" value="0">
|
|
<input id="showAttributeList" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showAttributeList]" value='1' {% if edit.getEditValue('blExtSearch_showAttributeList') == 1 %}checked{% endif %} onclick='{% include "@d3_extsearch/admin/d3_togglegroup_extsearch.html.twig" with {sToggleOptionName: "blExtSearch_showAttributeList", sToggleOptionClass: ".attribute_options"} %}' {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ATTRIBUTELIST_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ATTRIBUTELIST_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="showAttributeList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTELIST_ASSIGNMENT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_useAttributeListAssignments]" value="0">
|
|
<input id="showAttributeList" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_useAttributeListAssignments]" value='1' {% if edit.getEditValue('blExtSearch_useAttributeListAssignments') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ATTRIBUTELIST_ASSIGNMENT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ATTRIBUTELIST_ASSIGNMENT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="useAttributeCombineOr">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTES_COMBINE" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_useAttributeCombineOr]" value="0">
|
|
<input id="useAttributeCombineOr" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_useAttributeCombineOr]" value='1' {% if edit.getEditValue('blExtSearch_useAttributeCombineOr') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ATTRIBUTES_COMBINE_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ATTRIBUTES_COMBINE_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="orderAttributes">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="orderAttributes" class="editinput" name="value[sExtSearch_orderAttributes]" size="1" {{ readonly }}>
|
|
<option value="oxpos"{% if edit.getEditValue('sExtSearch_orderAttributes') == 'oxpos' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT_POS" }) }}</option>
|
|
<option value="title"{% if edit.getEditValue('sExtSearch_orderAttributes') == 'title' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT_TITLE" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="useAttributeValueCombineAnd">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTEVALUES_COMBINE" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_useAttributeValueCombineAnd]" value="0">
|
|
<input id="useAttributeValueCombineAnd" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_useAttributeValueCombineAnd]" value='1' {% if edit.getEditValue('blExtSearch_useAttributeValueCombineAnd') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ATTRIBUTEVALUES_COMBINE_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ATTRIBUTEVALUES_COMBINE_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="orderAttributeList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="orderAttributeList" class="editinput" name="value[sExtSearch_orderAttributeList]" size="1" {{ readonly }}>
|
|
<option value="counter"{% if edit.getEditValue('sExtSearch_orderAttributeList') == 'counter' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_COUNT" }) }}</option>
|
|
<option value="oxpos"{% if edit.getEditValue('sExtSearch_orderAttributeList') == 'oxpos' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_POS" }) }}</option>
|
|
<option value="title"{% if edit.getEditValue('sExtSearch_orderAttributeList') == 'title' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_TITLE" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="showNoAssignedAttributeArticles">{{ translate({ ident: "D3_EXTSEARCH_NAVI_NOATTRIBUTEARTS" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showNoAssignedAttributeArticles]" value="0">
|
|
<input id="showNoAssignedAttributeArticles" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showNoAssignedAttributeArticles]" value='1' {% if edit.getEditValue('blExtSearch_showNoAssignedAttributeArticles') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_NOATTRIBUTEARTS_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_NOATTRIBUTEARTS_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="showNotSelectableAttributes">{{ translate({ ident: "D3_EXTSEARCH_NAVI_SHOWNOTSELECTABLEATTRIBUTES" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showNotSelectableAttributes]" value="0">
|
|
<input id="showNotSelectableAttributes" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showNotSelectableAttributes]" value='1' {% if edit.getEditValue('blExtSearch_showNotSelectableAttributes') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_SHOWNOTSELECTABLEATTRIBUTES_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_SHOWNOTSELECTABLEATTRIBUTES_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="attribute_options">
|
|
<dt>
|
|
<label for="displaytypeAttributeList">{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="displaytypeAttributeList" class="editinput" name="value[sExtSearch_displaytypeAttributeList]" size="1" {{ readonly }}>
|
|
<option value="combined"{% if edit.getEditValue('sExtSearch_displaytypeAttributeList') == 'combined' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_COMBINED" }) }}</option>
|
|
<option value="single"{% if edit.getEditValue('sExtSearch_displaytypeAttributeList') == 'single' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_SINGLE" }) }}</option>
|
|
<option value="multi"{% if edit.getEditValue('sExtSearch_displaytypeAttributeList') == 'multi' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_MULTI" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl>
|
|
<dd style="padding-left: 10px">{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTER_MORE_DESC" }) }}</dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__pricefilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICEFILTER" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="showPriceSelector">{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICELIST" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showPriceSelector]" value="0">
|
|
<input id="showPriceSelector" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showPriceSelector]" value='1' {% if edit.getEditValue('blExtSearch_showPriceSelector') == 1 %}checked{% endif %} onclick='{% include "@d3_extsearch/admin/d3_togglegroup_extsearch.html.twig" with {sToggleOptionName: "blExtSearch_showPriceSelector", sToggleOptionClass: ".price_options"} %}' {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_PRICELIST_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_PRICELIST_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="price_options">
|
|
<dt>
|
|
<label for="priceSelectorItems">{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICELIST_ITEMS" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input id="priceSelectorItems" type="text" class="editinput" size="8" maxlength="2" name="value[iExtSearch_priceSelectorItems]" value="{% if edit.getEditValue('iExtSearch_priceSelectorItems') %}{{ edit.getEditValue('iExtSearch_priceSelectorItems') }}{% else %}5{% endif %}" {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_PRICELIST_ITEMS_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_PRICELIST_ITEMS_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="price_options">
|
|
<dt>
|
|
<label for="PriceSelectorsRounded">{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICELIST_ROUNDED" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_PriceSelectorsRounded]" value="0">
|
|
<input id="PriceSelectorsRounded" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_PriceSelectorsRounded]" value='1' {% if edit.getEditValue('blExtSearch_PriceSelectorsRounded') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_PRICELIST_ROUNDED_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_PRICELIST_ROUNDED_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="price_options">
|
|
<dt>
|
|
<label for="PriceSelectorsDispType">{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<select id="PriceSelectorsDispType" class="editinput" name="value[sExtSearch_PriceSelectorsDispType]" size="1" {{ readonly }}>
|
|
<option value="dropdown"{% if edit.getEditValue('sExtSearch_PriceSelectorsDispType') == 'dropdown' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY_LISTTYPE" }) }}</option>
|
|
<option value="jqslider"{% if edit.getEditValue('sExtSearch_PriceSelectorsDispType') == 'jqslider' %} selected{% endif %}>{{ translate({ ident: "D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY_SLIDER" }) }}</option>
|
|
</select>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__indexfilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_INDEXFILTER" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="showFilterParam">{{ translate({ ident: "D3_EXTSEARCH_NAVI_SHOWINDEX" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_showFilterParam]" value="0">
|
|
<input id="showFilterParam" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_showFilterParam]" value='1' {% if edit.getEditValue('blExtSearch_showFilterParam') == 1 %}checked{% endif %} onclick='{% include "@d3_extsearch/admin/d3_togglegroup_extsearch.html.twig" with {sToggleOptionName: "blExtSearch_showFilterParam", sToggleOptionClass: ".index_options"} %}' {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_SHOWINDEX_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_SHOWINDEX_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
<dl class="index_options">
|
|
<dt>
|
|
<label for="filterParamField">{{ translate({ ident: "D3_EXTSEARCH_NAVI_FILTERFIELDNAME" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input id="filterParamField" type="text" class="editinput" size="10" maxlength="50" name="value[sExtSearch_filterParamField]" value="{% if edit.getEditValue('sExtSearch_filterParamField') %}{{ edit.getEditValue('sExtSearch_filterParamField') }}{% else %}oxtitle{% endif %}" {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_NAVI_FILTERFIELDNAME_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_NAVI_FILTERFIELDNAME_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="groupExp">
|
|
<div class="">
|
|
{% block d3_cfg_extsearch_navigation__ownformfilter %}
|
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
|
<b>
|
|
{{ translate({ ident: "D3_EXTSEARCH_NAVI_OWNFORMFIELDS" }) }}
|
|
</b>
|
|
</a>
|
|
<dl>
|
|
<dt>
|
|
<label for="ownFormFields">{{ translate({ ident: "D3_EXTSEARCH_MAIN_OWNFORMFIELDS" }) }}</label>
|
|
</dt>
|
|
<dd>
|
|
<input type="hidden" name="value[blExtSearch_ownFormFields]" value="0">
|
|
<input id="ownFormFields" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_ownFormFields]" value='1' {% if edit.getEditValue('blExtSearch_ownFormFields') == 1 %}checked{% endif %} {{ readonly }}>
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_EXTSEARCH_MAIN_OWNFORMFIELDS_DESC"), 'sHelpText': help_text("D3_EXTSEARCH_MAIN_OWNFORMFIELDS_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
<table style="width:98%;">
|
|
<tr>
|
|
<td class="edittext ext_edittext" style="text-align: left;"><br>
|
|
<span class="d3modcfg_btn icon d3color-green">
|
|
<button type="submit" name="save" {{ readonly }}>
|
|
<i class="fa fa-check-circle fa-inverse"></i>{{ translate({ ident: "D3_EXTSEARCH_NAVI_SAVE" }) }}
|
|
</button>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
{% include "@d3modcfg_lib/admin/inc/inc.html.twig" %}
|