From 783c81f4e1890074256572f64e859b5dc7a6b079 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Fri, 13 Mar 2020 10:47:22 +0100 Subject: [PATCH] change line endings for easy patching --- .gitattributes | 1 + .../blocks/d3_extsearch_article_extend.tpl | 34 +- .../blocks/d3_extsearch_attribute_main.tpl | 4 +- .../blocks/d3_extsearch_category_main.tpl | 4 +- .../blocks/d3_extsearch_content_main.tpl | 20 +- .../views/admin/tpl/d3_cfg_extsearch_main.tpl | 1524 ++++++++--------- .../d3_cfg_extsearch_main_sortanalysis.tpl | 98 +- .../admin/tpl/d3_cfg_extsearch_navigation.tpl | 1158 ++++++------- .../admin/tpl/d3_cfg_extsearch_plugins.tpl | 334 ++-- .../tpl/d3_cfg_extsearch_quicksearch.tpl | 454 ++--- .../admin/tpl/d3_cfg_extsearch_statistik.tpl | 470 ++--- .../tpl/d3_cfg_extsearchsyneditor_list.tpl | 250 +-- .../tpl/d3_cfg_extsearchsyneditor_main.tpl | 292 ++-- .../tpl/d3_cfg_extsearchsyneditor_manage.tpl | 286 ++-- .../views/admin/tpl/d3_extsearch_plugin.tpl | 20 +- .../views/admin/tpl/d3_extsearch_popup.tpl | 78 +- .../reports/d3_extsearch_report_hitless.tpl | 94 +- .../d3_extsearch_report_mostsearches.tpl | 92 +- .../views/blocks/layout/d3_extsearch_css.tpl | 36 +- .../views/blocks/layout/d3_extsearch_js.tpl | 232 +-- .../page/list/d3extsearch_alist_filters.tpl | 32 +- .../list/d3extsearch_alist_noartfilters.tpl | 52 +- .../blocks/page/search/d3_inc_ext_search.tpl | 98 +- .../header/d3_extsearch_headersearch.tpl | 38 +- .../header/d3_extsearch_searchfield.tpl | 96 +- .../locator/d3_list_disabledefaultfilters.tpl | 4 +- ...d3_extsearch_listitemgrid_flowtitlebox.tpl | 30 +- .../d3_extsearch_listitemgrid_title.tpl | 182 +- .../d3_extsearch_listiteminfogrid_title.tpl | 48 +- .../d3_extsearch_listitemline_description.tpl | 28 +- ...d3_extsearch_listitemline_flowtitlebox.tpl | 38 +- .../d3_extsearch_listitemline_selections.tpl | 60 +- .../views/tpl/azure/d3_inc_ext_search.tpl | 400 ++--- .../tpl/azure/d3extsearch_alist_filters.tpl | 132 +- .../tpl/d3_ddoevisualcmsadmin_extsearch.tpl | 100 +- .../views/tpl/d3_ext_search_filter.tpl | 20 +- .../views/tpl/d3_ext_search_highlight.tpl | 4 +- .../views/tpl/d3_ext_search_suggestsearch.tpl | 300 ++-- .../views/tpl/filterelements/attribute.tpl | 152 +- .../views/tpl/filterelements/category.tpl | 148 +- .../views/tpl/filterelements/jqslider.tpl | 128 +- .../views/tpl/filterelements/manufacturer.tpl | 148 +- .../tpl/filterelements/priceselector.tpl | 66 +- .../views/tpl/filterelements/vendor.tpl | 148 +- .../views/tpl/flow/d3_list_filters.tpl | 156 +- .../views/tpl/flow/d3_search_contents.tpl | 126 +- .../views/tpl/flow/d3_search_filters.tpl | 242 +-- .../views/tpl/mobile/d3_inc_ext_search.tpl | 664 +++---- .../tpl/mobile/d3extsearch_alist_filters.tpl | 406 ++--- 49 files changed, 4764 insertions(+), 4763 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4c56cb8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tpl text eol=lf \ No newline at end of file diff --git a/src/Application/views/admin/blocks/d3_extsearch_article_extend.tpl b/src/Application/views/admin/blocks/d3_extsearch_article_extend.tpl index da5ba6b..912a2da 100644 --- a/src/Application/views/admin/blocks/d3_extsearch_article_extend.tpl +++ b/src/Application/views/admin/blocks/d3_extsearch_article_extend.tpl @@ -1,18 +1,18 @@ -[{$smarty.block.parent}] - - - - - - - - [{oxinputhelp ident="D3_EXTSEARCH_PUSH_DESC"}] - +[{$smarty.block.parent}] + + + + + + + + [{oxinputhelp ident="D3_EXTSEARCH_PUSH_DESC"}] + \ No newline at end of file diff --git a/src/Application/views/admin/blocks/d3_extsearch_attribute_main.tpl b/src/Application/views/admin/blocks/d3_extsearch_attribute_main.tpl index 307875a..cf91c76 100644 --- a/src/Application/views/admin/blocks/d3_extsearch_attribute_main.tpl +++ b/src/Application/views/admin/blocks/d3_extsearch_attribute_main.tpl @@ -1,3 +1,3 @@ -[{*** unused tpl block extension, exists for compatibility reason ***}] - +[{*** unused tpl block extension, exists for compatibility reason ***}] + [{$smarty.block.parent}] \ No newline at end of file diff --git a/src/Application/views/admin/blocks/d3_extsearch_category_main.tpl b/src/Application/views/admin/blocks/d3_extsearch_category_main.tpl index 307875a..cf91c76 100644 --- a/src/Application/views/admin/blocks/d3_extsearch_category_main.tpl +++ b/src/Application/views/admin/blocks/d3_extsearch_category_main.tpl @@ -1,3 +1,3 @@ -[{*** unused tpl block extension, exists for compatibility reason ***}] - +[{*** unused tpl block extension, exists for compatibility reason ***}] + [{$smarty.block.parent}] \ No newline at end of file diff --git a/src/Application/views/admin/blocks/d3_extsearch_content_main.tpl b/src/Application/views/admin/blocks/d3_extsearch_content_main.tpl index 6c9ce83..2b1587b 100644 --- a/src/Application/views/admin/blocks/d3_extsearch_content_main.tpl +++ b/src/Application/views/admin/blocks/d3_extsearch_content_main.tpl @@ -1,11 +1,11 @@ -[{$smarty.block.parent}] - - - - - - - - oxcontents__d3issearchable->value == 1}]CHECKED[{/if}] [{$readonly}]> - +[{$smarty.block.parent}] + + + + + + + + oxcontents__d3issearchable->value == 1}]CHECKED[{/if}] [{$readonly}]> + \ No newline at end of file diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearch_main.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearch_main.tpl index d723d06..c305da4 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearch_main.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearch_main.tpl @@ -1,762 +1,762 @@ -[{include file="headitem.tpl" title="d3tbclextsearch_settings_results"|oxmultilangassign}] - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -
- [{$oViewConf->getHiddenSid()}] - - - - - - - - - -
- - [{block name="d3_cfg_extsearch_main__form"}] - [{include file="d3_cfg_mod_active.tpl"}] - - [{if $oView->getValueStatus() == 'error'}] -
- [{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}] -
-
- - - - - [{else}] -
-
- [{block name="d3_cfg_extsearch_main__main"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_MAINSETTINGS"}] - - -
-
- - [{if $edit->getEditValue('aExtSearch_similarSearchFields') == ''}] -
[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOFIELDSDEFINED"}]
- [{/if}] -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_FIELDLIST_DESC"}] - [{assign var="clParam" value="cl="|cat:$oViewConf->getActiveClassName()}] - -
-
-
-
-
- -
-
- - getConfigParam('blSearchUseAND')}]checked[{/if}] [{$readonly}]> - [{oxinputhelp ident="HELP_"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MULIPLEWORDS_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_findPutInAndLeaveOut') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_PUTINLEAVEOUT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_ShowPopup') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SHOW_POPUP_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__sorting"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTING"}] - - -
-
- -
-
- - getEditValue('blExtSearch_orderByPriority') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ORDERBYPRIORITY_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_orderByPush') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ORDERBYPUSH_DESC"}] -
-
-
-
-
- -
-
- getEditValue('sExtSearch_orderByAlternative')}][{else}]oxtitle[{/if}]'>  - getEditValue('sExtSearch_orderDirAlternative') == "asc" || false == $edit->getEditValue('sExtSearch_orderByAlternative')}]checked[{/if}]>[{oxmultilang ident="CATEGORY_MAIN_ASC"}] - getEditValue('sExtSearch_orderDirAlternative') == "desc"}]checked[{/if}]>[{oxmultilang ident="CATEGORY_MAIN_DESC"}] - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ORDERBYALTERNATIVE_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__variants"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_VARIANTSETTINGS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_VariantSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_VariantSearch" sToggleOptionClass=".variant_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_VARIANTSEARCH_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_VARIANTUSAGE_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_VariantCheckParentActive') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_VARIANTCHECKPARENTACTIVE_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__phonetics"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_PHONETICS"}] - - -
-
[{oxmultilang ident="D3_EXTSEARCH_MAIN_PHONETICS_DESC"}]
-
-
-
- -
-
- - getEditValue('blExtSearch_similarSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_similarSearch" sToggleOptionClass=".phonetic_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SIMILARSEARCH_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_PHONETICLANG_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_similarExtList') == 1}]checked[{/if}]> - - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SIMILAREXTLIST_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MINPHONLENGTH_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__semantics"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_SEMANTICS"}] - - -
-
[{oxmultilang ident="D3_EXTSEARCH_MAIN_SEMANTICS_DESC"}]
-
-
-
- -
-
- - getEditValue('blExtSearch_semanticSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_semanticSearch" sToggleOptionClass=".semantic_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SEMANTICSEARCH_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_semanticUsePhonetic') == 1}]checked[{/if}] [{if $edit->getEditValue('blExtSearch_similarSearch') != 1}]disabled[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SEMANTICUSEPHONETIC_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__category"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_CATEGORY"}] - - -
-
- -
-
- - getEditValue('blExtSearch_catSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_catSearch" sToggleOptionClass=".category_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_CATEGORY_SEARCH_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_catSearchUseAND')}]checked[{/if}] [{$readonly}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_CATEGORY_ANDOR_DESC"}] -
-
-
-
-
- -
-
- -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_CATEGORY_PRIORITY_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__manufacturer"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_MANUFACTURER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_manufacturerSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_manufacturerSearch" sToggleOptionClass=".manufacturer_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MANUFACTURER_SEARCH_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_manufacturerSearchUseAND')}]checked[{/if}] [{$readonly}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MANUFACTURER_ANDOR_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MANUFACTURER_PRIORITY_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__contents"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_CONTENTS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showContentList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showContentList" sToggleOptionClass=".content_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CONTENTLIST_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_contentSearchLongtext') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CONTENTLONG_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__redirects"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_REDIRECTS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_useArtNumSearch') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_USEARTNUMSEARCH_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_goToUniqueHit') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUEHIT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_goToUniqueContentHit') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUECONTENTHIT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_goToUniqueVendorHit') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUEVENDORHIT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_goToUniqueManufacturerHit') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUEMANUFACTURERHIT_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__log"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_LOGSETTINGS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_logHitless') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_LOGHITLESS_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_generallyLogForSearch') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_LOGFORSEARCH_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_main__admin"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_ADMINPANEL"}] - - -
-
- -
-
- - getEditValue('blExtSearch_adminShowVariants') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ADMINSHOWVARIANTS_DESC"}] -
-
-
- [{/block}] -
-
- - - - - -
-
- - - -

-
- -
-
- [{block name="d3_cfg_extsearch_main__index"}] - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEX"}] - - -
-
[{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEX_DESC"}]
-
-
-
- - - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_INDEXARTCNT_DESC"}] -
-
- -
- [{$oViewConf->getHiddenSid()}] - - - - -
-
-
- - [{assign var="clParam" value="cl="|cat:$oViewConf->getActiveClassName()}] -
-
-   -
-
- - - - - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_GENINDEXCMPL_DESC"}] -
-
-
-
-
- [{if $oView->getIndexStatus() > 0}] - [{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEXERR"}] - [{else}] - [{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEXNOERR"}] - [{/if}] -
-
- - - - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_GENINDEXNEW_DESC"}] -
-
-
-
-
-   -
-
- - - - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_GENSEMANTICINDEX_DESC"}] -
- [{/block}] - -
-
-
-
- [{/if}] - [{/block}] -
- -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3tbclextsearch_settings_results"|oxmultilangassign}] + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + + + + + + +
+ + [{block name="d3_cfg_extsearch_main__form"}] + [{include file="d3_cfg_mod_active.tpl"}] + + [{if $oView->getValueStatus() == 'error'}] +
+ [{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}] +
+
+ + + + + [{else}] +
+
+ [{block name="d3_cfg_extsearch_main__main"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_MAINSETTINGS"}] + + +
+
+ + [{if $edit->getEditValue('aExtSearch_similarSearchFields') == ''}] +
[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOFIELDSDEFINED"}]
+ [{/if}] +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_FIELDLIST_DESC"}] + [{assign var="clParam" value="cl="|cat:$oViewConf->getActiveClassName()}] + +
+
+
+
+
+ +
+
+ + getConfigParam('blSearchUseAND')}]checked[{/if}] [{$readonly}]> + [{oxinputhelp ident="HELP_"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MULIPLEWORDS_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_findPutInAndLeaveOut') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_PUTINLEAVEOUT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_ShowPopup') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SHOW_POPUP_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__sorting"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTING"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_orderByPriority') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ORDERBYPRIORITY_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_orderByPush') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ORDERBYPUSH_DESC"}] +
+
+
+
+
+ +
+
+ getEditValue('sExtSearch_orderByAlternative')}][{else}]oxtitle[{/if}]'>  + getEditValue('sExtSearch_orderDirAlternative') == "asc" || false == $edit->getEditValue('sExtSearch_orderByAlternative')}]checked[{/if}]>[{oxmultilang ident="CATEGORY_MAIN_ASC"}] + getEditValue('sExtSearch_orderDirAlternative') == "desc"}]checked[{/if}]>[{oxmultilang ident="CATEGORY_MAIN_DESC"}] + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ORDERBYALTERNATIVE_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__variants"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_VARIANTSETTINGS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_VariantSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_VariantSearch" sToggleOptionClass=".variant_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_VARIANTSEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_VARIANTUSAGE_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_VariantCheckParentActive') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_VARIANTCHECKPARENTACTIVE_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__phonetics"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_PHONETICS"}] + + +
+
[{oxmultilang ident="D3_EXTSEARCH_MAIN_PHONETICS_DESC"}]
+
+
+
+ +
+
+ + getEditValue('blExtSearch_similarSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_similarSearch" sToggleOptionClass=".phonetic_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SIMILARSEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_PHONETICLANG_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_similarExtList') == 1}]checked[{/if}]> + + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SIMILAREXTLIST_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MINPHONLENGTH_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__semantics"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_SEMANTICS"}] + + +
+
[{oxmultilang ident="D3_EXTSEARCH_MAIN_SEMANTICS_DESC"}]
+
+
+
+ +
+
+ + getEditValue('blExtSearch_semanticSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_semanticSearch" sToggleOptionClass=".semantic_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SEMANTICSEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_semanticUsePhonetic') == 1}]checked[{/if}] [{if $edit->getEditValue('blExtSearch_similarSearch') != 1}]disabled[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_SEMANTICUSEPHONETIC_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__category"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_CATEGORY"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_catSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_catSearch" sToggleOptionClass=".category_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_CATEGORY_SEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_catSearchUseAND')}]checked[{/if}] [{$readonly}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_CATEGORY_ANDOR_DESC"}] +
+
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_CATEGORY_PRIORITY_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__manufacturer"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_MANUFACTURER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_manufacturerSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_manufacturerSearch" sToggleOptionClass=".manufacturer_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MANUFACTURER_SEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_manufacturerSearchUseAND')}]checked[{/if}] [{$readonly}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MANUFACTURER_ANDOR_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_MANUFACTURER_PRIORITY_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__contents"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_CONTENTS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showContentList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showContentList" sToggleOptionClass=".content_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CONTENTLIST_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_contentSearchLongtext') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CONTENTLONG_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__redirects"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_REDIRECTS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_useArtNumSearch') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_USEARTNUMSEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_goToUniqueHit') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUEHIT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_goToUniqueContentHit') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUECONTENTHIT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_goToUniqueVendorHit') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUEVENDORHIT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_goToUniqueManufacturerHit') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_UNIQUEMANUFACTURERHIT_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__log"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_LOGSETTINGS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_logHitless') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_LOGHITLESS_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_generallyLogForSearch') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_LOGFORSEARCH_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_main__admin"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_ADMINPANEL"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_adminShowVariants') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_ADMINSHOWVARIANTS_DESC"}] +
+
+
+ [{/block}] +
+
+ + + + + +
+
+ + + +

