{% block d3extsearch_suggest_main %}
{% block d3extsearch_suggest_headline %} {% if blStartSearch %} {{ translate({ ident: "D3_EXTSEARCH_QUICK_SEARCH" }) }} {% else %} {% if useMultipleObjectTypes %} {{ translate({ ident: "D3_EXTSEARCH_QUICK_MULTIPLEHITS" }) }} {% else %} {{ iHitCount }} {% if similar %}{{ translate({ ident: "D3_EXTSEARCH_QUICK_SIMILARHITS" }) }}{% else %}{{ translate({ ident: "D3_EXTSEARCH_QUICK_HITS" }) }}{% endif %} "{{ sSearchparam }}" {% endif %} {% endif %} {% endblock %}
{% set sCssClasses %}{% apply spaceless %} {% if not blStartSearch %} {% if oHitList and oHitList.count() %} hasArticleItems{% endif %} {% if oCatHitList and oCatHitList.count() %} hasCategoryItems{% endif %} {% if oManHitList and oManHitList.count() %} hasManufacturerItems{% endif %} {% if oVendorHitList and oVendorHitList.count() %} hasVendorItems{% endif %} {% if oContentHitList and oContentHitList.count() %} hasContentItems{% endif %} {% endif %} {% endapply %}{% endset %} {% apply spaceless %} {% if not blStartSearch %} {% block d3extsearch_suggest_list %}
{% if oHitList.count() %} {% block d3extsearch_suggest_list_article %}

{{ translate({ ident: "PRODUCTS" }) }}

{% for oHit in oHitList %} {% block d3extsearch_suggest_listitem_article %} {% apply spaceless %}
{{ oHit.getFieldData('oxtitle') }}
{{ oHit.getFieldData('oxtitle') }} {% if oHit.getFieldData('oxvarselect') %} {{ oHit.getFieldData('oxvarselect') }}{% endif %}
{% endapply %} {% endblock %} {% endfor %}
{% endblock %} {% endif %} {% if useMultipleObjectTypes and oCatHitList.count() %} {% block d3extsearch_suggest_list_category %}

{{ translate({ ident: "CATEGORIES" }) }}

{% for oHit in oCatHitList %} {% block d3extsearch_suggest_listitem_category %} {% apply spaceless %} {% if oHit.getIsVisible() %} {{ oHit.getFieldData('oxtitle') }} {% endif %} {% endapply %} {% endblock %} {% endfor %}
{% endblock %} {% endif %} {% if useMultipleObjectTypes and oManHitList.count() %} {% block d3extsearch_suggest_list_manufacturer %}

{{ translate({ ident: "MANUFACTURERS" }) }}

{% for oHit in oManHitList %} {% block d3extsearch_suggest_listitem_manufacturer %} {% apply spaceless %} {{ oHit.getFieldData('oxtitle') }} {% endapply %} {% endblock %} {% endfor %}
{% endblock %} {% endif %} {% if useMultipleObjectTypes and oVendorHitList.count() %} {% block d3extsearch_suggest_list_vendor %}

{{ translate({ ident: "DISTRIBUTORS" }) }}

{% for oHit in oVendorHitList %} {% block d3extsearch_suggest_listitem_vendor %} {% apply spaceless %} {{ oHit.getFieldData('oxtitle') }} {% endapply %} {% endblock %} {% endfor %}
{% endblock %} {% endif %} {% if useMultipleObjectTypes and oContentHitList.count() %} {% block d3extsearch_suggest_list_content %}

{{ translate({ ident: "SERVICES" }) }}

{% for oHit in oContentHitList %} {% block d3extsearch_suggest_listitem_content %} {% apply spaceless %} {{ oHit.getFieldData('oxtitle') }} {% endapply %} {% endblock %} {% endfor %}
{% endblock %} {% endif %} {% block d3extsearch_suggest_furtherlinks %} {% if blToMuchHits %} {{ translate({ ident: "D3_EXTSEARCH_QUICK_TOMUCHHITS" }) }} {% elseif not oHitList and oHitList.count() and oCatHitList and oCatHitList.count() and oManHitList and oManHitList.count() and oVendorHitList and oVendorHitList.count() and oContentHitList and oContentHitList.count() %} {{ translate({ ident: "D3_EXTSEARCH_QUICK_NOHIT" }) }} {% endif %} {% endblock %}
{% endblock %} {% if oHitList.count() %} {% block d3extsearch_suggest_searchbutton %} {% endblock %} {% endif %} {% endif %} {% endapply %}
{% endblock %}