+
+ +
+
+ [{block name="d3_cfg_extsearch_main__index"}] + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEX"}] + + +
+
[{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEX_DESC"}]
+
+
+
+ + + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_INDEXARTCNT_DESC"}] +
+
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+
+
+ + [{assign var="clParam" value="cl="|cat:$oViewConf->getActiveClassName()}] +
+
+   +
+
+ + + + + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_GENINDEXCMPL_DESC"}] +
+
+
+
+
+ [{if $oView->getIndexStatus() > 0}] + [{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEXERR"}] + [{else}] + [{oxmultilang ident="D3_EXTSEARCH_MAIN_INDEXNOERR"}] + [{/if}] +
+
+ + + + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_GENINDEXNEW_DESC"}] +
+
+
+
+
+   +
+
+ + + + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_GENSEMANTICINDEX_DESC"}] +
+ [{/block}] + +
+
+
+
+ [{/if}] + [{/block}] +
+ +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearch_main_sortanalysis.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearch_main_sortanalysis.tpl index d5b1189..68152cb 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearch_main_sortanalysis.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearch_main_sortanalysis.tpl @@ -1,50 +1,50 @@ - - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG"}] - - -
- [{$sHiddenSid}] - - - - -
- - [{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG_DESC"}] - -
- - [{if $aAllList|count}] - - [{capture name="fieldNameLine"}] - - - [{foreach from=$aFieldNames item="sFieldName"}] - - [{/foreach}] - - [{/capture}] - - [{$smarty.capture.fieldNameLine}] - - [{foreach from=$aAllList item="aItem" name="itemlist"}] - - - [{foreach from=$aItem key="sKey" item="sItem"}] - [{if $sKey|in_array:$aUsedFields}] - - [{/if}] - [{/foreach}] - - - [{if $smarty.foreach.itemlist.iteration % 20 == 0}] - [{$smarty.capture.fieldNameLine}] - [{/if}] - [{/foreach}] - -
No:[{$sFieldName}]
[{$smarty.foreach.itemlist.iteration}][{$sItem}]
- [{/if}] - + + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG"}] + + +
+ [{$sHiddenSid}] + + + + +
+ + [{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG_DESC"}] + +
+ + [{if $aAllList|count}] + + [{capture name="fieldNameLine"}] + + + [{foreach from=$aFieldNames item="sFieldName"}] + + [{/foreach}] + + [{/capture}] + + [{$smarty.capture.fieldNameLine}] + + [{foreach from=$aAllList item="aItem" name="itemlist"}] + + + [{foreach from=$aItem key="sKey" item="sItem"}] + [{if $sKey|in_array:$aUsedFields}] + + [{/if}] + [{/foreach}] + + + [{if $smarty.foreach.itemlist.iteration % 20 == 0}] + [{$smarty.capture.fieldNameLine}] + [{/if}] + [{/foreach}] + +
No:[{$sFieldName}]
[{$smarty.foreach.itemlist.iteration}][{$sItem}]
+ [{/if}] + \ No newline at end of file diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearch_navigation.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearch_navigation.tpl index 837f0bd..09818c6 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearch_navigation.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearch_navigation.tpl @@ -1,579 +1,579 @@ -[{include file="headitem.tpl" title="d3tbclextsearch_settings_navigation"|oxmultilangassign}] - - - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -
- [{$oViewConf->getHiddenSid()}] - - - - - -[{if $oView->getValueStatus() == 'error'}] - - - - -
- [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
- -
-[{else}] - - - - -
- [{block name="d3_cfg_extsearch_navigation__form"}] -
-
- [{block name="d3_cfg_extsearch_navigation__main"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_MAINSETTINGS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_emptySearch') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_EMPTYSEARCH_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_showHighlightedText') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_HIGHLIGHT_DESC"}] -
-
-
- - [{if $oView->d3UseAlistFilters()}] - [{assign var="blActionRestriction" value=""}] - [{else}] - [{assign var="blActionRestriction" value="readonly disabled"}] - [{assign var="blRestricted" value=true}] - [{/if}] -
-
- -
-
- - getEditValue('blExtSearch_useAListFilter') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ALISTFILTER_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__catfilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_CATFILTER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showCatList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showCatList" sToggleOptionClass=".category_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CATLIST_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CATLIST_SORT_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_catListMainCategoryOnly') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CATLISTMAINCATEGORIESONLY_DESC"}] -
-
-
-
-
[{oxmultilang ident="D3_EXTSEARCH_NAVI_CATLIST_MORE_DESC"}]
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__vendorfilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_VENDORFILTER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showVendorList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showVendorList" sToggleOptionClass=".vendor_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_VENDORLIST_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_VENDORLIST_SORT_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__manufacturerfilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_MANUFACTURERFILTER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showManufacturerList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showManufacturerList" sToggleOptionClass=".manufacturer_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_MANUFACTURERLIST_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__attributefilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_ATTRIBUTEFILTER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showAttributeList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showAttributeList" sToggleOptionClass=".attribute_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTELIST_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_useAttributeListAssignments') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTELIST_ASSIGNMENT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_useAttributeCombineOr') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTES_COMBINE_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_useAttributeValueCombineAnd') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTEVALUES_COMBINE_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_showNoAssignedAttributeArticles') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_NOATTRIBUTEARTS_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_showNotSelectableAttributes') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_SHOWNOTSELECTABLEATTRIBUTES_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] -
-
-
-
-
[{oxmultilang ident="D3_EXTSEARCH_NAVI_FILTER_MORE_DESC"}]
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__pricefilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_PRICEFILTER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showPriceSelector') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showPriceSelector" sToggleOptionClass=".price_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_ITEMS_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_PriceSelectorsRounded') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_ROUNDED_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY_DESC"}] -
-
[{oxmultilang ident="D3_EXTSEARCH_NAVI_PRICELIST_REQU"}]
-
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__indexfilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_INDEXFILTER"}] - - -
-
- -
-
- - getEditValue('blExtSearch_showFilterParam') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showFilterParam" sToggleOptionClass=".index_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_SHOWINDEX_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTERFIELDNAME_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__ownformfilter"}] - - - [{oxmultilang ident="D3_EXTSEARCH_NAVI_OWNFORMFIELDS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_ownFormFields') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_MAIN_OWNFORMFIELDS_DESC"}] -
-
-
- [{/block}] -
-
- [{/block}] - - - - - -

- - - -
-
-[{/if}] - -
- -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3tbclextsearch_settings_navigation"|oxmultilangassign}] + + + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + + +[{if $oView->getValueStatus() == 'error'}] + + + + +
+ [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
+ +
+[{else}] + + + + +
+ [{block name="d3_cfg_extsearch_navigation__form"}] +
+
+ [{block name="d3_cfg_extsearch_navigation__main"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_MAINSETTINGS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_emptySearch') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_EMPTYSEARCH_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_showHighlightedText') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_HIGHLIGHT_DESC"}] +
+
+
+ + [{if $oView->d3UseAlistFilters()}] + [{assign var="blActionRestriction" value=""}] + [{else}] + [{assign var="blActionRestriction" value="readonly disabled"}] + [{assign var="blRestricted" value=true}] + [{/if}] +
+
+ +
+
+ + getEditValue('blExtSearch_useAListFilter') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ALISTFILTER_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__catfilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_CATFILTER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showCatList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showCatList" sToggleOptionClass=".category_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CATLIST_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CATLIST_SORT_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_catListMainCategoryOnly') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_CATLISTMAINCATEGORIESONLY_DESC"}] +
+
+
+
+
[{oxmultilang ident="D3_EXTSEARCH_NAVI_CATLIST_MORE_DESC"}]
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__vendorfilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_VENDORFILTER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showVendorList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showVendorList" sToggleOptionClass=".vendor_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_VENDORLIST_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_VENDORLIST_SORT_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__manufacturerfilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_MANUFACTURERFILTER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showManufacturerList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showManufacturerList" sToggleOptionClass=".manufacturer_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_MANUFACTURERLIST_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_MANUFACTURERLIST_SORT_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__attributefilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_ATTRIBUTEFILTER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showAttributeList') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showAttributeList" sToggleOptionClass=".attribute_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTELIST_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_useAttributeListAssignments') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTELIST_ASSIGNMENT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_useAttributeCombineOr') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTES_COMBINE_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTES_SORT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_useAttributeValueCombineAnd') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTEVALUES_COMBINE_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_ATTRIBUTELIST_SORT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_showNoAssignedAttributeArticles') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_NOATTRIBUTEARTS_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_showNotSelectableAttributes') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_SHOWNOTSELECTABLEATTRIBUTES_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTER_DISPLAYTYPE_DESC"}] +
+
+
+
+
[{oxmultilang ident="D3_EXTSEARCH_NAVI_FILTER_MORE_DESC"}]
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__pricefilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_PRICEFILTER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showPriceSelector') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showPriceSelector" sToggleOptionClass=".price_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_ITEMS_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_PriceSelectorsRounded') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_ROUNDED_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_PRICELIST_DISPLAY_DESC"}] +
+
[{oxmultilang ident="D3_EXTSEARCH_NAVI_PRICELIST_REQU"}]
+
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__indexfilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_INDEXFILTER"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_showFilterParam') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_showFilterParam" sToggleOptionClass=".index_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_SHOWINDEX_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_NAVI_FILTERFIELDNAME_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__ownformfilter"}] + + + [{oxmultilang ident="D3_EXTSEARCH_NAVI_OWNFORMFIELDS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_ownFormFields') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_MAIN_OWNFORMFIELDS_DESC"}] +
+
+
+ [{/block}] +
+
+ [{/block}] + + + + + +

+ + + +
+
+[{/if}] + +
+ +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearch_plugins.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearch_plugins.tpl index 643e0fb..aeff99f 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearch_plugins.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearch_plugins.tpl @@ -1,167 +1,167 @@ -[{include file="headitem.tpl" title="d3tbclextsearch_settings_browser"|oxmultilangassign}] - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -[{if $oView->getValueStatus() == 'error'}] -
- - [{$oViewConf->getHiddenSid()}] - - - - - - [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
- -
-[{else}] - -
- - [{$oViewConf->getHiddenSid()}] - - - - - -
- [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SETTINGS"}] - - [{block name="d3_cfg_extsearch_plugins__form"}] - - - - - - - - - - - - - - [{/block}] -
- - - - getEditValue('blExtSearch_enablePluginBrowserInstall') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHACTIVE_DESC"}] -
- - - - getEditValue('blExtSearch_enablePluginLink') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_INSTALLLINK_DESC"}] -
- - -
- [{if $edit->getEditValue('sExtSearch_PluginIcon')}][{$edit->getEditValue('sExtSearch_PluginIcon')}] [{else}][{oxmultilang ident="D3_EXTSEARCH_PLUGIN_CHOOSEICON"}][{/if}] - [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHICON_DESC"}] -
-
- - - - - - -

- - - -
- - -
- -
- [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATE"}] - - [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATEFILE"}] -
- [{$oViewConf->getHiddenSid()}] - - - - - - - [{assign var="escapedCl" value=$oViewConf->getActiveClassName()|oxescape:"url"}] - [{assign var="clParam" value="cl="|cat:$escapedCl}] - - -

- [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATENOTICE"}] -
- [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_GENERATE_DESC"}] -
-[{/if}] - -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3tbclextsearch_settings_browser"|oxmultilangassign}] + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +[{if $oView->getValueStatus() == 'error'}] +
+ + [{$oViewConf->getHiddenSid()}] + + + + + + [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
+ +
+[{else}] + +
+ + [{$oViewConf->getHiddenSid()}] + + + + + +
+ [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SETTINGS"}] + + [{block name="d3_cfg_extsearch_plugins__form"}] + + + + + + + + + + + + + + [{/block}] +
+ + + + getEditValue('blExtSearch_enablePluginBrowserInstall') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHACTIVE_DESC"}] +
+ + + + getEditValue('blExtSearch_enablePluginLink') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_INSTALLLINK_DESC"}] +
+ + +
+ [{if $edit->getEditValue('sExtSearch_PluginIcon')}][{$edit->getEditValue('sExtSearch_PluginIcon')}] [{else}][{oxmultilang ident="D3_EXTSEARCH_PLUGIN_CHOOSEICON"}][{/if}] + [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHICON_DESC"}] +
+
+ + + + + + +

+ + + +
+ + +
+ +
+ [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATE"}] + + [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATEFILE"}] +
+ [{$oViewConf->getHiddenSid()}] + + + + + + + [{assign var="escapedCl" value=$oViewConf->getActiveClassName()|oxescape:"url"}] + [{assign var="clParam" value="cl="|cat:$escapedCl}] + + +

+ [{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATENOTICE"}] +
+ [{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_GENERATE_DESC"}] +
+[{/if}] + +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearch_quicksearch.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearch_quicksearch.tpl index d30862b..a028066 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearch_quicksearch.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearch_quicksearch.tpl @@ -1,227 +1,227 @@ -[{include file="headitem.tpl" title="d3tbclextsearch_settings_quick"|oxmultilangassign}] - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -
- [{$oViewConf->getHiddenSid()}] - - - - - - [{if $oView->getValueStatus() == 'error'}] - [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
- - [{else}] - - - - -
- - [{block name="d3_cfg_extsearch_quicksearch__form"}] -
-
- [{block name="d3_cfg_extsearch_navigation__quick"}] - - - [{oxmultilang ident="D3_EXTSEARCH_QUICK"}] - - -
-
- -
-
- - getEditValue('blExtSearch_enableAjaxSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_enableAjaxSearch" sToggleOptionClass=".suggest_options"}]'> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_ACTIVE_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_ajaxSearchLoadFullObjects') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_FULLOBJECTS_DESC"}] -
-
-
-
-
- -
-
- - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_COUNT_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_QuickSearchLoadCategories') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCATEGORIES_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_QuickSearchLoadManufacturers') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADMANUFACTURERS_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_QuickSearchLoadVendors') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADVENDORS_DESC"}] -
-
-
-
-
- -
-
- - getEditValue('blExtSearch_QuickSearchLoadContent') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCONTENT_DESC"}] -
-
-
- [{/block}] -
-
- -
-
- [{block name="d3_cfg_extsearch_navigation__ias"}] - - - [{oxmultilang ident="D3_EXTSEARCH_QUICK_IAS"}] - - -
-
- -
-
- - getEditValue('blExtSearch_ShowIAS') == 1}]checked[{/if}]> - [{oxinputhelp ident="D3_EXTSEARCH_QUICK_SHOWIAS_DESC"}] -
-
-
- [{/block}] -
-
- [{/block}] - - - - - -

- - - -
-

[{oxmultilang ident="D3_EXTSEARCH_QUICK_TPLNOTICE"}] -
-[{/if}] -
- -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3tbclextsearch_settings_quick"|oxmultilangassign}] + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + + + [{if $oView->getValueStatus() == 'error'}] + [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
+ + [{else}] + + + + +
+ + [{block name="d3_cfg_extsearch_quicksearch__form"}] +
+
+ [{block name="d3_cfg_extsearch_navigation__quick"}] + + + [{oxmultilang ident="D3_EXTSEARCH_QUICK"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_enableAjaxSearch') == 1}]checked[{/if}] onclick='[{include file="d3_togglegroup_extsearch.tpl" sToggleOptionName="blExtSearch_enableAjaxSearch" sToggleOptionClass=".suggest_options"}]'> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_ACTIVE_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_ajaxSearchLoadFullObjects') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_FULLOBJECTS_DESC"}] +
+
+
+
+
+ +
+
+ + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_COUNT_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_QuickSearchLoadCategories') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCATEGORIES_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_QuickSearchLoadManufacturers') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADMANUFACTURERS_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_QuickSearchLoadVendors') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADVENDORS_DESC"}] +
+
+
+
+
+ +
+
+ + getEditValue('blExtSearch_QuickSearchLoadContent') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCONTENT_DESC"}] +
+
+
+ [{/block}] +
+
+ +
+
+ [{block name="d3_cfg_extsearch_navigation__ias"}] + + + [{oxmultilang ident="D3_EXTSEARCH_QUICK_IAS"}] + + +
+
+ +
+
+ + getEditValue('blExtSearch_ShowIAS') == 1}]checked[{/if}]> + [{oxinputhelp ident="D3_EXTSEARCH_QUICK_SHOWIAS_DESC"}] +
+
+
+ [{/block}] +
+
+ [{/block}] + + + + + +

+ + + +
+

[{oxmultilang ident="D3_EXTSEARCH_QUICK_TPLNOTICE"}] +
+[{/if}] +
+ +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearch_statistik.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearch_statistik.tpl index 3e223c6..6842400 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearch_statistik.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearch_statistik.tpl @@ -1,235 +1,235 @@ -[{include file="headitem.tpl" title="d3tbclextsearch_settings_statistik"|oxmultilangassign}] - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -
- [{$oViewConf->getHiddenSid()}] - - - - - - - - - - -
- -
- [{$oViewConf->getHiddenSid()}] - - - - - - - - - -
- - [{if $edit->getErrorMessage()}] -
- [{$edit->getErrorMessage()}] -
- [{/if}] - - [{if $oView->getValueStatus() == 'error'}] - [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
- - - - [{else}] -
- - - - - - - - - - - - - - - - - - - - - - [{if $oView->getStatList()}] - [{assign var="blWhite" value=""}] - [{assign var="_cnt" value=0}] - [{foreach from=$oView->getStatList() item="searchword"}] - [{assign var="_cnt" value=$_cnt+1}] - [{if $listitem->blacklist == 1}] - [{assign var="listclass" value="listitem3"}] - [{else}] - [{assign var="listclass" value="listitem"|cat:$blWhite}] - [{/if}] - - - - - - [{if $blWhite == "2"}] - [{assign var="blWhite" value=""}] - [{else}] - [{assign var="blWhite" value="2"}] - [{/if}] - [{/foreach}] - [{elseif $aParams}] - - - - [{else}] - - - - [{/if}] -
- - - - - - - - - - - - -

- [{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHWORD"}] - - [{if $aParams.type == 'mosthits'}][{oxmultilang ident="D3_EXTSEARCH_STAT_HITS"}][{else}][{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHES"}][{/if}] - - [{oxmultilang ident="D3_EXTSEARCH_STATISTIC_GRAPH"}] -
- [{$searchword->sWord}] - [{if $searchword->aFilters}][{*oxmultilang ident="D3_EXTSEARCH_STATISTIC_FURTHERFILTERS"*}] - [{foreach from=$searchword->aFilters item="oFilter"}] -
[{$oFilter->desc}]: [{$oFilter->value}]
- [{/foreach}] - [{/if}] -
- [{$searchword->iCount}] - - [{if $oView->checkReportBaseClass()}] - [{if $searchword->blGraph}] - - - - - [{else}] - - - - - [{/if}] - [{else}] - [{oxmultilang ident="D3_EXTSEARCH_STAT_NOREPORTBASE"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOREPORTBASE_DESC"}] - [{/if}] -
- [{oxmultilang ident="D3_EXTSEARCH_STAT_NOITEMS"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOITEMS_DESC"}] -
- [{oxmultilang ident="D3_EXTSEARCH_STAT_SELECTFILTER"}] -
-
- [{/if}] -
-
- -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3tbclextsearch_settings_statistik"|oxmultilangassign}] + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + + + + + + + +
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + + + + + + +
+ + [{if $edit->getErrorMessage()}] +
+ [{$edit->getErrorMessage()}] +
+ [{/if}] + + [{if $oView->getValueStatus() == 'error'}] + [{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]
+ + + + [{else}] +
+ + + + + + + + + + + + + + + + + + + + + + [{if $oView->getStatList()}] + [{assign var="blWhite" value=""}] + [{assign var="_cnt" value=0}] + [{foreach from=$oView->getStatList() item="searchword"}] + [{assign var="_cnt" value=$_cnt+1}] + [{if $listitem->blacklist == 1}] + [{assign var="listclass" value="listitem3"}] + [{else}] + [{assign var="listclass" value="listitem"|cat:$blWhite}] + [{/if}] + + + + + + [{if $blWhite == "2"}] + [{assign var="blWhite" value=""}] + [{else}] + [{assign var="blWhite" value="2"}] + [{/if}] + [{/foreach}] + [{elseif $aParams}] + + + + [{else}] + + + + [{/if}] +
+ + + + + + + + + + + + +

+ [{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHWORD"}] + + [{if $aParams.type == 'mosthits'}][{oxmultilang ident="D3_EXTSEARCH_STAT_HITS"}][{else}][{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHES"}][{/if}] + + [{oxmultilang ident="D3_EXTSEARCH_STATISTIC_GRAPH"}] +
+ [{$searchword->sWord}] + [{if $searchword->aFilters}][{*oxmultilang ident="D3_EXTSEARCH_STATISTIC_FURTHERFILTERS"*}] + [{foreach from=$searchword->aFilters item="oFilter"}] +
[{$oFilter->desc}]: [{$oFilter->value}]
+ [{/foreach}] + [{/if}] +
+ [{$searchword->iCount}] + + [{if $oView->checkReportBaseClass()}] + [{if $searchword->blGraph}] + + + + + [{else}] + + + + + [{/if}] + [{else}] + [{oxmultilang ident="D3_EXTSEARCH_STAT_NOREPORTBASE"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOREPORTBASE_DESC"}] + [{/if}] +
+ [{oxmultilang ident="D3_EXTSEARCH_STAT_NOITEMS"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOITEMS_DESC"}] +
+ [{oxmultilang ident="D3_EXTSEARCH_STAT_SELECTFILTER"}] +
+
+ [{/if}] +
+
+ +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_list.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_list.tpl index 0048b7d..0b6fd05 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_list.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_list.tpl @@ -1,126 +1,126 @@ -[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign box="list"}] - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -[{assign var="where" value=$oView->getListFilter()}] - - - -
- -
- -[{include file="pagetabsnippet.tpl"}] - - - - +[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign box="list"}] + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +[{assign var="where" value=$oView->getListFilter()}] + + + +
+ +
+ +[{include file="pagetabsnippet.tpl"}] + + + + \ No newline at end of file diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_main.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_main.tpl index f86e4ee..d9991b2 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_main.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_main.tpl @@ -1,146 +1,146 @@ -[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}] - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -
- [{$oViewConf->getHiddenSid()}] - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_WORD_DESC"}] -
- - - - [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_COMMENT_DESC"}] -
-
- - - - - - - - - - - - - -
- - - [{if $oxid != '-1'}] - - [{else}] - [{$oView->getNextSynsetId()}] - [{/if}] - [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNSETID_DESC"}] -
- - - - [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE_DESC"}] -
- [{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSE"}] - - - getFieldData('useForTerms') == 1}]checked[{/if}]> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORTERMS_DESC"}]
- - getFieldData('useForAttributes') == 1}]checked[{/if}]> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORATTRIBUTES_DESC"}]
-
- -
-
- - - -
-
- -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}] + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +
+ [{$oViewConf->getHiddenSid()}] + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_WORD_DESC"}] +
+ + + + [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_COMMENT_DESC"}] +
+
+ + + + + + + + + + + + + +
+ + + [{if $oxid != '-1'}] + + [{else}] + [{$oView->getNextSynsetId()}] + [{/if}] + [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNSETID_DESC"}] +
+ + + + [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE_DESC"}] +
+ [{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSE"}] + + + getFieldData('useForTerms') == 1}]checked[{/if}]> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORTERMS_DESC"}]
+ + getFieldData('useForAttributes') == 1}]checked[{/if}]> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORATTRIBUTES_DESC"}]
+
+ +
+
+ + + +
+
+ +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_manage.tpl b/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_manage.tpl index d56e59b..669bea5 100644 --- a/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_manage.tpl +++ b/src/Application/views/admin/tpl/d3_cfg_extsearchsyneditor_manage.tpl @@ -1,143 +1,143 @@ -[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}] - - - - - -[{if $readonly}] - [{assign var="readonly" value="readonly disabled"}] -[{else}] - [{assign var="readonly" value=""}] -[{/if}] - -
- [{$oViewConf->getHiddenSid()}] - - - - -
- -[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_DESC"}] - - - - -
- - - - - - - [{assign var="blWhite" value=""}] - - - - - - [{foreach from=$aSynList item="sSynonym" key="termid"}] - [{assign var="listclass" value="listitem"|cat:$blWhite}] - - - - - - [{if $blWhite == "2"}] - [{assign var="blWhite" value=""}] - [{else}] - [{assign var="blWhite" value="2"}] - [{/if}] - [{/foreach}] - - - [{$oViewConf->getHiddenSid()}] - - - - - - - - [{assign var="listclass" value="listitem"|cat:$blWhite}] - - - - - -
[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT"}] [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT_DESC"}][{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_SYNONYM"}] 
- - - [{$sSynonym}] - - -
- - - - [{oxinputhelp ident="D3_EXTSEARCH_SYNED_SAVENEWSYN_DESC"}] -
-
- -[{include file="d3_cfg_mod_inc.tpl"}] +[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}] + + + + + +[{if $readonly}] + [{assign var="readonly" value="readonly disabled"}] +[{else}] + [{assign var="readonly" value=""}] +[{/if}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + +
+ +[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_DESC"}] + + + + +
+ + + + + + + [{assign var="blWhite" value=""}] + + + + + + [{foreach from=$aSynList item="sSynonym" key="termid"}] + [{assign var="listclass" value="listitem"|cat:$blWhite}] + + + + + + [{if $blWhite == "2"}] + [{assign var="blWhite" value=""}] + [{else}] + [{assign var="blWhite" value="2"}] + [{/if}] + [{/foreach}] + + + [{$oViewConf->getHiddenSid()}] + + + + + + + + [{assign var="listclass" value="listitem"|cat:$blWhite}] + + + + + +
[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT"}] [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT_DESC"}][{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_SYNONYM"}] 
+ + + [{$sSynonym}] + + +
+ + + + [{oxinputhelp ident="D3_EXTSEARCH_SYNED_SAVENEWSYN_DESC"}] +
+
+ +[{include file="d3_cfg_mod_inc.tpl"}] diff --git a/src/Application/views/admin/tpl/d3_extsearch_plugin.tpl b/src/Application/views/admin/tpl/d3_extsearch_plugin.tpl index 5e90717..05abf77 100644 --- a/src/Application/views/admin/tpl/d3_extsearch_plugin.tpl +++ b/src/Application/views/admin/tpl/d3_extsearch_plugin.tpl @@ -1,11 +1,11 @@ - - - [{$oShop->getFieldData('oxname')}] - UTF-8 - UTF-8 -[{if $blHasIcon}] - data:[{$aImgInfo.mime}];base64, [{$sBase64Icon}] -[{/if}] - - + + + [{$oShop->getFieldData('oxname')}] + UTF-8 + UTF-8 +[{if $blHasIcon}] + data:[{$aImgInfo.mime}];base64, [{$sBase64Icon}] +[{/if}] + + \ No newline at end of file diff --git a/src/Application/views/admin/tpl/d3_extsearch_popup.tpl b/src/Application/views/admin/tpl/d3_extsearch_popup.tpl index 31f9880..039e5f3 100644 --- a/src/Application/views/admin/tpl/d3_extsearch_popup.tpl +++ b/src/Application/views/admin/tpl/d3_extsearch_popup.tpl @@ -1,40 +1,40 @@ -[{assign var="iRefreshTime" value=$iRefreshTime|default:0}] - - - - - - [{$sTitle}] - [{if $sRefreshUrl}] - - [{/if}] - - - - [{if $sMessage}] -
-
- [{$sMessage}] -
- [{/if}] - - [{if $iProgressPercent}] -
-
-
-
- [{assign var="sText" value="D3_EXTSEARCH_MAIN_GENERATOR_PROCESSING2"|oxmultilangassign}] - [{$sText|sprintf:$iProgressPercent}] -
-
- [{/if}] - - [{if $blWait}] -
- [{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_WAIT"}] - [{else}] -
- [{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_CLOSEWND"}] - [{/if}] - +[{assign var="iRefreshTime" value=$iRefreshTime|default:0}] + + + + + + [{$sTitle}] + [{if $sRefreshUrl}] + + [{/if}] + + + + [{if $sMessage}] +
+
+ [{$sMessage}] +
+ [{/if}] + + [{if $iProgressPercent}] +
+
+
+
+ [{assign var="sText" value="D3_EXTSEARCH_MAIN_GENERATOR_PROCESSING2"|oxmultilangassign}] + [{$sText|sprintf:$iProgressPercent}] +
+
+ [{/if}] + + [{if $blWait}] +
+ [{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_WAIT"}] + [{else}] +
+ [{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_CLOSEWND"}] + [{/if}] + \ No newline at end of file diff --git a/src/Application/views/admin/tpl/reports/d3_extsearch_report_hitless.tpl b/src/Application/views/admin/tpl/reports/d3_extsearch_report_hitless.tpl index 537444e..f6fe91f 100644 --- a/src/Application/views/admin/tpl/reports/d3_extsearch_report_hitless.tpl +++ b/src/Application/views/admin/tpl/reports/d3_extsearch_report_hitless.tpl @@ -1,47 +1,47 @@ -
- -[{if $drawStat}] - [{foreach from=$aStats item="aStat"}] - - - - -
- - - - - - - - - - - - - [{foreach name=outer item=classe from=$aStat.classes}] - [{foreach key=key item=curr_point from=$classe}] - - [{/foreach}] - [{/foreach}] - - - [{foreach name=outer item=percent from=$aStat.percents}] - [{foreach key=key item=curr_point from=$percent}] - - - - [{/foreach}] - [{/foreach}] - - - -
 
[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]
 
[{$key}]
[{$key}][{$aStat.sSearchDate}]
  
-
-
- [{/foreach}] -[{else}] - [{oxmultilang ident="GENERAL_NODATA"}] -[{/if}] -
- +
+ +[{if $drawStat}] + [{foreach from=$aStats item="aStat"}] + + + + +
+ + + + + + + + + + + + + [{foreach name=outer item=classe from=$aStat.classes}] + [{foreach key=key item=curr_point from=$classe}] + + [{/foreach}] + [{/foreach}] + + + [{foreach name=outer item=percent from=$aStat.percents}] + [{foreach key=key item=curr_point from=$percent}] + + + + [{/foreach}] + [{/foreach}] + + + +
 
[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]
 
[{$key}]
[{$key}][{$aStat.sSearchDate}]
  
+
+
+ [{/foreach}] +[{else}] + [{oxmultilang ident="GENERAL_NODATA"}] +[{/if}] +
+ diff --git a/src/Application/views/admin/tpl/reports/d3_extsearch_report_mostsearches.tpl b/src/Application/views/admin/tpl/reports/d3_extsearch_report_mostsearches.tpl index 146ff62..bc3bb7d 100644 --- a/src/Application/views/admin/tpl/reports/d3_extsearch_report_mostsearches.tpl +++ b/src/Application/views/admin/tpl/reports/d3_extsearch_report_mostsearches.tpl @@ -1,46 +1,46 @@ -
-[{if $drawStat}] - [{foreach from=$aStats item="aStat"}] - - - - -
- - - - - - - - - - - - - [{foreach name=outer item=classe from=$aStat.classes}] - [{foreach key=key item=curr_point from=$classe}] - - [{/foreach}] - [{/foreach}] - - - [{foreach name=outer item=percent from=$aStat.percents}] - [{foreach key=key item=curr_point from=$percent}] - - - - [{/foreach}] - [{/foreach}] - - - -
 
[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]
 
[{$key}]
[{$key}][{$aStat.sSearchDate}]
  
-
-
- [{/foreach}] - [{else}] -[{oxmultilang ident="GENERAL_NODATA"}] -[{/if}] -
- +
+[{if $drawStat}] + [{foreach from=$aStats item="aStat"}] + + + + +
+ + + + + + + + + + + + + [{foreach name=outer item=classe from=$aStat.classes}] + [{foreach key=key item=curr_point from=$classe}] + + [{/foreach}] + [{/foreach}] + + + [{foreach name=outer item=percent from=$aStat.percents}] + [{foreach key=key item=curr_point from=$percent}] + + + + [{/foreach}] + [{/foreach}] + + + +
 
[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]
 
[{$key}]
[{$key}][{$aStat.sSearchDate}]
  
+
+
+ [{/foreach}] + [{else}] +[{oxmultilang ident="GENERAL_NODATA"}] +[{/if}] +
+ diff --git a/src/Application/views/blocks/layout/d3_extsearch_css.tpl b/src/Application/views/blocks/layout/d3_extsearch_css.tpl index 7f84c4f..149faaa 100644 --- a/src/Application/views/blocks/layout/d3_extsearch_css.tpl +++ b/src/Application/views/blocks/layout/d3_extsearch_css.tpl @@ -1,18 +1,18 @@ -[{$smarty.block.parent}] - -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] - -[{if $mod_d3_extsearch}] - [{assign var="sCssName" value="out/src/css/d3extsearch_"|cat:$oModCfg_d3_extsearch->getMappedThemeId()|cat:".min.css"}] - - [{if $sAboveTheFoldCssFile}] - [{include file=$sAboveTheFoldCssFile assign="atfCss"}] - [{/if}] - - [{oxstyle include=$oViewConf->getModuleUrl('d3_extsearch', $sCssName)}] - [{if $atfCss}][{/if}] - - [{if $blSearchPluginInstall == '1' && $sSearchPluginURL}] - - [{/if}] -[{/if}] +[{$smarty.block.parent}] + +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] + +[{if $mod_d3_extsearch}] + [{assign var="sCssName" value="out/src/css/d3extsearch_"|cat:$oModCfg_d3_extsearch->getMappedThemeId()|cat:".min.css"}] + + [{if $sAboveTheFoldCssFile}] + [{include file=$sAboveTheFoldCssFile assign="atfCss"}] + [{/if}] + + [{oxstyle include=$oViewConf->getModuleUrl('d3_extsearch', $sCssName)}] + [{if $atfCss}][{/if}] + + [{if $blSearchPluginInstall == '1' && $sSearchPluginURL}] + + [{/if}] +[{/if}] diff --git a/src/Application/views/blocks/layout/d3_extsearch_js.tpl b/src/Application/views/blocks/layout/d3_extsearch_js.tpl index a27ab9e..cb97ac2 100644 --- a/src/Application/views/blocks/layout/d3_extsearch_js.tpl +++ b/src/Application/views/blocks/layout/d3_extsearch_js.tpl @@ -1,117 +1,117 @@ -[{$smarty.block.parent}] - -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] - -[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] - [{if $blUseSuggestSearch}] - [{strip}] - [{block name="d3_extsearch_js__suggest"}] - [{block name="d3_extsearch_js__suggest_jsfile"}] - [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch.min.js')}] - [{/block}] - - [{block name="d3_extsearch_js__suggest_jssuggestcall"}] - [{assign var="sCharSet" value="charset"|oxmultilangassign}] - [{capture name="d3script"}][{strip}] - $(document).ready(function () { - try { - $('#searchParam').d3extsearchsuggest({ - sWaitMessage: '[{$sD3QSWaitMessage|strip|oxescape:"htmlall":$sCharSet}]', - sParentThemeId: '[{$oModCfg_d3_extsearch->getReferenceThemeId()}]', - sRequestUrl: '[{$oViewConf->getModuleUrl('d3_extsearch')|cat:"public/d3_extsearch_response.php?shp="|cat:$oViewConf->getActiveShopId()|cat:"&"}]' - }); - } catch (e) { - [{* don't use console.error because of undefined break in PhantomJS while generating critical css *}] - console.log(e.message); - } - }); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3script}] - [{/block}] - - [{if !$blD3EmptySearch}] - [{assign var="sSBDefault" value="D3_EXTSEARCH_FIELD_NOTICE"|oxmultilangassign}] - [{oxscript add="var sD3SearchBoxDefault = '"|cat:$sSBDefault|cat:"';"}] - [{else}] - [{oxscript add="var sD3SearchBoxDefault = '';"}] - [{/if}] - [{/block}] - [{/strip}] - [{/if}] - - [{if $blD3ShowIAS}] - [{strip}] - [{block name="d3_extsearch_js__ias"}] - [{block name="d3_extsearch_js__ias_jsfile"}] - [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch_ias.min.js')}] - [{/block}] - - [{block name="d3_extsearch_js__suggest_jsiascall"}] - [{assign var="sCharSet" value="charset"|oxmultilangassign}] - [{capture name="d3script"}][{strip}] - $(document).ready(function () { - $(document).d3extsearchias(); - }); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3script}] - [{/block}] - -
-
-
X
- -
-
-
- [{$oViewConf->getHiddenSid()}] - - - - - -
-
-
- [{/block}] - [{/strip}] - [{/if}] - - [{if $blD3ShowSearchPopup}] - [{block name="d3_extsearch_js__popup"}] -
- [{oxmultilang ident="D3_EXTSEARCH_SEARCHINPROGRESS"}] -
- - - -
- [{/block}] - [{else}] - [{block name="d3_extsearch_js__nopopup"}] - - [{/block}] - [{/if}] +[{$smarty.block.parent}] + +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] + +[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] + [{if $blUseSuggestSearch}] + [{strip}] + [{block name="d3_extsearch_js__suggest"}] + [{block name="d3_extsearch_js__suggest_jsfile"}] + [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch.min.js')}] + [{/block}] + + [{block name="d3_extsearch_js__suggest_jssuggestcall"}] + [{assign var="sCharSet" value="charset"|oxmultilangassign}] + [{capture name="d3script"}][{strip}] + $(document).ready(function () { + try { + $('#searchParam').d3extsearchsuggest({ + sWaitMessage: '[{$sD3QSWaitMessage|strip|oxescape:"htmlall":$sCharSet}]', + sParentThemeId: '[{$oModCfg_d3_extsearch->getReferenceThemeId()}]', + sRequestUrl: '[{$oViewConf->getModuleUrl('d3_extsearch')|cat:"public/d3_extsearch_response.php?shp="|cat:$oViewConf->getActiveShopId()|cat:"&"}]' + }); + } catch (e) { + [{* don't use console.error because of undefined break in PhantomJS while generating critical css *}] + console.log(e.message); + } + }); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3script}] + [{/block}] + + [{if !$blD3EmptySearch}] + [{assign var="sSBDefault" value="D3_EXTSEARCH_FIELD_NOTICE"|oxmultilangassign}] + [{oxscript add="var sD3SearchBoxDefault = '"|cat:$sSBDefault|cat:"';"}] + [{else}] + [{oxscript add="var sD3SearchBoxDefault = '';"}] + [{/if}] + [{/block}] + [{/strip}] + [{/if}] + + [{if $blD3ShowIAS}] + [{strip}] + [{block name="d3_extsearch_js__ias"}] + [{block name="d3_extsearch_js__ias_jsfile"}] + [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch_ias.min.js')}] + [{/block}] + + [{block name="d3_extsearch_js__suggest_jsiascall"}] + [{assign var="sCharSet" value="charset"|oxmultilangassign}] + [{capture name="d3script"}][{strip}] + $(document).ready(function () { + $(document).d3extsearchias(); + }); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3script}] + [{/block}] + +
+
+
X
+ +
+
+
+ [{$oViewConf->getHiddenSid()}] + + + + + +
+
+
+ [{/block}] + [{/strip}] + [{/if}] + + [{if $blD3ShowSearchPopup}] + [{block name="d3_extsearch_js__popup"}] +
+ [{oxmultilang ident="D3_EXTSEARCH_SEARCHINPROGRESS"}] +
+ + + +
+ [{/block}] + [{else}] + [{block name="d3_extsearch_js__nopopup"}] + + [{/block}] + [{/if}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/blocks/page/list/d3extsearch_alist_filters.tpl b/src/Application/views/blocks/page/list/d3extsearch_alist_filters.tpl index a62f8b2..03640bd 100644 --- a/src/Application/views/blocks/page/list/d3extsearch_alist_filters.tpl +++ b/src/Application/views/blocks/page/list/d3extsearch_alist_filters.tpl @@ -1,17 +1,17 @@ -[{$smarty.block.parent}] - -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch && $blD3ShowFilters && !$place}] - [{assign var="sTplName" value="d3_list_filters_"|cat:$oModCfg_d3_extsearch->getMappedThemeId()|cat:'.tpl'}] - - [{block name="d3extsearch_alist_filters_general"}] - [{if $oModCfg_d3_extsearch->isThemeIdMappedTo('flow') || $oModCfg_d3_extsearch->isThemeIdMappedTo('wave')}] - [{capture append="oxidBlock_sidebar"}] - [{include file=$sTplName sidebar_class="d3sidebar" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] - [{/capture}] - [{else}] - [{** display filter across articles **}] - [{include file=$sTplName sidebar_class="d3topbar"}] - [{/if}] - [{/block}] +[{$smarty.block.parent}] + +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch && $blD3ShowFilters && !$place}] + [{assign var="sTplName" value="d3_list_filters_"|cat:$oModCfg_d3_extsearch->getMappedThemeId()|cat:'.tpl'}] + + [{block name="d3extsearch_alist_filters_general"}] + [{if $oModCfg_d3_extsearch->isThemeIdMappedTo('flow') || $oModCfg_d3_extsearch->isThemeIdMappedTo('wave')}] + [{capture append="oxidBlock_sidebar"}] + [{include file=$sTplName sidebar_class="d3sidebar" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] + [{/capture}] + [{else}] + [{** display filter across articles **}] + [{include file=$sTplName sidebar_class="d3topbar"}] + [{/if}] + [{/block}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/blocks/page/list/d3extsearch_alist_noartfilters.tpl b/src/Application/views/blocks/page/list/d3extsearch_alist_noartfilters.tpl index 5781c5c..406b7d1 100644 --- a/src/Application/views/blocks/page/list/d3extsearch_alist_noartfilters.tpl +++ b/src/Application/views/blocks/page/list/d3extsearch_alist_noartfilters.tpl @@ -1,27 +1,27 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch && $oView->getArticleList()|@count == 0 && $blD3HasSelectedFilters}] -
-
- [{$oViewConf->getHiddenSid()}] - - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - - [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}] - - [{block name="d3_inc_ext_search__filter_clear"}] -
- -
- [{/block}] -
-
-[{/if}] - +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch && $oView->getArticleList()|@count == 0 && $blD3HasSelectedFilters}] +
+
+ [{$oViewConf->getHiddenSid()}] + + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + + [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}] + + [{block name="d3_inc_ext_search__filter_clear"}] +
+ +
+ [{/block}] +
+
+[{/if}] + [{$smarty.block.parent}] \ No newline at end of file diff --git a/src/Application/views/blocks/page/search/d3_inc_ext_search.tpl b/src/Application/views/blocks/page/search/d3_inc_ext_search.tpl index 6117d7f..3191fe0 100644 --- a/src/Application/views/blocks/page/search/d3_inc_ext_search.tpl +++ b/src/Application/views/blocks/page/search/d3_inc_ext_search.tpl @@ -1,50 +1,50 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] - -[{if $mod_d3_extsearch}] - [{block name="d3extsearch_filters"}] - [{if $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] - [{include file="d3_inc_ext_search_mobile.tpl"}] - [{elseif $oModCfg_d3_extsearch->isThemeIdMappedTo('wave')}] - [{** to move the filters across the article boxes, remove the capture tags and the sidebar class definition**}] - [{capture append="oxidBlock_sidebar"}] - [{include file="d3_search_filters_wave.tpl" sidebar_class="d3sidebar" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] - [{/capture}] - - [{include file="d3_search_contents_wave.tpl" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] - [{elseif $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] - [{** to move the filters across the article boxes, remove the capture tags and the sidebar class definition**}] - [{capture append="oxidBlock_sidebar"}] - [{include file="d3_search_filters_flow.tpl" sidebar_class="d3sidebar" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] - [{/capture}] - [{include file="d3_search_contents_flow.tpl" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] - [{else}] - [{include file="d3_inc_ext_search_azure.tpl"}] - [{/if}] - - [{if $oView->getArticleList()|@count == 0 && $blD3HasSelectedFilters}] -
-
- [{$oViewConf->getHiddenSid()}] - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - - [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}] - - [{block name="d3_inc_ext_search__filter_clear"}] -
- -
- [{/block}] -
-
- [{/if}] - [{/block}] -[{/if}] - +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] + +[{if $mod_d3_extsearch}] + [{block name="d3extsearch_filters"}] + [{if $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] + [{include file="d3_inc_ext_search_mobile.tpl"}] + [{elseif $oModCfg_d3_extsearch->isThemeIdMappedTo('wave')}] + [{** to move the filters across the article boxes, remove the capture tags and the sidebar class definition**}] + [{capture append="oxidBlock_sidebar"}] + [{include file="d3_search_filters_wave.tpl" sidebar_class="d3sidebar" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] + [{/capture}] + + [{include file="d3_search_contents_wave.tpl" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] + [{elseif $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] + [{** to move the filters across the article boxes, remove the capture tags and the sidebar class definition**}] + [{capture append="oxidBlock_sidebar"}] + [{include file="d3_search_filters_flow.tpl" sidebar_class="d3sidebar" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] + [{/capture}] + [{include file="d3_search_contents_flow.tpl" themename=$oModCfg_d3_extsearch->getMappedThemeId()}] + [{else}] + [{include file="d3_inc_ext_search_azure.tpl"}] + [{/if}] + + [{if $oView->getArticleList()|@count == 0 && $blD3HasSelectedFilters}] +
+
+ [{$oViewConf->getHiddenSid()}] + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + + [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}] + + [{block name="d3_inc_ext_search__filter_clear"}] +
+ +
+ [{/block}] +
+
+ [{/if}] + [{/block}] +[{/if}] + [{$smarty.block.parent}] \ No newline at end of file diff --git a/src/Application/views/blocks/widget/header/d3_extsearch_headersearch.tpl b/src/Application/views/blocks/widget/header/d3_extsearch_headersearch.tpl index 0ea04c3..fefc993 100644 --- a/src/Application/views/blocks/widget/header/d3_extsearch_headersearch.tpl +++ b/src/Application/views/blocks/widget/header/d3_extsearch_headersearch.tpl @@ -1,19 +1,19 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] - -[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] - [{block name="widget_header_search_form_replacement"}] - [{capture assign="content"}][{$smarty.block.parent}][{/capture}] - - [{capture assign="search"}][{strip}] - name="search" - [{/strip}][{/capture}] - - [{capture assign="replace"}][{strip}] - name="search" id="search" onSubmit="d3_extsearch_popup.popup.load();" autocomplete="off" spellcheck="false" - [{/strip}][{/capture}] - - [{$content|replace:$search:$replace}] - [{/block}] -[{else}] - [{$smarty.block.parent}] -[{/if}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] + +[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] + [{block name="widget_header_search_form_replacement"}] + [{capture assign="content"}][{$smarty.block.parent}][{/capture}] + + [{capture assign="search"}][{strip}] + name="search" + [{/strip}][{/capture}] + + [{capture assign="replace"}][{strip}] + name="search" id="search" onSubmit="d3_extsearch_popup.popup.load();" autocomplete="off" spellcheck="false" + [{/strip}][{/capture}] + + [{$content|replace:$search:$replace}] + [{/block}] +[{else}] + [{$smarty.block.parent}] +[{/if}] diff --git a/src/Application/views/blocks/widget/header/d3_extsearch_searchfield.tpl b/src/Application/views/blocks/widget/header/d3_extsearch_searchfield.tpl index cdfda57..8ecd96f 100644 --- a/src/Application/views/blocks/widget/header/d3_extsearch_searchfield.tpl +++ b/src/Application/views/blocks/widget/header/d3_extsearch_searchfield.tpl @@ -1,49 +1,49 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] - -[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] - - [{block name="d3_extsearch_header_searchfield_searchparam"}] - [{capture assign="content"}][{$smarty.block.parent}][{/capture}] - - [{capture assign="search"}][{strip}] - id="searchParam" - [{/strip}][{/capture}] - - [{capture assign="replace"}][{strip}] - [{$search}] autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" suggestLeftOffsetPx="0" suggestTopOffsetPx="0" - [{/strip}][{/capture}] - - [{$content|replace:$search:$replace}] - [{/block}] - - [{if $blOwnFormFields}] - [{block name="d3_extsearch_header_searchfield_ownformfields"}] - [{*** Fuegen Sie hier bei Bedarf noch weitere Filtermoeglichkeiten hinzu ***}] - [{* Gesucht wird nach Teilen mit LIKE *}] - [{oxmultilang ident="D3_CUSTOMFIELDTEXT_LIKETITLE"}] -
- [{**}] - [{* Gesucht wird nach genauem Wortlaut mit = *}] - [{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISARTNUM"}] -
- [{**}] - [{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENSTOCK"}] -
- [{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENPRICE"}] -
- [{/block}] - [{/if}] -[{else}] - [{$smarty.block.parent}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] + +[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('mobile')}] + + [{block name="d3_extsearch_header_searchfield_searchparam"}] + [{capture assign="content"}][{$smarty.block.parent}][{/capture}] + + [{capture assign="search"}][{strip}] + id="searchParam" + [{/strip}][{/capture}] + + [{capture assign="replace"}][{strip}] + [{$search}] autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" suggestLeftOffsetPx="0" suggestTopOffsetPx="0" + [{/strip}][{/capture}] + + [{$content|replace:$search:$replace}] + [{/block}] + + [{if $blOwnFormFields}] + [{block name="d3_extsearch_header_searchfield_ownformfields"}] + [{*** Fuegen Sie hier bei Bedarf noch weitere Filtermoeglichkeiten hinzu ***}] + [{* Gesucht wird nach Teilen mit LIKE *}] + [{oxmultilang ident="D3_CUSTOMFIELDTEXT_LIKETITLE"}] +
+ [{**}] + [{* Gesucht wird nach genauem Wortlaut mit = *}] + [{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISARTNUM"}] +
+ [{**}] + [{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENSTOCK"}] +
+ [{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENPRICE"}] +
+ [{/block}] + [{/if}] +[{else}] + [{$smarty.block.parent}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/blocks/widget/locator/d3_list_disabledefaultfilters.tpl b/src/Application/views/blocks/widget/locator/d3_list_disabledefaultfilters.tpl index e057828..b4e159e 100644 --- a/src/Application/views/blocks/widget/locator/d3_list_disabledefaultfilters.tpl +++ b/src/Application/views/blocks/widget/locator/d3_list_disabledefaultfilters.tpl @@ -1,2 +1,2 @@ -[{** don't display default block content (original attribute filters)**}] -[{*$smarty.block.parent*}] +[{** don't display default block content (original attribute filters)**}] +[{*$smarty.block.parent*}] diff --git a/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_flowtitlebox.tpl b/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_flowtitlebox.tpl index e0f4eff..c01eaa0 100644 --- a/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_flowtitlebox.tpl +++ b/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_flowtitlebox.tpl @@ -1,16 +1,16 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] -
- -[{*** D3 Modul "extSearch" CHANGE START ***}] - [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] -[{*** D3 Modul "extSearch" CHANGE END ***}] - -[{*** D3 Modul "extSearch" ADD START ***}] - [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] - [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] -[{*** D3 Modul "extSearch" ADD END ***}] -
-[{else}] - [{$smarty.block.parent}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] +
+ +[{*** D3 Modul "extSearch" CHANGE START ***}] + [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] +[{*** D3 Modul "extSearch" CHANGE END ***}] + +[{*** D3 Modul "extSearch" ADD START ***}] + [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] + [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] +[{*** D3 Modul "extSearch" ADD END ***}] +
+[{else}] + [{$smarty.block.parent}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_title.tpl b/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_title.tpl index b7db2d2..f89a709 100644 --- a/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_title.tpl +++ b/src/Application/views/blocks/widget/product/d3_extsearch_listitemgrid_title.tpl @@ -1,92 +1,92 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] - [{assign var="product" value=$oView->getProduct()}] - [{assign var="blDisableToCart" value=$oView->getDisableToCart()}] - [{assign var="iIndex" value=$oView->getIndex()}] - [{assign var="showMainLink" value=$oView->getShowMainLink()}] - - [{if $showMainLink}] - [{assign var='_productLink' value=$product->getMainLink()}] - [{else}] - [{assign var='_productLink' value=$product->getLink()}] - [{/if}] - [{assign var="blShowToBasket" value=true}] [{* tobasket or more info ? *}] - [{if $blDisableToCart || $product->isNotBuyable()||$product->hasMdVariants()||($oViewConf->showSelectListsInList() && $product->getSelections(1))||$product->getVariants()}] - [{assign var="blShowToBasket" value=false}] - [{/if}] - [{capture name=product_price}] - [{block name="widget_product_listitem_grid_price"}] - [{oxhasrights ident="SHOWARTICLEPRICE"}] - [{if $product->getTPrice()}] - - [{oxmultilang ident="REDUCED_FROM_2"}] [{oxprice price=$product->getTPrice() currency=$oView->getActCurrency()}] - - [{/if}] - [{block name="widget_product_listitem_grid_price_value"}] - [{if $product->getPrice()}] - - - [{if $product->isRangePrice()}] - [{oxmultilang ident="PRICE_FROM"}] - [{if !$product->isParentNotBuyable()}] - [{assign var="oPrice" value=$product->getMinPrice()}] - [{else}] - [{assign var="oPrice" value=$product->getVarMinPrice()}] - [{/if}] - [{else}] - [{if !$product->isParentNotBuyable()}] - [{assign var="oPrice" value=$product->getPrice()}] - [{else}] - [{assign var="oPrice" value=$product->getVarMinPrice()}] - [{/if}] - [{/if}] - - [{oxprice price=$oPrice currency=$oView->getActCurrency()}] - [{if $oView->isVatIncluded()}] - [{if !($product->hasMdVariants() || ($oViewConf->showSelectListsInList() && $product->getSelections(1)) || $product->getVariants())}] *[{/if}] - [{/if}] - - [{/if}] - [{/block}] - [{if $product->getUnitPrice()}] - - [{$product->getUnitQuantity()}] [{$product->getUnitName()}] | [{oxprice price=$product->getUnitPrice() currency=$oView->getActCurrency()}] /[{$product->getUnitName()}] - - [{elseif $product->oxarticles__oxweight->value}] - - [{oxmultilang ident="WEIGHT" suffix="COLON"}] - [{$product->oxarticles__oxweight->value}] [{oxmultilang ident="KG"}] - - [{/if}] - [{/oxhasrights}] - [{/block}] - [{/capture}] - - -[{*** D3 Modul "extSearch" CHANGE START ***}] - [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] - [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] - [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] -[{*** D3 Modul "extSearch" CHANGE END ***}] - -
- [{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}] -
-
- - [{block name="widget_product_listitem_grid_tobasket"}] -
- [{oxhasrights ident="TOBASKET"}] - [{$smarty.capture.product_price}] - [{if !$blShowToBasket}] - [{oxmultilang ident="MORE_INFO"}] - [{else}] - [{assign var="listType" value=$oView->getListType()}] - oxarticles__oxid->value`&am=1"}]" class="toCart button" title="[{oxmultilang ident="TO_CART"}]">[{oxmultilang ident="TO_CART"}] - [{/if}] - [{/oxhasrights}] -
- [{/block}] -[{else}] - [{$smarty.block.parent}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] + [{assign var="product" value=$oView->getProduct()}] + [{assign var="blDisableToCart" value=$oView->getDisableToCart()}] + [{assign var="iIndex" value=$oView->getIndex()}] + [{assign var="showMainLink" value=$oView->getShowMainLink()}] + + [{if $showMainLink}] + [{assign var='_productLink' value=$product->getMainLink()}] + [{else}] + [{assign var='_productLink' value=$product->getLink()}] + [{/if}] + [{assign var="blShowToBasket" value=true}] [{* tobasket or more info ? *}] + [{if $blDisableToCart || $product->isNotBuyable()||$product->hasMdVariants()||($oViewConf->showSelectListsInList() && $product->getSelections(1))||$product->getVariants()}] + [{assign var="blShowToBasket" value=false}] + [{/if}] + [{capture name=product_price}] + [{block name="widget_product_listitem_grid_price"}] + [{oxhasrights ident="SHOWARTICLEPRICE"}] + [{if $product->getTPrice()}] + + [{oxmultilang ident="REDUCED_FROM_2"}] [{oxprice price=$product->getTPrice() currency=$oView->getActCurrency()}] + + [{/if}] + [{block name="widget_product_listitem_grid_price_value"}] + [{if $product->getPrice()}] + + + [{if $product->isRangePrice()}] + [{oxmultilang ident="PRICE_FROM"}] + [{if !$product->isParentNotBuyable()}] + [{assign var="oPrice" value=$product->getMinPrice()}] + [{else}] + [{assign var="oPrice" value=$product->getVarMinPrice()}] + [{/if}] + [{else}] + [{if !$product->isParentNotBuyable()}] + [{assign var="oPrice" value=$product->getPrice()}] + [{else}] + [{assign var="oPrice" value=$product->getVarMinPrice()}] + [{/if}] + [{/if}] + + [{oxprice price=$oPrice currency=$oView->getActCurrency()}] + [{if $oView->isVatIncluded()}] + [{if !($product->hasMdVariants() || ($oViewConf->showSelectListsInList() && $product->getSelections(1)) || $product->getVariants())}] *[{/if}] + [{/if}] + + [{/if}] + [{/block}] + [{if $product->getUnitPrice()}] + + [{$product->getUnitQuantity()}] [{$product->getUnitName()}] | [{oxprice price=$product->getUnitPrice() currency=$oView->getActCurrency()}] /[{$product->getUnitName()}] + + [{elseif $product->oxarticles__oxweight->value}] + + [{oxmultilang ident="WEIGHT" suffix="COLON"}] + [{$product->oxarticles__oxweight->value}] [{oxmultilang ident="KG"}] + + [{/if}] + [{/oxhasrights}] + [{/block}] + [{/capture}] + + +[{*** D3 Modul "extSearch" CHANGE START ***}] + [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] + [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] + [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] +[{*** D3 Modul "extSearch" CHANGE END ***}] + +
+ [{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}] +
+
+ + [{block name="widget_product_listitem_grid_tobasket"}] +
+ [{oxhasrights ident="TOBASKET"}] + [{$smarty.capture.product_price}] + [{if !$blShowToBasket}] + [{oxmultilang ident="MORE_INFO"}] + [{else}] + [{assign var="listType" value=$oView->getListType()}] + oxarticles__oxid->value`&am=1"}]" class="toCart button" title="[{oxmultilang ident="TO_CART"}]">[{oxmultilang ident="TO_CART"}] + [{/if}] + [{/oxhasrights}] +
+ [{/block}] +[{else}] + [{$smarty.block.parent}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/blocks/widget/product/d3_extsearch_listiteminfogrid_title.tpl b/src/Application/views/blocks/widget/product/d3_extsearch_listiteminfogrid_title.tpl index 0fbf18f..9e85433 100644 --- a/src/Application/views/blocks/widget/product/d3_extsearch_listiteminfogrid_title.tpl +++ b/src/Application/views/blocks/widget/product/d3_extsearch_listiteminfogrid_title.tpl @@ -1,24 +1,24 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch}] - [{if $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] -
- - [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] - - - [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] - [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] -
- [{else}] -
- - [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] - - - [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] - [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] -
- [{/if}] -[{else}] - [{$smarty.block.parent}] -[{/if}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch}] + [{if $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] +
+ + [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] + + + [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] + [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] +
+ [{else}] +
+ + [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] + + + [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] + [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] +
+ [{/if}] +[{else}] + [{$smarty.block.parent}] +[{/if}] diff --git a/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_description.tpl b/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_description.tpl index 3010df3..dcd5ab0 100644 --- a/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_description.tpl +++ b/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_description.tpl @@ -1,15 +1,15 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] - -[{if $mod_d3_extsearch}] -
- [{if $recommid}] -
[{d3_extsearch_highlight text=$product->text|truncate:160:"..."}]
- [{else}] - [{oxhasrights ident="SHOWSHORTDESCRIPTION"}] - [{d3_extsearch_highlight text=$product->oxarticles__oxshortdesc->value|truncate:160:"..."}] - [{/oxhasrights}] - [{/if}] -
-[{else}] - [{$smarty.block.parent}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] + +[{if $mod_d3_extsearch}] +
+ [{if $recommid}] +
[{d3_extsearch_highlight text=$product->text|truncate:160:"..."}]
+ [{else}] + [{oxhasrights ident="SHOWSHORTDESCRIPTION"}] + [{d3_extsearch_highlight text=$product->oxarticles__oxshortdesc->value|truncate:160:"..."}] + [{/oxhasrights}] + [{/if}] +
+[{else}] + [{$smarty.block.parent}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_flowtitlebox.tpl b/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_flowtitlebox.tpl index e3c078e..03c723d 100644 --- a/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_flowtitlebox.tpl +++ b/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_flowtitlebox.tpl @@ -1,19 +1,19 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] - -
- -[{*** D3 Modul "extSearch" CHANGE START ***}] - [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] - [{*** D3 Modul "extSearch" CHANGE END ***}] - - -[{*** D3 Modul "extSearch" ADD START ***}] - [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] - [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] -[{*** D3 Modul "extSearch" ADD END ***}] -
- -[{else}] - [{$smarty.block.parent}] -[{/if}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] + +
+ +[{*** D3 Modul "extSearch" CHANGE START ***}] + [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] + [{*** D3 Modul "extSearch" CHANGE END ***}] + + +[{*** D3 Modul "extSearch" ADD START ***}] + [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] + [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] +[{*** D3 Modul "extSearch" ADD END ***}] +
+ +[{else}] + [{$smarty.block.parent}] +[{/if}] diff --git a/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_selections.tpl b/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_selections.tpl index 45a4fc9..e733ac3 100644 --- a/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_selections.tpl +++ b/src/Application/views/blocks/widget/product/d3_extsearch_listitemline_selections.tpl @@ -1,30 +1,30 @@ -[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] -[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] -
- - [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] - - [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] - [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] -
- [{if $aVariantSelections && $aVariantSelections.selections}] -
- [{foreach from=$aVariantSelections.selections item=oSelectionList key=iKey}] - [{include file="widget/product/selectbox.tpl" oSelectionList=$oSelectionList sJsAction="js-fnSubmit"}] - [{/foreach}] -
- [{elseif $oViewConf->showSelectListsInList()}] - [{assign var="oSelections" value=$product->getSelections(1)}] - [{if $oSelections}] -
- [{foreach from=$oSelections item=oList name=selections}] - [{include file="widget/product/selectbox.tpl" oSelectionList=$oList sFieldName="sel" iKey=$smarty.foreach.selections.index blHideDefault=true sSelType="seldrop" sJsAction="js-fnSubmit"}] - [{/foreach}] -
- [{/if}] - [{/if}] -
-
-[{else}] - [{$smarty.block.parent}] -[{/if}] +[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}] +[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}] +
+ + [{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}] + + [{if $product->blIsSimilar}][{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}][{/if}] + [{if $product->isD3CatHit}][{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}][{/if}] +
+ [{if $aVariantSelections && $aVariantSelections.selections}] +
+ [{foreach from=$aVariantSelections.selections item=oSelectionList key=iKey}] + [{include file="widget/product/selectbox.tpl" oSelectionList=$oSelectionList sJsAction="js-fnSubmit"}] + [{/foreach}] +
+ [{elseif $oViewConf->showSelectListsInList()}] + [{assign var="oSelections" value=$product->getSelections(1)}] + [{if $oSelections}] +
+ [{foreach from=$oSelections item=oList name=selections}] + [{include file="widget/product/selectbox.tpl" oSelectionList=$oList sFieldName="sel" iKey=$smarty.foreach.selections.index blHideDefault=true sSelType="seldrop" sJsAction="js-fnSubmit"}] + [{/foreach}] +
+ [{/if}] + [{/if}] +
+
+[{else}] + [{$smarty.block.parent}] +[{/if}] diff --git a/src/Application/views/tpl/azure/d3_inc_ext_search.tpl b/src/Application/views/tpl/azure/d3_inc_ext_search.tpl index 8ff1be1..088af2d 100644 --- a/src/Application/views/tpl/azure/d3_inc_ext_search.tpl +++ b/src/Application/views/tpl/azure/d3_inc_ext_search.tpl @@ -1,200 +1,200 @@ -[{if !$oView->getArticleCount()}] - [{block name="d3_cfg_extsearch_search_noarticlemessage"}] -

[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]

- [{oxcontent ident="d3extsearch_noarticlefound"}] - [{/block}] -[{/if}] - -[{if $oView->d3GetCMSList()}] - [{block name="d3_cfg_extsearch_search_cms_results"}] -
-

- [{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}] -

-
- - - [{foreach from=$oView->d3GetCMSList() item="oContent"}] - [{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}] - [{math equation="100-s" s=$TitleCharCount assign="iTextLength"}] - - [{/foreach}] -
-
-
- [{/block}] -[{/if}] - -[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}] -[{if $similarSearch}] - [{block name="d3_cfg_extsearch_search_similar_messages"}] -
-
- [{if $similarSearch == 'similar'}] - [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}] - [{elseif $similarSearch == 'combined'}] - [{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}] - [{/if}] -
-
- [{/block}] -[{/if}] - -[{if $blSearchPluginLink == 1}] - [{block name="d3_cfg_extsearch_search_plugin"}] -
-

- [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}] -

-
- - [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}] - -
-
- [{/block}] -[{/if}] - -[{if $oView->d3HasFilters()}] - [{block name="d3_cfg_extsearch_search_filters"}] -
- [{block name="d3_cfg_extsearch_search_filters_headline"}] -

- [{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}] -

- [{/block}] - - [{block name="d3_cfg_extsearch_search_filters_content"}] -
-
- [{$oViewConf->getHiddenSid()}] - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - - [{block name="d3_inc_ext_search__filter"}] - [{if $oView->d3HasCategoryList()}] - [{block name="d3_inc_ext_search__filter_category"}] - [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] - [{/block}] - [{/if}] - - [{if $oView->d3HasVendorList()}] - [{block name="d3_inc_ext_search__filter_vendor"}] - [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] - [{/block}] - [{/if}] - - [{if $oView->d3HasManufacturerList()}] - [{block name="d3_inc_ext_search__filter_manufacturer"}] - [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] - [{/block}] - [{/if}] - - [{if $oView->d3HasAttributeList()}] - [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] - [{block name="d3_inc_ext_search__filter_attribute"}] - [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] - [{/block}] - [{/foreach}] - [{/if}] - - [{if $oView->d3HasPriceFilter()}] - [{block name="d3_inc_ext_search__filter_price"}] - [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] - [{/block}] - [{/if}] - - - - [{block name="d3_inc_ext_search__filter_clear"}] -
- -
- [{/block}] - -
- [{/block}] -
-
- [{/block}] -
- [{/block}] -[{/if}] - -[{if $oView->d3HasIndexList()}] - [{block name="d3_cfg_extsearch_search_index"}] -
- [{include file="d3_ext_search_filter.tpl" d3fdesc="D3_EXTSEARCH_EXT_ALL"|oxmultilangassign d3fparam="all"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="A"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="B"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="C"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="D"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="E"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="F"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="G"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="H"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="I"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="J"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="K"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="L"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="M"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="N"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="O"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="P"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Q"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="R"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="S"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="T"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="U"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="V"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="W"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="X"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Y"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Z"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="1"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="2"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="3"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="4"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="5"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="6"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="7"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="8"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="9"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="0"}] -
- [{/block}] -[{/if}] +[{if !$oView->getArticleCount()}] + [{block name="d3_cfg_extsearch_search_noarticlemessage"}] +

[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]

+ [{oxcontent ident="d3extsearch_noarticlefound"}] + [{/block}] +[{/if}] + +[{if $oView->d3GetCMSList()}] + [{block name="d3_cfg_extsearch_search_cms_results"}] +
+

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}] +

+
+ + + [{foreach from=$oView->d3GetCMSList() item="oContent"}] + [{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}] + [{math equation="100-s" s=$TitleCharCount assign="iTextLength"}] + + [{/foreach}] +
+
+
+ [{/block}] +[{/if}] + +[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}] +[{if $similarSearch}] + [{block name="d3_cfg_extsearch_search_similar_messages"}] +
+
+ [{if $similarSearch == 'similar'}] + [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}] + [{elseif $similarSearch == 'combined'}] + [{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}] + [{/if}] +
+
+ [{/block}] +[{/if}] + +[{if $blSearchPluginLink == 1}] + [{block name="d3_cfg_extsearch_search_plugin"}] +
+

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}] +

+
+ + [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}] + +
+
+ [{/block}] +[{/if}] + +[{if $oView->d3HasFilters()}] + [{block name="d3_cfg_extsearch_search_filters"}] +
+ [{block name="d3_cfg_extsearch_search_filters_headline"}] +

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}] +

+ [{/block}] + + [{block name="d3_cfg_extsearch_search_filters_content"}] +
+
+ [{$oViewConf->getHiddenSid()}] + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + + [{block name="d3_inc_ext_search__filter"}] + [{if $oView->d3HasCategoryList()}] + [{block name="d3_inc_ext_search__filter_category"}] + [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] + [{/block}] + [{/if}] + + [{if $oView->d3HasVendorList()}] + [{block name="d3_inc_ext_search__filter_vendor"}] + [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] + [{/block}] + [{/if}] + + [{if $oView->d3HasManufacturerList()}] + [{block name="d3_inc_ext_search__filter_manufacturer"}] + [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] + [{/block}] + [{/if}] + + [{if $oView->d3HasAttributeList()}] + [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] + [{block name="d3_inc_ext_search__filter_attribute"}] + [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] + [{/block}] + [{/foreach}] + [{/if}] + + [{if $oView->d3HasPriceFilter()}] + [{block name="d3_inc_ext_search__filter_price"}] + [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] + [{/block}] + [{/if}] + + + + [{block name="d3_inc_ext_search__filter_clear"}] +
+ +
+ [{/block}] + +
+ [{/block}] +
+
+ [{/block}] +
+ [{/block}] +[{/if}] + +[{if $oView->d3HasIndexList()}] + [{block name="d3_cfg_extsearch_search_index"}] +
+ [{include file="d3_ext_search_filter.tpl" d3fdesc="D3_EXTSEARCH_EXT_ALL"|oxmultilangassign d3fparam="all"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="A"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="B"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="C"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="D"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="E"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="F"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="G"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="H"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="I"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="J"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="K"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="L"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="M"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="N"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="O"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="P"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Q"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="R"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="S"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="T"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="U"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="V"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="W"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="X"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Y"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Z"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="1"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="2"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="3"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="4"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="5"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="6"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="7"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="8"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="9"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="0"}] +
+ [{/block}] +[{/if}] diff --git a/src/Application/views/tpl/azure/d3extsearch_alist_filters.tpl b/src/Application/views/tpl/azure/d3extsearch_alist_filters.tpl index dd1ceb1..5ddb464 100644 --- a/src/Application/views/tpl/azure/d3extsearch_alist_filters.tpl +++ b/src/Application/views/tpl/azure/d3extsearch_alist_filters.tpl @@ -1,66 +1,66 @@ -[{if $oView->d3HasFilters()}] - [{block name="d3_cfg_extsearch_alist_filters"}] -
- [{$oViewConf->getHiddenSid()}] - - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - -
- [{block name="d3_inc_ext_search__filter"}] - [{if $oView->d3HasCategoryList()}] - [{block name="d3_inc_ext_search__filter_category"}] - [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] - [{/block}] - [{/if}] - - [{if $oView->d3HasVendorList()}] - [{block name="d3_inc_ext_search__filter_vendor"}] - [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] - [{/block}] - [{/if}] - - [{if $oView->d3HasManufacturerList()}] - [{block name="d3_inc_ext_search__filter_manufacturer"}] - [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] - [{/block}] - [{/if}] - - [{if $oView->d3HasAttributeList()}] - [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] - [{block name="d3_inc_ext_search__filter_attribute"}] - [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] - [{/block}] - [{/foreach}] - [{/if}] - - [{if $oView->d3HasPriceFilter()}] - [{block name="d3_inc_ext_search__filter_price"}] - [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] - [{/block}] - [{/if}] - - - - [{block name="d3_inc_ext_search__filter_clear"}] -
- -
- [{/block}] - [{/block}] -
-
- [{/block}] -[{/if}] +[{if $oView->d3HasFilters()}] + [{block name="d3_cfg_extsearch_alist_filters"}] +
+ [{$oViewConf->getHiddenSid()}] + + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + +
+ [{block name="d3_inc_ext_search__filter"}] + [{if $oView->d3HasCategoryList()}] + [{block name="d3_inc_ext_search__filter_category"}] + [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] + [{/block}] + [{/if}] + + [{if $oView->d3HasVendorList()}] + [{block name="d3_inc_ext_search__filter_vendor"}] + [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] + [{/block}] + [{/if}] + + [{if $oView->d3HasManufacturerList()}] + [{block name="d3_inc_ext_search__filter_manufacturer"}] + [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] + [{/block}] + [{/if}] + + [{if $oView->d3HasAttributeList()}] + [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] + [{block name="d3_inc_ext_search__filter_attribute"}] + [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] + [{/block}] + [{/foreach}] + [{/if}] + + [{if $oView->d3HasPriceFilter()}] + [{block name="d3_inc_ext_search__filter_price"}] + [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] + [{/block}] + [{/if}] + + + + [{block name="d3_inc_ext_search__filter_clear"}] +
+ +
+ [{/block}] + [{/block}] +
+
+ [{/block}] +[{/if}] diff --git a/src/Application/views/tpl/d3_ddoevisualcmsadmin_extsearch.tpl b/src/Application/views/tpl/d3_ddoevisualcmsadmin_extsearch.tpl index 4995058..720f909 100644 --- a/src/Application/views/tpl/d3_ddoevisualcmsadmin_extsearch.tpl +++ b/src/Application/views/tpl/d3_ddoevisualcmsadmin_extsearch.tpl @@ -1,51 +1,51 @@ -[{block name="d3_cfg_extsearch_visualcms"}] - -[{capture name="sOxidContent"}][{strip}] - [{include file=$sOriginalTplName}] -[{/strip}][{/capture}] - -[{capture name="sSearchContent"}][{strip}] -
-[{/strip}][{/capture}] - -[{capture name="sModuleContent"}] -
-
- -
- -
-
-[{/capture}] - -[{$smarty.capture.sOxidContent|replace:$smarty.capture.sSearchContent:$smarty.capture.sModuleContent}] - -[{capture name="d3JsFnc"}][{strip}] - $('ul.nav-tabs').find('li a[href="#tab_settings_advanced"]').click(function() { - var CmsId = $('div.selectize-input').find('div.item').attr('data-value'); - var isNewItem = $('#elm_edit_new').is(":checked"); - - if (CmsId != 'CMSFOLDER_NONE' && !isNewItem) { - sURI = "[{$oViewConf->getSelfLink()}]" + "&cl=[{$oViewConf->getActiveClassName()}]&fnc=d3GetIsSearchStatus" + "&id=" + encodeURIComponent(CmsId); - sURI = sURI.replace(/&/g, '&'); - - $.ajax({ - url: sURI, - type: "GET", - success: function (a) { - $('#elm_edit_d3issearchable').prop("checked", a == 'true'); - } - }) - } else { - $('#elm_edit_d3issearchable').prop("checked", false); - } - }); -[{/strip}][{/capture}] -[{oxscript add=$smarty.capture.d3JsFnc}] -[{oxscript}] - +[{block name="d3_cfg_extsearch_visualcms"}] + +[{capture name="sOxidContent"}][{strip}] + [{include file=$sOriginalTplName}] +[{/strip}][{/capture}] + +[{capture name="sSearchContent"}][{strip}] +
+[{/strip}][{/capture}] + +[{capture name="sModuleContent"}] +
+
+ +
+ +
+
+[{/capture}] + +[{$smarty.capture.sOxidContent|replace:$smarty.capture.sSearchContent:$smarty.capture.sModuleContent}] + +[{capture name="d3JsFnc"}][{strip}] + $('ul.nav-tabs').find('li a[href="#tab_settings_advanced"]').click(function() { + var CmsId = $('div.selectize-input').find('div.item').attr('data-value'); + var isNewItem = $('#elm_edit_new').is(":checked"); + + if (CmsId != 'CMSFOLDER_NONE' && !isNewItem) { + sURI = "[{$oViewConf->getSelfLink()}]" + "&cl=[{$oViewConf->getActiveClassName()}]&fnc=d3GetIsSearchStatus" + "&id=" + encodeURIComponent(CmsId); + sURI = sURI.replace(/&/g, '&'); + + $.ajax({ + url: sURI, + type: "GET", + success: function (a) { + $('#elm_edit_d3issearchable').prop("checked", a == 'true'); + } + }) + } else { + $('#elm_edit_d3issearchable').prop("checked", false); + } + }); +[{/strip}][{/capture}] +[{oxscript add=$smarty.capture.d3JsFnc}] +[{oxscript}] + [{/block}] \ No newline at end of file diff --git a/src/Application/views/tpl/d3_ext_search_filter.tpl b/src/Application/views/tpl/d3_ext_search_filter.tpl index b59cf07..28970ca 100644 --- a/src/Application/views/tpl/d3_ext_search_filter.tpl +++ b/src/Application/views/tpl/d3_ext_search_filter.tpl @@ -1,11 +1,11 @@ -[{block name="d3_cfg_extsearch_indexletter"}] - [{if $oView->isHitForIndexLetter($d3fparam)}] - - [{else}] - - [{/if}] +[{block name="d3_cfg_extsearch_indexletter"}] + [{if $oView->isHitForIndexLetter($d3fparam)}] + + [{else}] + + [{/if}] [{/block}] \ No newline at end of file diff --git a/src/Application/views/tpl/d3_ext_search_highlight.tpl b/src/Application/views/tpl/d3_ext_search_highlight.tpl index f9adbfa..9004279 100644 --- a/src/Application/views/tpl/d3_ext_search_highlight.tpl +++ b/src/Application/views/tpl/d3_ext_search_highlight.tpl @@ -1,3 +1,3 @@ -[{block name="d3_cfg_extsearch_highlight"}][{strip}] - [{$content}] +[{block name="d3_cfg_extsearch_highlight"}][{strip}] + [{$content}] [{/strip}][{/block}] \ No newline at end of file diff --git a/src/Application/views/tpl/d3_ext_search_suggestsearch.tpl b/src/Application/views/tpl/d3_ext_search_suggestsearch.tpl index c7643e3..ab37fdd 100644 --- a/src/Application/views/tpl/d3_ext_search_suggestsearch.tpl +++ b/src/Application/views/tpl/d3_ext_search_suggestsearch.tpl @@ -1,150 +1,150 @@ -[{block name="d3extsearch_suggest_main"}] -
-
- [{block name="d3extsearch_suggest_headline"}] - [{if $blStartSearch}] - [{oxmultilang ident="D3_EXTSEARCH_QUICK_SEARCH"}] - [{else}] - - [{if $useMultipleObjectTypes}] - [{oxmultilang ident="D3_EXTSEARCH_QUICK_MULTIPLEHITS"}] - [{else}] - [{$iHitCount}] [{if $similar}][{oxmultilang ident="D3_EXTSEARCH_QUICK_SIMILARHITS"}][{else}][{oxmultilang ident="D3_EXTSEARCH_QUICK_HITS"}][{/if}] "[{$sSearchparam}]" - [{/if}] - [{/if}] - [{/block}] -
- - [{capture assign="sCssClasses"}][{strip}] - [{if !$blStartSearch}] - [{if $oHitList && $oHitList->count()}] hasArticleItems[{/if}] - [{if $oCatHitList && $oCatHitList->count()}] hasCategoryItems[{/if}] - [{if $oManHitList && $oManHitList->count()}] hasManufacturerItems[{/if}] - [{if $oVendorHitList && $oVendorHitList->count()}] hasVendorItems[{/if}] - [{if $oContentHitList && $oContentHitList->count()}] hasContentItems[{/if}] - [{/if}] - [{/strip}][{/capture}] - - [{strip}] - [{if !$blStartSearch}] - [{block name="d3extsearch_suggest_list"}] -
- - [{if $oHitList->count()}] - [{block name="d3extsearch_suggest_list_article"}] -
-

[{oxmultilang ident="PRODUCTS"}]

- [{foreach name="hitlist" from=$oHitList item="oHit"}] - [{block name="d3extsearch_suggest_listitem_article"}] - [{strip}] - -
[{$oHit->getFieldData('oxtitle')}]
- [{$oHit->getFieldData('oxtitle')}] - [{if $oHit->getFieldData('oxvarselect')}] [{$oHit->getFieldData('oxvarselect')}][{/if}] -
- [{/strip}] - [{assign var="blItem" value=true}] - [{/block}] - [{/foreach}] -
- [{/block}] - [{/if}] - - [{if $useMultipleObjectTypes && $oCatHitList->count()}] - [{block name="d3extsearch_suggest_list_category"}] -
-

[{oxmultilang ident="CATEGORIES"}]

- [{foreach name="cathitlist" from=$oCatHitList item="oHit"}] - [{block name="d3extsearch_suggest_listitem_category"}] - [{strip}] - - [{$oHit->getFieldData('oxtitle')}] - - [{/strip}] - [{assign var="blItem" value=true}] - [{/block}] - [{/foreach}] -
- [{/block}] - [{/if}] - - [{if $useMultipleObjectTypes && $oManHitList->count()}] - [{block name="d3extsearch_suggest_list_manufacturer"}] -
-

[{oxmultilang ident="MANUFACTURERS"}]

- [{foreach name="manhitlist" from=$oManHitList item="oHit"}] - [{block name="d3extsearch_suggest_listitem_manufacturer"}] - [{strip}] - - [{$oHit->getFieldData('oxtitle')}] - - [{/strip}] - [{assign var="blItem" value=true}] - [{/block}] - [{/foreach}] -
- [{/block}] - [{/if}] - - [{if $useMultipleObjectTypes && $oVendorHitList->count()}] - [{block name="d3extsearch_suggest_list_vendor"}] -
-

[{oxmultilang ident="DISTRIBUTORS"}]

- [{foreach name="vendorhitlist" from=$oVendorHitList item="oHit"}] - [{block name="d3extsearch_suggest_listitem_vendor"}] - [{strip}] - - [{$oHit->getFieldData('oxtitle')}] - - [{/strip}] - [{assign var="blItem" value=true}] - [{/block}] - [{/foreach}] -
- [{/block}] - [{/if}] - - [{if $useMultipleObjectTypes && $oContentHitList->count()}] - [{block name="d3extsearch_suggest_list_content"}] -
-

[{oxmultilang ident="SERVICES"}]

- [{foreach name="contenthitlist" from=$oContentHitList item="oHit"}] - [{block name="d3extsearch_suggest_listitem_content"}] - [{strip}] - - [{$oHit->getFieldData('oxtitle')}] - - [{/strip}] - [{assign var="blItem" value=true}] - [{/block}] - [{/foreach}] -
- [{/block}] - [{/if}] - - [{block name="d3extsearch_suggest_furtherlinks"}] - [{if $blToMuchHits}] - - [{oxmultilang ident="D3_EXTSEARCH_QUICK_TOMUCHHITS"}] - - [{elseif !$blItem}] - - [{oxmultilang ident="D3_EXTSEARCH_QUICK_NOHIT"}] - - [{/if}] - [{/block}] -
- [{/block}] - [{if $oHit}] - [{block name="d3extsearch_suggest_searchbutton"}] - - [{/block}] - [{/if}] - [{/if}] - [{/strip}] -
-[{/block}] +[{block name="d3extsearch_suggest_main"}] +
+
+ [{block name="d3extsearch_suggest_headline"}] + [{if $blStartSearch}] + [{oxmultilang ident="D3_EXTSEARCH_QUICK_SEARCH"}] + [{else}] + + [{if $useMultipleObjectTypes}] + [{oxmultilang ident="D3_EXTSEARCH_QUICK_MULTIPLEHITS"}] + [{else}] + [{$iHitCount}] [{if $similar}][{oxmultilang ident="D3_EXTSEARCH_QUICK_SIMILARHITS"}][{else}][{oxmultilang ident="D3_EXTSEARCH_QUICK_HITS"}][{/if}] "[{$sSearchparam}]" + [{/if}] + [{/if}] + [{/block}] +
+ + [{capture assign="sCssClasses"}][{strip}] + [{if !$blStartSearch}] + [{if $oHitList && $oHitList->count()}] hasArticleItems[{/if}] + [{if $oCatHitList && $oCatHitList->count()}] hasCategoryItems[{/if}] + [{if $oManHitList && $oManHitList->count()}] hasManufacturerItems[{/if}] + [{if $oVendorHitList && $oVendorHitList->count()}] hasVendorItems[{/if}] + [{if $oContentHitList && $oContentHitList->count()}] hasContentItems[{/if}] + [{/if}] + [{/strip}][{/capture}] + + [{strip}] + [{if !$blStartSearch}] + [{block name="d3extsearch_suggest_list"}] +
+ + [{if $oHitList->count()}] + [{block name="d3extsearch_suggest_list_article"}] +
+

[{oxmultilang ident="PRODUCTS"}]

+ [{foreach name="hitlist" from=$oHitList item="oHit"}] + [{block name="d3extsearch_suggest_listitem_article"}] + [{strip}] + +
[{$oHit->getFieldData('oxtitle')}]
+ [{$oHit->getFieldData('oxtitle')}] + [{if $oHit->getFieldData('oxvarselect')}] [{$oHit->getFieldData('oxvarselect')}][{/if}] +
+ [{/strip}] + [{assign var="blItem" value=true}] + [{/block}] + [{/foreach}] +
+ [{/block}] + [{/if}] + + [{if $useMultipleObjectTypes && $oCatHitList->count()}] + [{block name="d3extsearch_suggest_list_category"}] +
+

[{oxmultilang ident="CATEGORIES"}]

+ [{foreach name="cathitlist" from=$oCatHitList item="oHit"}] + [{block name="d3extsearch_suggest_listitem_category"}] + [{strip}] + + [{$oHit->getFieldData('oxtitle')}] + + [{/strip}] + [{assign var="blItem" value=true}] + [{/block}] + [{/foreach}] +
+ [{/block}] + [{/if}] + + [{if $useMultipleObjectTypes && $oManHitList->count()}] + [{block name="d3extsearch_suggest_list_manufacturer"}] +
+

[{oxmultilang ident="MANUFACTURERS"}]

+ [{foreach name="manhitlist" from=$oManHitList item="oHit"}] + [{block name="d3extsearch_suggest_listitem_manufacturer"}] + [{strip}] + + [{$oHit->getFieldData('oxtitle')}] + + [{/strip}] + [{assign var="blItem" value=true}] + [{/block}] + [{/foreach}] +
+ [{/block}] + [{/if}] + + [{if $useMultipleObjectTypes && $oVendorHitList->count()}] + [{block name="d3extsearch_suggest_list_vendor"}] +
+

[{oxmultilang ident="DISTRIBUTORS"}]

+ [{foreach name="vendorhitlist" from=$oVendorHitList item="oHit"}] + [{block name="d3extsearch_suggest_listitem_vendor"}] + [{strip}] + + [{$oHit->getFieldData('oxtitle')}] + + [{/strip}] + [{assign var="blItem" value=true}] + [{/block}] + [{/foreach}] +
+ [{/block}] + [{/if}] + + [{if $useMultipleObjectTypes && $oContentHitList->count()}] + [{block name="d3extsearch_suggest_list_content"}] +
+

[{oxmultilang ident="SERVICES"}]

+ [{foreach name="contenthitlist" from=$oContentHitList item="oHit"}] + [{block name="d3extsearch_suggest_listitem_content"}] + [{strip}] + + [{$oHit->getFieldData('oxtitle')}] + + [{/strip}] + [{assign var="blItem" value=true}] + [{/block}] + [{/foreach}] +
+ [{/block}] + [{/if}] + + [{block name="d3extsearch_suggest_furtherlinks"}] + [{if $blToMuchHits}] + + [{oxmultilang ident="D3_EXTSEARCH_QUICK_TOMUCHHITS"}] + + [{elseif !$blItem}] + + [{oxmultilang ident="D3_EXTSEARCH_QUICK_NOHIT"}] + + [{/if}] + [{/block}] +
+ [{/block}] + [{if $oHit}] + [{block name="d3extsearch_suggest_searchbutton"}] + + [{/block}] + [{/if}] + [{/if}] + [{/strip}] +
+[{/block}] diff --git a/src/Application/views/tpl/filterelements/attribute.tpl b/src/Application/views/tpl/filterelements/attribute.tpl index 03f07d7..8b6c119 100644 --- a/src/Application/views/tpl/filterelements/attribute.tpl +++ b/src/Application/views/tpl/filterelements/attribute.tpl @@ -1,77 +1,77 @@ -[{assign var="sIdKey" value=$key|replace:".":""}] -[{assign var="blShowMultipleSelector" value=true}] -
-
- - [{if in_array($sAttributeFilterDisplayType, array('combined', 'single'))}] - [{block name="d3_inc_ext_search__filter_attribute_single"}] - - [{/block}] - [{/if}] - - [{if in_array($sAttributeFilterDisplayType, array('combined', 'multi'))}] - [{block name="d3_inc_ext_search__filter_attribute_multi"}] -
- [{foreach from=$oAttribute->_aList name=attrvalues key=valuekey item=oAttrValue}] - - selected}] checked[{/if}] [{if false == $oAttrValue->isSelectable}] disabled[{/if}]> -
- [{/foreach}] - - [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="attrib"}] -
- [{/block}] - [{/if}] - - [{block name="d3_inc_ext_search__filter_attribute_multiselector"}] - [{if $sAttributeFilterDisplayType == 'combined'}] -
- - -
- - [{capture name="d3JsFnc"}][{strip}] - function toggleMultiAttrib(blChecked, sId) { - if (blChecked) { - document.getElementById('d3searchattrib__multi__' + sId).style.display = 'block'; - document.getElementById('d3searchattrib__' + sId).style.display = 'none'; - if (selectorElement = document.getElementById('d3searchattrib__multiselector__' + sId)) { - selectorElement.style.display = 'none'; - } - } - } - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - - [{if $oView->d3AttributeFilterUseMultipleValues($key)}] - [{capture name="d3JsFnc"}][{strip}] - toggleMultiAttrib(true, '[{$key}]'); - if (selectorElement = document.getElementById('d3searchattribmultiselector[[{$key}]]')) { - selectorElement.checked = 'checked'; - } - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{/if}] - [{elseif $sAttributeFilterDisplayType == 'single'}] - - [{elseif $sAttributeFilterDisplayType == 'multi'}] - - [{/if}] - [{/block}] +[{assign var="sIdKey" value=$key|replace:".":""}] +[{assign var="blShowMultipleSelector" value=true}] +
+
+ + [{if in_array($sAttributeFilterDisplayType, array('combined', 'single'))}] + [{block name="d3_inc_ext_search__filter_attribute_single"}] + + [{/block}] + [{/if}] + + [{if in_array($sAttributeFilterDisplayType, array('combined', 'multi'))}] + [{block name="d3_inc_ext_search__filter_attribute_multi"}] +
+ [{foreach from=$oAttribute->_aList name=attrvalues key=valuekey item=oAttrValue}] + + selected}] checked[{/if}] [{if false == $oAttrValue->isSelectable}] disabled[{/if}]> +
+ [{/foreach}] + + [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="attrib"}] +
+ [{/block}] + [{/if}] + + [{block name="d3_inc_ext_search__filter_attribute_multiselector"}] + [{if $sAttributeFilterDisplayType == 'combined'}] +
+ + +
+ + [{capture name="d3JsFnc"}][{strip}] + function toggleMultiAttrib(blChecked, sId) { + if (blChecked) { + document.getElementById('d3searchattrib__multi__' + sId).style.display = 'block'; + document.getElementById('d3searchattrib__' + sId).style.display = 'none'; + if (selectorElement = document.getElementById('d3searchattrib__multiselector__' + sId)) { + selectorElement.style.display = 'none'; + } + } + } + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + + [{if $oView->d3AttributeFilterUseMultipleValues($key)}] + [{capture name="d3JsFnc"}][{strip}] + toggleMultiAttrib(true, '[{$key}]'); + if (selectorElement = document.getElementById('d3searchattribmultiselector[[{$key}]]')) { + selectorElement.checked = 'checked'; + } + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{/if}] + [{elseif $sAttributeFilterDisplayType == 'single'}] + + [{elseif $sAttributeFilterDisplayType == 'multi'}] + + [{/if}] + [{/block}]
\ No newline at end of file diff --git a/src/Application/views/tpl/filterelements/category.tpl b/src/Application/views/tpl/filterelements/category.tpl index ceff134..e634032 100644 --- a/src/Application/views/tpl/filterelements/category.tpl +++ b/src/Application/views/tpl/filterelements/category.tpl @@ -1,75 +1,75 @@ -[{assign var="sIdKey" value="category"}] -[{assign var="blShowMultipleSelector" value=true}] -
-
- - [{if in_array($sCategoryFilterDisplayType, array('combined', 'single'))}] - [{block name="d3_inc_ext_search__filter_category_single"}] - - [{/block}] - [{/if}] - - [{if in_array($sCategoryFilterDisplayType, array('combined', 'multi'))}] - [{block name="d3_inc_ext_search__filter_category_multi"}] -
- [{foreach from=$oView->d3getCategoryList() name=attrvalues key=valuekey item=oAttrValue}] - - selected || $oAttrValue->getId() == $sSelectedCategoryId}] checked[{/if}]> -
- [{/foreach}] - - [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="category"}] -
- [{/block}] - [{/if}] - - [{block name="d3_inc_ext_search__filter_category_multiselector"}] - [{if $sCategoryFilterDisplayType == 'combined'}] -
- - -
- - [{capture name="d3JsFnc"}][{strip}] - function toggleMultiCategory(blChecked) { - if (blChecked) { - document.getElementById('d3searchcategory__multi').style.display = 'block'; - document.getElementById('searchcategory').style.display = 'none'; - document.getElementById('d3searchcategory__multiselector').style.display = 'none'; - } - } - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - - [{if $oView->d3CategoryFilterUseMultipleValues()}] - [{capture name="d3JsFnc"}][{strip}] - toggleMultiCategory(true); - document.getElementById('d3searchcategorymultiselector').checked = 'checked'; - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{/if}] - [{elseif $sCategoryFilterDisplayType == 'single'}] - - [{elseif $sCategoryFilterDisplayType == 'multi'}] - - [{/if}] - [{/block}] +[{assign var="sIdKey" value="category"}] +[{assign var="blShowMultipleSelector" value=true}] +
+
+ + [{if in_array($sCategoryFilterDisplayType, array('combined', 'single'))}] + [{block name="d3_inc_ext_search__filter_category_single"}] + + [{/block}] + [{/if}] + + [{if in_array($sCategoryFilterDisplayType, array('combined', 'multi'))}] + [{block name="d3_inc_ext_search__filter_category_multi"}] +
+ [{foreach from=$oView->d3getCategoryList() name=attrvalues key=valuekey item=oAttrValue}] + + selected || $oAttrValue->getId() == $sSelectedCategoryId}] checked[{/if}]> +
+ [{/foreach}] + + [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="category"}] +
+ [{/block}] + [{/if}] + + [{block name="d3_inc_ext_search__filter_category_multiselector"}] + [{if $sCategoryFilterDisplayType == 'combined'}] +
+ + +
+ + [{capture name="d3JsFnc"}][{strip}] + function toggleMultiCategory(blChecked) { + if (blChecked) { + document.getElementById('d3searchcategory__multi').style.display = 'block'; + document.getElementById('searchcategory').style.display = 'none'; + document.getElementById('d3searchcategory__multiselector').style.display = 'none'; + } + } + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + + [{if $oView->d3CategoryFilterUseMultipleValues()}] + [{capture name="d3JsFnc"}][{strip}] + toggleMultiCategory(true); + document.getElementById('d3searchcategorymultiselector').checked = 'checked'; + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{/if}] + [{elseif $sCategoryFilterDisplayType == 'single'}] + + [{elseif $sCategoryFilterDisplayType == 'multi'}] + + [{/if}] + [{/block}]
\ No newline at end of file diff --git a/src/Application/views/tpl/filterelements/jqslider.tpl b/src/Application/views/tpl/filterelements/jqslider.tpl index 065acf6..e56db60 100644 --- a/src/Application/views/tpl/filterelements/jqslider.tpl +++ b/src/Application/views/tpl/filterelements/jqslider.tpl @@ -1,65 +1,65 @@ -[{block name="d3_cfg_extsearch_jqsliderscript"}] - [{assign var="elementId" value="d3extsearch_"|cat:$sliderId}] - [{assign var="fieldMinId" value="d3extsearch_"|cat:$sliderId|cat:"fieldMinId"}] - [{assign var="fieldMaxId" value="d3extsearch_"|cat:$sliderId|cat:"fieldMaxId"}] - [{assign var="priceInfoMinId" value="d3extsearch_"|cat:$sliderId|cat:"PriceInfoMinId"}] - [{assign var="priceInfoMaxId" value="d3extsearch_"|cat:$sliderId|cat:"PriceInfoMaxId"}] - [{assign var="psovFieldName" value=$psovFieldName|default:"d3psov"}] - [{assign var="selectorFieldName" value=$selectorFieldName|default:"priceselector"}] - - [{block name="d3_cfg_extsearch_jqsliderscript_touchjs"}] - [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/jquery.ui.touch-punch.min.js')}] - [{/block}] - [{block name="d3_cfg_extsearch_jqsliderscript_sliderjs"}] - [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch_slider.min.js')}] - [{/block}] - - [{capture name="d3script"}][{strip}] - try { - $('#[{$elementId}]').d3extsearchslider({ - limitMin: [{$aPriceLimits.min}], - limitMax: [{$aPriceLimits.max}], - stepsMin: [{$aPriceSteps.min}], - stepsMax: [{$aPriceSteps.max}], - infoMinId: '[{$priceInfoMinId}]', - infoMaxId: '[{$priceInfoMaxId}]', - fieldMinId: '[{$fieldMinId}]', - fieldMaxId: '[{$fieldMaxId}]', - precision: [{$precision}] - }); - } catch (e) { - console.log(e.message); - } - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3script}] -[{/block}] - -[{block name="d3_cfg_extsearch_jqsliderinfo"}] - -[{/block}] - -[{block name="d3_cfg_extsearch_alist_jqsliderfields"}] -
- - - [{$currency->sign}] - - [{$currency->sign}] -
- - [{capture name="d3script"}][{strip}] - document.getElementById('d3extsearch[{$elementId}]info').style.display = 'block'; - document.getElementById('d3extsearch[{$elementId}]fields').style.display = 'none'; - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3script}] - -
-
-
-
+[{block name="d3_cfg_extsearch_jqsliderscript"}] + [{assign var="elementId" value="d3extsearch_"|cat:$sliderId}] + [{assign var="fieldMinId" value="d3extsearch_"|cat:$sliderId|cat:"fieldMinId"}] + [{assign var="fieldMaxId" value="d3extsearch_"|cat:$sliderId|cat:"fieldMaxId"}] + [{assign var="priceInfoMinId" value="d3extsearch_"|cat:$sliderId|cat:"PriceInfoMinId"}] + [{assign var="priceInfoMaxId" value="d3extsearch_"|cat:$sliderId|cat:"PriceInfoMaxId"}] + [{assign var="psovFieldName" value=$psovFieldName|default:"d3psov"}] + [{assign var="selectorFieldName" value=$selectorFieldName|default:"priceselector"}] + + [{block name="d3_cfg_extsearch_jqsliderscript_touchjs"}] + [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/jquery.ui.touch-punch.min.js')}] + [{/block}] + [{block name="d3_cfg_extsearch_jqsliderscript_sliderjs"}] + [{oxscript include=$oViewConf->getModuleUrl('d3_extsearch', 'out/src/js/d3extsearch_slider.min.js')}] + [{/block}] + + [{capture name="d3script"}][{strip}] + try { + $('#[{$elementId}]').d3extsearchslider({ + limitMin: [{$aPriceLimits.min}], + limitMax: [{$aPriceLimits.max}], + stepsMin: [{$aPriceSteps.min}], + stepsMax: [{$aPriceSteps.max}], + infoMinId: '[{$priceInfoMinId}]', + infoMaxId: '[{$priceInfoMaxId}]', + fieldMinId: '[{$fieldMinId}]', + fieldMaxId: '[{$fieldMaxId}]', + precision: [{$precision}] + }); + } catch (e) { + console.log(e.message); + } + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3script}] +[{/block}] + +[{block name="d3_cfg_extsearch_jqsliderinfo"}] + +[{/block}] + +[{block name="d3_cfg_extsearch_alist_jqsliderfields"}] +
+ + + [{$currency->sign}] - + [{$currency->sign}] +
+ + [{capture name="d3script"}][{strip}] + document.getElementById('d3extsearch[{$elementId}]info').style.display = 'block'; + document.getElementById('d3extsearch[{$elementId}]fields').style.display = 'none'; + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3script}] + +
+
+
+
[{/block}] \ No newline at end of file diff --git a/src/Application/views/tpl/filterelements/manufacturer.tpl b/src/Application/views/tpl/filterelements/manufacturer.tpl index 017155a..0426f63 100644 --- a/src/Application/views/tpl/filterelements/manufacturer.tpl +++ b/src/Application/views/tpl/filterelements/manufacturer.tpl @@ -1,75 +1,75 @@ -[{assign var="sIdKey" value="manufacturer"}] -[{assign var="blShowMultipleSelector" value=true}] -
-
- - [{if in_array($sManufacturerFilterDisplayType, array('combined', 'single'))}] - [{block name="d3_inc_ext_search__filter_manufacturer_single"}] - - [{/block}] - [{/if}] - - [{if in_array($sManufacturerFilterDisplayType, array('combined', 'multi'))}] - [{block name="d3_inc_ext_search__filter_manufacturer_multi"}] -
- [{foreach from=$oView->d3getManufacturerList() name=attrvalues key=valuekey item=oAttrValue}] - - selected || $oAttrValue->getId() == $sSelectedManufacturerId}] checked[{/if}]> -
- [{/foreach}] - - [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="manufacturer"}] -
- [{/block}] - [{/if}] - - [{block name="d3_inc_ext_search__filter_manufacturer_multiselector"}] - [{if $sManufacturerFilterDisplayType == 'combined'}] -
- - -
- - [{capture name="d3JsFnc"}][{strip}] - function toggleMultiManufacturer(blChecked) { - if (blChecked) { - document.getElementById('d3searchmanufacturer__multi').style.display = 'block'; - document.getElementById('searchmanufacturer').style.display = 'none'; - document.getElementById('d3searchmanufacturer__multiselector').style.display = 'none'; - } - } - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - - [{if $oView->d3ManufacturerFilterUseMultipleValues()}] - [{capture name="d3JsFnc"}][{strip}] - toggleMultiManufacturer(true); - document.getElementById('d3searchmanufacturermultiselector').checked = 'checked'; - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{/if}] - [{elseif $sManufacturerFilterDisplayType == 'single'}] - - [{elseif $sManufacturerFilterDisplayType == 'multi'}] - - [{/if}] - [{/block}] +[{assign var="sIdKey" value="manufacturer"}] +[{assign var="blShowMultipleSelector" value=true}] +
+
+ + [{if in_array($sManufacturerFilterDisplayType, array('combined', 'single'))}] + [{block name="d3_inc_ext_search__filter_manufacturer_single"}] + + [{/block}] + [{/if}] + + [{if in_array($sManufacturerFilterDisplayType, array('combined', 'multi'))}] + [{block name="d3_inc_ext_search__filter_manufacturer_multi"}] +
+ [{foreach from=$oView->d3getManufacturerList() name=attrvalues key=valuekey item=oAttrValue}] + + selected || $oAttrValue->getId() == $sSelectedManufacturerId}] checked[{/if}]> +
+ [{/foreach}] + + [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="manufacturer"}] +
+ [{/block}] + [{/if}] + + [{block name="d3_inc_ext_search__filter_manufacturer_multiselector"}] + [{if $sManufacturerFilterDisplayType == 'combined'}] +
+ + +
+ + [{capture name="d3JsFnc"}][{strip}] + function toggleMultiManufacturer(blChecked) { + if (blChecked) { + document.getElementById('d3searchmanufacturer__multi').style.display = 'block'; + document.getElementById('searchmanufacturer').style.display = 'none'; + document.getElementById('d3searchmanufacturer__multiselector').style.display = 'none'; + } + } + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + + [{if $oView->d3ManufacturerFilterUseMultipleValues()}] + [{capture name="d3JsFnc"}][{strip}] + toggleMultiManufacturer(true); + document.getElementById('d3searchmanufacturermultiselector').checked = 'checked'; + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{/if}] + [{elseif $sManufacturerFilterDisplayType == 'single'}] + + [{elseif $sManufacturerFilterDisplayType == 'multi'}] + + [{/if}] + [{/block}]
\ No newline at end of file diff --git a/src/Application/views/tpl/filterelements/priceselector.tpl b/src/Application/views/tpl/filterelements/priceselector.tpl index 2a3f7c3..a8ab579 100644 --- a/src/Application/views/tpl/filterelements/priceselector.tpl +++ b/src/Application/views/tpl/filterelements/priceselector.tpl @@ -1,34 +1,34 @@ -[{assign var="currency" value=$oView->getActCurrency()}] -
-
- [{if $oView->d3HasjQuerySlider() && $oView->d3CanShowPriceFilterSlider()}] - [{assign var="random" value=1|rand:1000}] - [{assign var="sliderIdDefault" value="PriceFilter"|cat:$random}] - [{assign var="sliderId" value=$sliderId|default:$sliderIdDefault}] - [{include file="d3_ext_search_filter_jqslider.tpl" - sliderId=$sliderId - formId="d3searchfilterform" - aPriceLimits=$aPriceLimits - aPriceSteps=$aPriceSteps - infoMinValue=$infoMinValue - infoMaxValue=$infoMaxValue - originalMinValue=$originalMinValue - originalMaxValue=$originalMaxValue - inputMinValue=$inputMinValue - inputMaxValue=$inputMaxValue - precision=$precision - }] - [{elseif !$oView->d3HasjQuerySlider()}] - - [{/if}] +[{assign var="currency" value=$oView->getActCurrency()}] +
+
+ [{if $oView->d3HasjQuerySlider() && $oView->d3CanShowPriceFilterSlider()}] + [{assign var="random" value=1|rand:1000}] + [{assign var="sliderIdDefault" value="PriceFilter"|cat:$random}] + [{assign var="sliderId" value=$sliderId|default:$sliderIdDefault}] + [{include file="d3_ext_search_filter_jqslider.tpl" + sliderId=$sliderId + formId="d3searchfilterform" + aPriceLimits=$aPriceLimits + aPriceSteps=$aPriceSteps + infoMinValue=$infoMinValue + infoMaxValue=$infoMaxValue + originalMinValue=$originalMinValue + originalMaxValue=$originalMaxValue + inputMinValue=$inputMinValue + inputMaxValue=$inputMaxValue + precision=$precision + }] + [{elseif !$oView->d3HasjQuerySlider()}] + + [{/if}]
\ No newline at end of file diff --git a/src/Application/views/tpl/filterelements/vendor.tpl b/src/Application/views/tpl/filterelements/vendor.tpl index fdf7b0b..cb555de 100644 --- a/src/Application/views/tpl/filterelements/vendor.tpl +++ b/src/Application/views/tpl/filterelements/vendor.tpl @@ -1,75 +1,75 @@ -[{assign var="sIdKey" value="vendor"}] -[{assign var="blShowMultipleSelector" value=true}] -
-
- - [{if in_array($sVendorFilterDisplayType, array('combined', 'single'))}] - [{block name="d3_inc_ext_search__filter_vendor_single"}] - - [{/block}] - [{/if}] - - [{if in_array($sVendorFilterDisplayType, array('combined', 'multi'))}] - [{block name="d3_inc_ext_search__filter_vendor_multi"}] -
- [{foreach from=$oView->d3getVendorList() name=attrvalues key=valuekey item=oAttrValue}] - - selected || $oAttrValue->getId() == $sSelectedVendorId}] checked[{/if}]> -
- [{/foreach}] - - [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="vendor"}] -
- [{/block}] - [{/if}] - - [{block name="d3_inc_ext_search__filter_vendor_multiselector"}] - [{if $sVendorFilterDisplayType == 'combined'}] -
- - -
- - [{capture name="d3JsFnc"}][{strip}] - function toggleMultiVendor(blChecked) { - if (blChecked) { - document.getElementById('d3searchvendor__multi').style.display = 'block'; - document.getElementById('searchvendor').style.display = 'none'; - document.getElementById('d3searchvendor__multiselector').style.display = 'none'; - } - } - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - - [{if $oView->d3VendorFilterUseMultipleValues()}] - [{capture name="d3JsFnc"}][{strip}] - toggleMultiVendor(true); - document.getElementById('d3searchvendormultiselector').checked = 'checked'; - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{/if}] - [{elseif $sVendorFilterDisplayType == 'single'}] - - [{elseif $sVendorFilterDisplayType == 'multi'}] - - [{/if}] - [{/block}] +[{assign var="sIdKey" value="vendor"}] +[{assign var="blShowMultipleSelector" value=true}] +
+
+ + [{if in_array($sVendorFilterDisplayType, array('combined', 'single'))}] + [{block name="d3_inc_ext_search__filter_vendor_single"}] + + [{/block}] + [{/if}] + + [{if in_array($sVendorFilterDisplayType, array('combined', 'multi'))}] + [{block name="d3_inc_ext_search__filter_vendor_multi"}] +
+ [{foreach from=$oView->d3getVendorList() name=attrvalues key=valuekey item=oAttrValue}] + + selected || $oAttrValue->getId() == $sSelectedVendorId}] checked[{/if}]> +
+ [{/foreach}] + + [{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="vendor"}] +
+ [{/block}] + [{/if}] + + [{block name="d3_inc_ext_search__filter_vendor_multiselector"}] + [{if $sVendorFilterDisplayType == 'combined'}] +
+ + +
+ + [{capture name="d3JsFnc"}][{strip}] + function toggleMultiVendor(blChecked) { + if (blChecked) { + document.getElementById('d3searchvendor__multi').style.display = 'block'; + document.getElementById('searchvendor').style.display = 'none'; + document.getElementById('d3searchvendor__multiselector').style.display = 'none'; + } + } + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + + [{if $oView->d3VendorFilterUseMultipleValues()}] + [{capture name="d3JsFnc"}][{strip}] + toggleMultiVendor(true); + document.getElementById('d3searchvendormultiselector').checked = 'checked'; + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{/if}] + [{elseif $sVendorFilterDisplayType == 'single'}] + + [{elseif $sVendorFilterDisplayType == 'multi'}] + + [{/if}] + [{/block}]
\ No newline at end of file diff --git a/src/Application/views/tpl/flow/d3_list_filters.tpl b/src/Application/views/tpl/flow/d3_list_filters.tpl index e09523b..f4844b8 100644 --- a/src/Application/views/tpl/flow/d3_list_filters.tpl +++ b/src/Application/views/tpl/flow/d3_list_filters.tpl @@ -1,78 +1,78 @@ -[{if $oView->d3HasFilters()}] - [{block name="d3_cfg_extsearch_alist_filters"}] -
- [{block name="d3_cfg_extsearch_alist_filters_headline"}] -

- [{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}] -

- [{/block}] - - [{block name="d3_cfg_extsearch_alist_filters_content"}] -
-
- [{$oViewConf->getHiddenSid()}] - - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - -
- [{block name="d3_inc_ext_search__filter"}] - [{if $oView->d3HasCategoryList()}] - [{block name="d3_inc_ext_search__filter_category"}] - [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] - [{/block}] - [{/if}] - - [{if $oView->d3HasVendorList()}] - [{block name="d3_inc_ext_search__filter_vendor"}] - [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] - [{/block}] - [{/if}] - - [{if $oView->d3HasManufacturerList()}] - [{block name="d3_inc_ext_search__filter_manufacturer"}] - [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] - [{/block}] - [{/if}] - - [{if $oView->d3HasAttributeList()}] - [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] - [{block name="d3_inc_ext_search__filter_attribute"}] - [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] - [{/block}] - [{/foreach}] - [{/if}] - - [{if $oView->d3HasPriceFilter()}] - [{block name="d3_inc_ext_search__filter_price"}] - [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] - [{/block}] - [{/if}] - - - - [{block name="d3_inc_ext_search__filter_clear"}] -
- -
- [{/block}] - [{/block}] -
-
-
- [{/block}] -
- [{/block}] -[{/if}] +[{if $oView->d3HasFilters()}] + [{block name="d3_cfg_extsearch_alist_filters"}] +
+ [{block name="d3_cfg_extsearch_alist_filters_headline"}] +

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}] +

+ [{/block}] + + [{block name="d3_cfg_extsearch_alist_filters_content"}] +
+
+ [{$oViewConf->getHiddenSid()}] + + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + +
+ [{block name="d3_inc_ext_search__filter"}] + [{if $oView->d3HasCategoryList()}] + [{block name="d3_inc_ext_search__filter_category"}] + [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] + [{/block}] + [{/if}] + + [{if $oView->d3HasVendorList()}] + [{block name="d3_inc_ext_search__filter_vendor"}] + [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] + [{/block}] + [{/if}] + + [{if $oView->d3HasManufacturerList()}] + [{block name="d3_inc_ext_search__filter_manufacturer"}] + [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] + [{/block}] + [{/if}] + + [{if $oView->d3HasAttributeList()}] + [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] + [{block name="d3_inc_ext_search__filter_attribute"}] + [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] + [{/block}] + [{/foreach}] + [{/if}] + + [{if $oView->d3HasPriceFilter()}] + [{block name="d3_inc_ext_search__filter_price"}] + [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] + [{/block}] + [{/if}] + + + + [{block name="d3_inc_ext_search__filter_clear"}] +
+ +
+ [{/block}] + [{/block}] +
+
+
+ [{/block}] +
+ [{/block}] +[{/if}] diff --git a/src/Application/views/tpl/flow/d3_search_contents.tpl b/src/Application/views/tpl/flow/d3_search_contents.tpl index 4d1d3cd..799ce1d 100644 --- a/src/Application/views/tpl/flow/d3_search_contents.tpl +++ b/src/Application/views/tpl/flow/d3_search_contents.tpl @@ -1,64 +1,64 @@ -[{if !$oView->getArticleCount()}] - [{block name="d3_cfg_extsearch_search_noarticlemessage"}] -

[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]

- [{oxcontent ident="d3extsearch_noarticlefound"}] - [{/block}] -[{/if}] - -[{if $oView->d3GetCMSList()}] - [{block name="d3_cfg_extsearch_search_cms_results"}] -
-

- [{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}] -

-
- [{foreach from=$oView->d3GetCMSList() item="oContent"}] - [{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}] - [{math equation="100-s" s=$TitleCharCount assign="iTextLength"}] - - [{/foreach}] -
-
-
- [{/block}] -[{/if}] - -[{if $blSearchPluginLink == 1}] - [{block name="d3_cfg_extsearch_search_plugin"}] -
-

- [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}] -

-
- - [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}] - -
-
- [{/block}] -[{/if}] - -[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}] -[{if $similarSearch}] - [{block name="d3_cfg_extsearch_search_similar_messages"}] -
-
- [{if $similarSearch == 'similar'}] - [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}] - [{elseif $similarSearch == 'combined'}] - [{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}] - [{/if}] -
-
- [{/block}] +[{if !$oView->getArticleCount()}] + [{block name="d3_cfg_extsearch_search_noarticlemessage"}] +

[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]

+ [{oxcontent ident="d3extsearch_noarticlefound"}] + [{/block}] +[{/if}] + +[{if $oView->d3GetCMSList()}] + [{block name="d3_cfg_extsearch_search_cms_results"}] +
+

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}] +

+
+ [{foreach from=$oView->d3GetCMSList() item="oContent"}] + [{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}] + [{math equation="100-s" s=$TitleCharCount assign="iTextLength"}] + + [{/foreach}] +
+
+
+ [{/block}] +[{/if}] + +[{if $blSearchPluginLink == 1}] + [{block name="d3_cfg_extsearch_search_plugin"}] +
+

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}] +

+
+ + [{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}] + +
+
+ [{/block}] +[{/if}] + +[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}] +[{if $similarSearch}] + [{block name="d3_cfg_extsearch_search_similar_messages"}] +
+
+ [{if $similarSearch == 'similar'}] + [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}] + [{elseif $similarSearch == 'combined'}] + [{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}] + [{/if}] +
+
+ [{/block}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/tpl/flow/d3_search_filters.tpl b/src/Application/views/tpl/flow/d3_search_filters.tpl index 070a89c..0470a69 100644 --- a/src/Application/views/tpl/flow/d3_search_filters.tpl +++ b/src/Application/views/tpl/flow/d3_search_filters.tpl @@ -1,121 +1,121 @@ -[{if $oView->d3HasFilters()}] - [{block name="d3_cfg_extsearch_search_filters"}] -
- [{block name="d3_cfg_extsearch_search_filters_headline"}] -

- [{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}] -

- [{/block}] - - [{block name="d3_cfg_extsearch_search_filters_content"}] -
-
- [{$oViewConf->getHiddenSid()}] - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - - [{block name="d3_inc_ext_search__filter"}] - [{if $oView->d3HasCategoryList()}] - [{block name="d3_inc_ext_search__filter_category"}] - [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] - [{/block}] - [{/if}] - - [{if $oView->d3HasVendorList()}] - [{block name="d3_inc_ext_search__filter_vendor"}] - [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] - [{/block}] - [{/if}] - - [{if $oView->d3HasManufacturerList()}] - [{block name="d3_inc_ext_search__filter_manufacturer"}] - [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] - [{/block}] - [{/if}] - - [{if $oView->d3HasAttributeList()}] - [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] - [{block name="d3_inc_ext_search__filter_attribute"}] - [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] - [{/block}] - [{/foreach}] - [{/if}] - - [{if $oView->d3HasPriceFilter()}] - [{block name="d3_inc_ext_search__filter_price"}] - [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] - [{/block}] - [{/if}] - - - - [{block name="d3_inc_ext_search__filter_clear"}] -
- -
- [{/block}] - -
- [{/block}] -
-
- [{/block}] -
- [{/block}] -[{/if}] - -[{if $oView->d3HasIndexList()}] - [{block name="d3_cfg_extsearch_search_index"}] -
- [{include file="d3_ext_search_filter.tpl" d3fdesc="D3_EXTSEARCH_EXT_ALL"|oxmultilangassign d3fparam="all"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="A"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="B"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="C"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="D"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="E"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="F"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="G"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="H"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="I"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="J"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="K"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="L"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="M"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="N"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="O"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="P"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Q"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="R"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="S"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="T"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="U"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="V"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="W"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="X"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Y"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Z"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="1"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="2"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="3"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="4"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="5"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="6"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="7"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="8"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="9"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="0"}] -
- [{/block}] -[{/if}] +[{if $oView->d3HasFilters()}] + [{block name="d3_cfg_extsearch_search_filters"}] +
+ [{block name="d3_cfg_extsearch_search_filters_headline"}] +

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}] +

+ [{/block}] + + [{block name="d3_cfg_extsearch_search_filters_content"}] +
+
+ [{$oViewConf->getHiddenSid()}] + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + + [{block name="d3_inc_ext_search__filter"}] + [{if $oView->d3HasCategoryList()}] + [{block name="d3_inc_ext_search__filter_category"}] + [{include file="d3_ext_search_filter_category.tpl" cssclass="" sSelectedCategoryId=$sSelectedCategoryId sSelectedCategory=$sSelectedCategory}] + [{/block}] + [{/if}] + + [{if $oView->d3HasVendorList()}] + [{block name="d3_inc_ext_search__filter_vendor"}] + [{include file="d3_ext_search_filter_vendor.tpl" cssclass="" sSelectedVendorId=$sSelectedVendorId sSelectedVendor=$sSelectedVendor}] + [{/block}] + [{/if}] + + [{if $oView->d3HasManufacturerList()}] + [{block name="d3_inc_ext_search__filter_manufacturer"}] + [{include file="d3_ext_search_filter_manufacturer.tpl" cssclass="" sSelectedManufacturerId=$sSelectedManufacturerId sSelectedManufacturer=$sSelectedManufacturer}] + [{/block}] + [{/if}] + + [{if $oView->d3HasAttributeList()}] + [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] + [{block name="d3_inc_ext_search__filter_attribute"}] + [{include file="d3_ext_search_filter_attribute.tpl" cssclass="" key=$key oAttribute=$oAttribute}] + [{/block}] + [{/foreach}] + [{/if}] + + [{if $oView->d3HasPriceFilter()}] + [{block name="d3_inc_ext_search__filter_price"}] + [{include file="d3_ext_search_filter_priceselector.tpl" cssclass="" infoMinValue=$oView->d3GetPriceSliderInfoMinValue() infoMaxValue=$oView->d3GetPriceSliderInfoMaxValue() originalMinValue=$oView->d3GetPriceSliderOriginalMinValue() originalMaxValue=$oView->d3GetPriceSliderOriginalMaxValue() inputMinValue=$oView->d3GetPriceSliderInputMinValue() inputMaxValue=$oView->d3GetPriceSliderInputMaxValue() aPriceLimits=$oView->d3getPriceLimits() aPriceSteps=$oView->d3getPriceSteps() precision=$oView->d3getPricePrecision()}] + [{/block}] + [{/if}] + + + + [{block name="d3_inc_ext_search__filter_clear"}] +
+ +
+ [{/block}] + +
+ [{/block}] +
+
+ [{/block}] +
+ [{/block}] +[{/if}] + +[{if $oView->d3HasIndexList()}] + [{block name="d3_cfg_extsearch_search_index"}] +
+ [{include file="d3_ext_search_filter.tpl" d3fdesc="D3_EXTSEARCH_EXT_ALL"|oxmultilangassign d3fparam="all"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="A"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="B"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="C"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="D"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="E"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="F"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="G"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="H"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="I"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="J"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="K"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="L"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="M"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="N"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="O"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="P"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Q"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="R"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="S"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="T"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="U"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="V"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="W"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="X"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Y"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Z"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="1"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="2"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="3"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="4"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="5"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="6"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="7"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="8"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="9"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="0"}] +
+ [{/block}] +[{/if}] diff --git a/src/Application/views/tpl/mobile/d3_inc_ext_search.tpl b/src/Application/views/tpl/mobile/d3_inc_ext_search.tpl index e6339db..065b41e 100644 --- a/src/Application/views/tpl/mobile/d3_inc_ext_search.tpl +++ b/src/Application/views/tpl/mobile/d3_inc_ext_search.tpl @@ -1,333 +1,333 @@ -[{if !$oView->getArticleCount()}] - [{block name="d3_cfg_extsearch_searchmobile_noarticlemessage"}] -

[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]

- [{oxcontent ident="d3extsearch_noarticlefound"}] - [{/block}] -[{/if}] - -[{if $oView->d3GetCMSList()}] - [{block name="d3_cfg_extsearch_searchmobile_cms_results"}] -
-

- [{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}] -

-
-
    - [{foreach from=$oView->d3GetCMSList() item="oContent"}] - [{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}] - [{math equation="100-s" s=$TitleCharCount assign="iTextLength"}] -
  • - [{$oContent->oxcontents__oxtitle->value}]
    -
  • - [{/foreach}] -
-
-
- [{/block}] -[{/if}] - -[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}] -[{if $similarSearch}] - [{block name="d3_cfg_extsearch_searchmobile_similar_messages"}] -
-
- [{if $similarSearch == 'similar'}] - [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}] - [{elseif $similarSearch == 'combined'}] - [{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}] - [{/if}] -
-
- [{/block}] -[{/if}] - -[{if $oView->getArticleCount()}] - [{block name="d3_cfg_extsearch_searchmobile_filterbox"}] -
-
- -
-
-
- - [{oxmultilang ident="FILTER_LIST"}] -
-
- - [{if $oView->d3HasFilters()}] - [{block name="d3_cfg_extsearch_searchmobile_filters"}] - -
- [{$oViewConf->getHiddenSid()}] - - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - [{assign var="blFilterOpen" value=false}] - - [{block name="d3_inc_ext_search__filter"}] - [{if $oView->d3HasCategoryList()}] - - - [{/if}] - - [{if $oView->d3HasVendorList()}] - - - [{/if}] - - - [{if $oView->d3HasManufacturerList()}] - - - [{/if}] - - [{if $oView->d3HasAttributeList()}] - [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] - - - [{/foreach}] - [{/if}] - - [{if $oView->d3HasPriceFilter()}] - [{assign var="currency" value=$oView->getActCurrency()}] - - - - [{/if}] - - [{/block}] - -
- [{/block}] - [{/if}] -
- - [{if $oView->d3HasIndexList()}] - [{block name="d3_cfg_extsearch_searchmobile_index"}] -
- [{include file="d3_ext_search_filter.tpl" d3fdesc="D3_EXTSEARCH_EXT_ALL"|oxmultilangassign d3fparam="all"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="1"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="2"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="3"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="4"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="5"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="6"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="7"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="8"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="9"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="0"}] -
- [{include file="d3_ext_search_filter.tpl" d3fparam="A"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="B"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="C"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="D"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="E"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="F"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="G"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="H"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="I"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="J"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="K"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="L"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="M"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="N"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="O"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="P"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Q"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="R"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="S"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="T"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="U"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="V"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="W"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="X"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Y"}] - [{include file="d3_ext_search_filter.tpl" d3fparam="Z"}] -
-
- [{/block}] - [{/if}] -
- - [{capture name="d3JsFnc"}][{strip}] - $('div.dropdown').oxDropDown(); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{oxscript include="js/widgets/oxattribute.js" priority=10}] - [{capture name="d3JsFnc"}][{strip}] - $('#filterItems').oxAttribute({blShowFilter:'$blFilterOpen'}); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{capture name="d3JsFnc"}][{strip}] - $('#sortItems').oxAttribute({blShowFilter:'$blFilterOpen'}); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - -
- [{/block}] +[{if !$oView->getArticleCount()}] + [{block name="d3_cfg_extsearch_searchmobile_noarticlemessage"}] +

[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]

+ [{oxcontent ident="d3extsearch_noarticlefound"}] + [{/block}] +[{/if}] + +[{if $oView->d3GetCMSList()}] + [{block name="d3_cfg_extsearch_searchmobile_cms_results"}] +
+

+ [{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}] +

+
+
    + [{foreach from=$oView->d3GetCMSList() item="oContent"}] + [{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}] + [{math equation="100-s" s=$TitleCharCount assign="iTextLength"}] +
  • + [{$oContent->oxcontents__oxtitle->value}]
    +
  • + [{/foreach}] +
+
+
+ [{/block}] +[{/if}] + +[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}] +[{if $similarSearch}] + [{block name="d3_cfg_extsearch_searchmobile_similar_messages"}] +
+
+ [{if $similarSearch == 'similar'}] + [{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}] + [{elseif $similarSearch == 'combined'}] + [{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}] + [{/if}] +
+
+ [{/block}] +[{/if}] + +[{if $oView->getArticleCount()}] + [{block name="d3_cfg_extsearch_searchmobile_filterbox"}] +
+
+ +
+
+
+ + [{oxmultilang ident="FILTER_LIST"}] +
+
+ + [{if $oView->d3HasFilters()}] + [{block name="d3_cfg_extsearch_searchmobile_filters"}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + [{assign var="blFilterOpen" value=false}] + + [{block name="d3_inc_ext_search__filter"}] + [{if $oView->d3HasCategoryList()}] + + + [{/if}] + + [{if $oView->d3HasVendorList()}] + + + [{/if}] + + + [{if $oView->d3HasManufacturerList()}] + + + [{/if}] + + [{if $oView->d3HasAttributeList()}] + [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] + + + [{/foreach}] + [{/if}] + + [{if $oView->d3HasPriceFilter()}] + [{assign var="currency" value=$oView->getActCurrency()}] + + + + [{/if}] + + [{/block}] + +
+ [{/block}] + [{/if}] +
+ + [{if $oView->d3HasIndexList()}] + [{block name="d3_cfg_extsearch_searchmobile_index"}] +
+ [{include file="d3_ext_search_filter.tpl" d3fdesc="D3_EXTSEARCH_EXT_ALL"|oxmultilangassign d3fparam="all"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="1"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="2"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="3"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="4"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="5"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="6"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="7"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="8"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="9"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="0"}] +
+ [{include file="d3_ext_search_filter.tpl" d3fparam="A"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="B"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="C"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="D"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="E"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="F"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="G"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="H"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="I"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="J"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="K"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="L"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="M"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="N"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="O"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="P"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Q"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="R"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="S"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="T"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="U"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="V"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="W"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="X"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Y"}] + [{include file="d3_ext_search_filter.tpl" d3fparam="Z"}] +
+
+ [{/block}] + [{/if}] +
+ + [{capture name="d3JsFnc"}][{strip}] + $('div.dropdown').oxDropDown(); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{oxscript include="js/widgets/oxattribute.js" priority=10}] + [{capture name="d3JsFnc"}][{strip}] + $('#filterItems').oxAttribute({blShowFilter:'$blFilterOpen'}); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{capture name="d3JsFnc"}][{strip}] + $('#sortItems').oxAttribute({blShowFilter:'$blFilterOpen'}); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + +
+ [{/block}] [{/if}] \ No newline at end of file diff --git a/src/Application/views/tpl/mobile/d3extsearch_alist_filters.tpl b/src/Application/views/tpl/mobile/d3extsearch_alist_filters.tpl index 304c8ae..659e0b3 100644 --- a/src/Application/views/tpl/mobile/d3extsearch_alist_filters.tpl +++ b/src/Application/views/tpl/mobile/d3extsearch_alist_filters.tpl @@ -1,204 +1,204 @@ -[{block name="d3_cfg_extsearch_searchmobile_filterbox"}] -
-
- -
-
-
- - [{oxmultilang ident="FILTER_LIST"}] -
-
- - [{if $oView->d3HasFilters()}] - [{block name="d3_cfg_extsearch_alistmobile_filters"}] - -
- [{$oViewConf->getHiddenSid()}] - - - - - [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] - [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] - - [{/if}] - [{/foreach}] - - [{assign var="blFilterOpen" value=false}] - - [{block name="d3_inc_ext_search__filter"}] - [{if $oView->d3HasVendorList()}] - - - [{/if}] - - [{if $oView->d3HasManufacturerList()}] - - - [{/if}] - - [{if $oView->d3HasAttributeList()}] - [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] - - - [{/foreach}] - [{/if}] - - [{if $oView->d3HasPriceFilter()}] - [{assign var="currency" value=$oView->getActCurrency()}] - - - [{/if}] - [{/block}] -
- [{/block}] - [{/if}] -
-
- - [{oxscript include="js/widgets/oxdropdown.js" priority=10}] - [{capture name="d3JsFnc"}][{strip}] - $('div.dropdown').oxDropDown(); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{oxscript include="js/widgets/oxattribute.js" priority=10}] - [{capture name="d3JsFnc"}][{strip}] - $('#filterItems').oxAttribute({blShowFilter:'$blFilterOpen'}); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] - [{capture name="d3JsFnc"}][{strip}] - $('#sortItems').oxAttribute({blShowFilter:'$blFilterOpen'}); - [{/strip}][{/capture}] - [{oxscript add=$smarty.capture.d3JsFnc}] -
+[{block name="d3_cfg_extsearch_searchmobile_filterbox"}] +
+
+ +
+
+
+ + [{oxmultilang ident="FILTER_LIST"}] +
+
+ + [{if $oView->d3HasFilters()}] + [{block name="d3_cfg_extsearch_alistmobile_filters"}] + +
+ [{$oViewConf->getHiddenSid()}] + + + + + [{foreach from=$oView->getNavigationParams() key="keyname" item="value"}] + [{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}] + + [{/if}] + [{/foreach}] + + [{assign var="blFilterOpen" value=false}] + + [{block name="d3_inc_ext_search__filter"}] + [{if $oView->d3HasVendorList()}] + + + [{/if}] + + [{if $oView->d3HasManufacturerList()}] + + + [{/if}] + + [{if $oView->d3HasAttributeList()}] + [{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}] + + + [{/foreach}] + [{/if}] + + [{if $oView->d3HasPriceFilter()}] + [{assign var="currency" value=$oView->getActCurrency()}] + + + [{/if}] + [{/block}] +
+ [{/block}] + [{/if}] +
+
+ + [{oxscript include="js/widgets/oxdropdown.js" priority=10}] + [{capture name="d3JsFnc"}][{strip}] + $('div.dropdown').oxDropDown(); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{oxscript include="js/widgets/oxattribute.js" priority=10}] + [{capture name="d3JsFnc"}][{strip}] + $('#filterItems').oxAttribute({blShowFilter:'$blFilterOpen'}); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] + [{capture name="d3JsFnc"}][{strip}] + $('#sortItems').oxAttribute({blShowFilter:'$blFilterOpen'}); + [{/strip}][{/capture}] + [{oxscript add=$smarty.capture.d3JsFnc}] +
[{/block}] \ No newline at end of file