change line endings for easy patching
This commit is contained in:
parent
8d0aee74fb
commit
783c81f4e1
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.tpl text eol=lf
|
@ -1,18 +1,18 @@
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px">
|
||||
<label for="d3push">[{oxmultilang ident="D3_EXTSEARCH_PUSH"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<select id="d3push" class="edittext" name="editval[oxarticles__d3push]" size="1">
|
||||
<option value="1"
|
||||
[{if $edit->oxarticles__d3push->value == 1}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_PUSH_1"}]</option>
|
||||
<option value="2"
|
||||
[{if $edit->oxarticles__d3push->value == 2}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_PUSH_2"}]</option>
|
||||
<option value="3"
|
||||
[{if $edit->oxarticles__d3push->value == 3}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_PUSH_3"}]</option>
|
||||
</select>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PUSH_DESC"}]
|
||||
</td>
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px">
|
||||
<label for="d3push">[{oxmultilang ident="D3_EXTSEARCH_PUSH"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<select id="d3push" class="edittext" name="editval[oxarticles__d3push]" size="1">
|
||||
<option value="1"
|
||||
[{if $edit->oxarticles__d3push->value == 1}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_PUSH_1"}]</option>
|
||||
<option value="2"
|
||||
[{if $edit->oxarticles__d3push->value == 2}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_PUSH_2"}]</option>
|
||||
<option value="3"
|
||||
[{if $edit->oxarticles__d3push->value == 3}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_PUSH_3"}]</option>
|
||||
</select>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PUSH_DESC"}]
|
||||
</td>
|
||||
</tr>
|
@ -1,3 +1,3 @@
|
||||
[{*** unused tpl block extension, exists for compatibility reason ***}]
|
||||
|
||||
[{*** unused tpl block extension, exists for compatibility reason ***}]
|
||||
|
||||
[{$smarty.block.parent}]
|
@ -1,3 +1,3 @@
|
||||
[{*** unused tpl block extension, exists for compatibility reason ***}]
|
||||
|
||||
[{*** unused tpl block extension, exists for compatibility reason ***}]
|
||||
|
||||
[{$smarty.block.parent}]
|
@ -1,11 +1,11 @@
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
<tr id="d3issearchable">
|
||||
<td class="edittext">
|
||||
<label for="d3issearchable">[{oxmultilang ident="D3_EXTSEARCH_CONTENT_SEARCHABLE"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="hidden" name="editval[oxcontents__d3issearchable]" value="0">
|
||||
<input type="checkbox" name="editval[oxcontents__d3issearchable]" id="d3issearchable" value="1" class="edittext" [{if $edit->oxcontents__d3issearchable->value == 1}]CHECKED[{/if}] [{$readonly}]>
|
||||
</td>
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
<tr id="d3issearchable">
|
||||
<td class="edittext">
|
||||
<label for="d3issearchable">[{oxmultilang ident="D3_EXTSEARCH_CONTENT_SEARCHABLE"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="hidden" name="editval[oxcontents__d3issearchable]" value="0">
|
||||
<input type="checkbox" name="editval[oxcontents__d3issearchable]" id="d3issearchable" value="1" class="edittext" [{if $edit->oxcontents__d3issearchable->value == 1}]CHECKED[{/if}] [{$readonly}]>
|
||||
</td>
|
||||
</tr>
|
File diff suppressed because it is too large
Load Diff
@ -1,50 +1,50 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$sCharSet}]">
|
||||
<title>[{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG"}]</title>
|
||||
</head>
|
||||
<body style='font: 12px Trebuchet MS,Tahoma,Verdana,Arial,Helvetica,sans-serif;'>
|
||||
<form action="[{$sFormUrl}]" style="float: left; margin-right: 5px;">
|
||||
[{$sHiddenSid}]
|
||||
<input type="hidden" name="cl" value="[{$sClass}]">
|
||||
<input type="hidden" name="fnc" value="[{$sFnc}]">
|
||||
<input type="text" name="searchparam" value="[{$sSearchParam}]">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG_START"}]">
|
||||
</form>
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG_DESC"}]
|
||||
|
||||
<hr style="clear: both; float: none;">
|
||||
|
||||
[{if $aAllList|count}]
|
||||
<table style='font-size: 10px; border: 1px solid silver;'>
|
||||
[{capture name="fieldNameLine"}]
|
||||
<tr>
|
||||
<td style='font-weight: bold; padding: 2px; border: 1px solid black; '>No:</td>
|
||||
[{foreach from=$aFieldNames item="sFieldName"}]
|
||||
<td style='font-weight: bold; padding: 2px; border: 1px solid black; '>[{$sFieldName}]</td>
|
||||
[{/foreach}]
|
||||
</tr>
|
||||
[{/capture}]
|
||||
|
||||
[{$smarty.capture.fieldNameLine}]
|
||||
|
||||
[{foreach from=$aAllList item="aItem" name="itemlist"}]
|
||||
<tr>
|
||||
<td style='border: 1px solid silver;'>[{$smarty.foreach.itemlist.iteration}]</td>
|
||||
[{foreach from=$aItem key="sKey" item="sItem"}]
|
||||
[{if $sKey|in_array:$aUsedFields}]
|
||||
<td style='border: 1px solid silver;'>[{$sItem}]</td>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</tr>
|
||||
|
||||
[{if $smarty.foreach.itemlist.iteration % 20 == 0}]
|
||||
[{$smarty.capture.fieldNameLine}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
|
||||
</table>
|
||||
[{/if}]
|
||||
</body>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$sCharSet}]">
|
||||
<title>[{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG"}]</title>
|
||||
</head>
|
||||
<body style='font: 12px Trebuchet MS,Tahoma,Verdana,Arial,Helvetica,sans-serif;'>
|
||||
<form action="[{$sFormUrl}]" style="float: left; margin-right: 5px;">
|
||||
[{$sHiddenSid}]
|
||||
<input type="hidden" name="cl" value="[{$sClass}]">
|
||||
<input type="hidden" name="fnc" value="[{$sFnc}]">
|
||||
<input type="text" name="searchparam" value="[{$sSearchParam}]">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG_START"}]">
|
||||
</form>
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_MAIN_SORTDEBUG_DESC"}]
|
||||
|
||||
<hr style="clear: both; float: none;">
|
||||
|
||||
[{if $aAllList|count}]
|
||||
<table style='font-size: 10px; border: 1px solid silver;'>
|
||||
[{capture name="fieldNameLine"}]
|
||||
<tr>
|
||||
<td style='font-weight: bold; padding: 2px; border: 1px solid black; '>No:</td>
|
||||
[{foreach from=$aFieldNames item="sFieldName"}]
|
||||
<td style='font-weight: bold; padding: 2px; border: 1px solid black; '>[{$sFieldName}]</td>
|
||||
[{/foreach}]
|
||||
</tr>
|
||||
[{/capture}]
|
||||
|
||||
[{$smarty.capture.fieldNameLine}]
|
||||
|
||||
[{foreach from=$aAllList item="aItem" name="itemlist"}]
|
||||
<tr>
|
||||
<td style='border: 1px solid silver;'>[{$smarty.foreach.itemlist.iteration}]</td>
|
||||
[{foreach from=$aItem key="sKey" item="sItem"}]
|
||||
[{if $sKey|in_array:$aUsedFields}]
|
||||
<td style='border: 1px solid silver;'>[{$sItem}]</td>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</tr>
|
||||
|
||||
[{if $smarty.foreach.itemlist.iteration % 20 == 0}]
|
||||
[{$smarty.capture.fieldNameLine}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
|
||||
</table>
|
||||
[{/if}]
|
||||
</body>
|
||||
</html>
|
File diff suppressed because it is too large
Load Diff
@ -1,167 +1,167 @@
|
||||
[{include file="headitem.tpl" title="d3tbclextsearch_settings_browser"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{if $updatelist == 1}]
|
||||
UpdateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
let oTransfer = document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='';
|
||||
oTransfer.submit();
|
||||
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
[{if $oView->getValueStatus() == 'error'}]
|
||||
<form name="myedit" id="myedit" enctype="multipart/form-data" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<b>[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]</b><br>
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_BTN"}]">
|
||||
</form>
|
||||
[{else}]
|
||||
|
||||
<form name="myedit" id="myedit" enctype="multipart/form-data" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<fieldset>
|
||||
<legend>[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SETTINGS"}]</legend>
|
||||
<table style="width:100%;padding:0;border:0">
|
||||
[{block name="d3_cfg_extsearch_plugins__form"}]
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
<label for="enablePluginBrowserInstall">[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SEARCHACTIVE"}]</label>
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input type="hidden" name="value[blExtSearch_enablePluginBrowserInstall]" value="0">
|
||||
<input id="enablePluginBrowserInstall" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_enablePluginBrowserInstall]" value='1' [{if $edit->getEditValue('blExtSearch_enablePluginBrowserInstall') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHACTIVE_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
<label for="enablePluginLink">[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_INSTALLLINK"}]</label>
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input type="hidden" name="value[blExtSearch_enablePluginLink]" value="0">
|
||||
<input id="enablePluginLink" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_enablePluginLink]" value='1' [{if $edit->getEditValue('blExtSearch_enablePluginLink') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_INSTALLLINK_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
<label for="PluginIcon">[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SEARCHICON"}]</label>
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input id="PluginIcon" class="edittext ext_edittext" type="file" name="value[sExtSearch_PluginIcon]" value='[{$edit->getEditValue('sExtSearch_PluginIcon')}]'><br>
|
||||
[{if $edit->getEditValue('sExtSearch_PluginIcon')}][{$edit->getEditValue('sExtSearch_PluginIcon')}] <img src="[{$oViewConf->getBaseDir()}][{$edit->getEditValue('sExtSearch_PluginIcon')}]" style="margin-top: 3px;">[{else}][{oxmultilang ident="D3_EXTSEARCH_PLUGIN_CHOOSEICON"}][{/if}]
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHICON_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="text-align: left;"><br>
|
||||
<span class="d3modcfg_btn icon d3color-green">
|
||||
<button type="submit" name="save">
|
||||
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SAVE"}]
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<fieldset>
|
||||
<legend>[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATE"}]</legend>
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATEFILE"}]
|
||||
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="generatePluginFile">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<span class="d3modcfg_btn d3color-blue">
|
||||
[{assign var="escapedCl" value=$oViewConf->getActiveClassName()|oxescape:"url"}]
|
||||
[{assign var="clParam" value="cl="|cat:$escapedCl}]
|
||||
<input type="submit" name="save" value="[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_STARTGENERATING"}]" onclick="window.open('[{$oViewConf->getSelfLink()}]&sid=[{$shop->sid}]&[{$clParam}]&fnc=generatePluginFile', 'generate_plugin', 'width=300, height=300, left=100'); return false;">
|
||||
</span>
|
||||
<br><br>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATENOTICE"}]
|
||||
</form>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_GENERATE_DESC"}]
|
||||
</fieldset>
|
||||
[{/if}]
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
[{include file="headitem.tpl" title="d3tbclextsearch_settings_browser"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{if $updatelist == 1}]
|
||||
UpdateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
let oTransfer = document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='';
|
||||
oTransfer.submit();
|
||||
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
[{if $oView->getValueStatus() == 'error'}]
|
||||
<form name="myedit" id="myedit" enctype="multipart/form-data" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<b>[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]</b><br>
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_BTN"}]">
|
||||
</form>
|
||||
[{else}]
|
||||
|
||||
<form name="myedit" id="myedit" enctype="multipart/form-data" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<fieldset>
|
||||
<legend>[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SETTINGS"}]</legend>
|
||||
<table style="width:100%;padding:0;border:0">
|
||||
[{block name="d3_cfg_extsearch_plugins__form"}]
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
<label for="enablePluginBrowserInstall">[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SEARCHACTIVE"}]</label>
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input type="hidden" name="value[blExtSearch_enablePluginBrowserInstall]" value="0">
|
||||
<input id="enablePluginBrowserInstall" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_enablePluginBrowserInstall]" value='1' [{if $edit->getEditValue('blExtSearch_enablePluginBrowserInstall') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHACTIVE_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
<label for="enablePluginLink">[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_INSTALLLINK"}]</label>
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input type="hidden" name="value[blExtSearch_enablePluginLink]" value="0">
|
||||
<input id="enablePluginLink" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_enablePluginLink]" value='1' [{if $edit->getEditValue('blExtSearch_enablePluginLink') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_INSTALLLINK_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
<label for="PluginIcon">[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SEARCHICON"}]</label>
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input id="PluginIcon" class="edittext ext_edittext" type="file" name="value[sExtSearch_PluginIcon]" value='[{$edit->getEditValue('sExtSearch_PluginIcon')}]'><br>
|
||||
[{if $edit->getEditValue('sExtSearch_PluginIcon')}][{$edit->getEditValue('sExtSearch_PluginIcon')}] <img src="[{$oViewConf->getBaseDir()}][{$edit->getEditValue('sExtSearch_PluginIcon')}]" style="margin-top: 3px;">[{else}][{oxmultilang ident="D3_EXTSEARCH_PLUGIN_CHOOSEICON"}][{/if}]
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_SEARCHICON_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="text-align: left;"><br>
|
||||
<span class="d3modcfg_btn icon d3color-green">
|
||||
<button type="submit" name="save">
|
||||
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_SAVE"}]
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<fieldset>
|
||||
<legend>[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATE"}]</legend>
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATEFILE"}]
|
||||
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="generatePluginFile">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<span class="d3modcfg_btn d3color-blue">
|
||||
[{assign var="escapedCl" value=$oViewConf->getActiveClassName()|oxescape:"url"}]
|
||||
[{assign var="clParam" value="cl="|cat:$escapedCl}]
|
||||
<input type="submit" name="save" value="[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_STARTGENERATING"}]" onclick="window.open('[{$oViewConf->getSelfLink()}]&sid=[{$shop->sid}]&[{$clParam}]&fnc=generatePluginFile', 'generate_plugin', 'width=300, height=300, left=100'); return false;">
|
||||
</span>
|
||||
<br><br>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_PLUGIN_GENERATENOTICE"}]
|
||||
</form>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_PLUGIN_GENERATE_DESC"}]
|
||||
</fieldset>
|
||||
[{/if}]
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
|
@ -1,227 +1,227 @@
|
||||
[{include file="headitem.tpl" title="d3tbclextsearch_settings_quick"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{if $updatelist == 1}]
|
||||
UpdateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
let oTransfer = document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='';
|
||||
oTransfer.submit();
|
||||
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function _groupExp(el) {
|
||||
let _cur = el.parentNode;
|
||||
|
||||
if (_cur.className === "exp") _cur.className = "";
|
||||
else _cur.className = "exp";
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.groupExp dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
[{if $oView->getValueStatus() == 'error'}]
|
||||
<b>[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]</b><br>
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_BTN"}]">
|
||||
[{else}]
|
||||
<table style="border: 0; width: 98%;">
|
||||
<tr>
|
||||
<td style="vertical-align: top;" class="edittext">
|
||||
|
||||
[{block name="d3_cfg_extsearch_quicksearch__form"}]
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
[{block name="d3_cfg_extsearch_navigation__quick"}]
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<b>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK"}]
|
||||
</b>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="enableAjaxSearch">[{oxmultilang ident="D3_EXTSEARCH_QUICK_ACTIVE"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_enableAjaxSearch]" value="0">
|
||||
<input id="enableAjaxSearch" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_enableAjaxSearch]" value='1' [{if $edit->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"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="ajaxSearchLoadFullObjects">[{oxmultilang ident="D3_EXTSEARCH_QUICK_FULLOBJECTS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_ajaxSearchLoadFullObjects]" value="0">
|
||||
<input id="ajaxSearchLoadFullObjects" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_ajaxSearchLoadFullObjects]" value='1' [{if $edit->getEditValue('blExtSearch_ajaxSearchLoadFullObjects') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_FULLOBJECTS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchMaxArticles">[{oxmultilang ident="D3_EXTSEARCH_QUICK_COUNT"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input id="QuickSearchMaxArticles" size="6" maxlength="5" class="edittext ext_edittext" type="text" name="value[sExtSearch_QuickSearchMaxArticles]" value="[{if $edit->getEditValue('sExtSearch_QuickSearchMaxArticles')}][{$edit->getEditValue('sExtSearch_QuickSearchMaxArticles')}][{else}]200[{/if}]">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_COUNT_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadCategories">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADCATEGORIES"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadCategories]" value="0">
|
||||
<input id="QuickSearchLoadCategories" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadCategories]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadCategories') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCATEGORIES_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadManufacturers">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADMANUFACTURERS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadManufacturers]" value="0">
|
||||
<input id="QuickSearchLoadManufacturers" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadManufacturers]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadManufacturers') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADMANUFACTURERS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadVendors">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADVENDORS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadVendors]" value="0">
|
||||
<input id="QuickSearchLoadVendors" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadVendors]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadVendors') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADVENDORS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadContent">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADCONTENT"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadContent]" value="0">
|
||||
<input id="QuickSearchLoadContent" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadContent]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadContent') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCONTENT_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
[{block name="d3_cfg_extsearch_navigation__ias"}]
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<b>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_IAS"}]
|
||||
</b>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="ShowIAS">[{oxmultilang ident="D3_EXTSEARCH_QUICK_SHOWIAS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_ShowIAS]" value="0">
|
||||
<input id="ShowIAS" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_ShowIAS]" value='1' [{if $edit->getEditValue('blExtSearch_ShowIAS') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_SHOWIAS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="text-align: left;"><br>
|
||||
<span class="d3modcfg_btn icon d3color-green">
|
||||
<button type="submit" name="save">
|
||||
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_EXTSEARCH_QUICK_SAVE"}]
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br><br>[{oxmultilang ident="D3_EXTSEARCH_QUICK_TPLNOTICE"}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[{/if}]
|
||||
</form>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
[{include file="headitem.tpl" title="d3tbclextsearch_settings_quick"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{if $updatelist == 1}]
|
||||
UpdateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
let oTransfer = document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='';
|
||||
oTransfer.submit();
|
||||
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function _groupExp(el) {
|
||||
let _cur = el.parentNode;
|
||||
|
||||
if (_cur.className === "exp") _cur.className = "";
|
||||
else _cur.className = "exp";
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.groupExp dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
[{if $oView->getValueStatus() == 'error'}]
|
||||
<b>[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]</b><br>
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_BTN"}]">
|
||||
[{else}]
|
||||
<table style="border: 0; width: 98%;">
|
||||
<tr>
|
||||
<td style="vertical-align: top;" class="edittext">
|
||||
|
||||
[{block name="d3_cfg_extsearch_quicksearch__form"}]
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
[{block name="d3_cfg_extsearch_navigation__quick"}]
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<b>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK"}]
|
||||
</b>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="enableAjaxSearch">[{oxmultilang ident="D3_EXTSEARCH_QUICK_ACTIVE"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_enableAjaxSearch]" value="0">
|
||||
<input id="enableAjaxSearch" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_enableAjaxSearch]" value='1' [{if $edit->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"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="ajaxSearchLoadFullObjects">[{oxmultilang ident="D3_EXTSEARCH_QUICK_FULLOBJECTS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_ajaxSearchLoadFullObjects]" value="0">
|
||||
<input id="ajaxSearchLoadFullObjects" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_ajaxSearchLoadFullObjects]" value='1' [{if $edit->getEditValue('blExtSearch_ajaxSearchLoadFullObjects') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_FULLOBJECTS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchMaxArticles">[{oxmultilang ident="D3_EXTSEARCH_QUICK_COUNT"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input id="QuickSearchMaxArticles" size="6" maxlength="5" class="edittext ext_edittext" type="text" name="value[sExtSearch_QuickSearchMaxArticles]" value="[{if $edit->getEditValue('sExtSearch_QuickSearchMaxArticles')}][{$edit->getEditValue('sExtSearch_QuickSearchMaxArticles')}][{else}]200[{/if}]">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_COUNT_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadCategories">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADCATEGORIES"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadCategories]" value="0">
|
||||
<input id="QuickSearchLoadCategories" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadCategories]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadCategories') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCATEGORIES_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadManufacturers">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADMANUFACTURERS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadManufacturers]" value="0">
|
||||
<input id="QuickSearchLoadManufacturers" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadManufacturers]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadManufacturers') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADMANUFACTURERS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadVendors">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADVENDORS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadVendors]" value="0">
|
||||
<input id="QuickSearchLoadVendors" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadVendors]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadVendors') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADVENDORS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
<dl class="suggest_options">
|
||||
<dt>
|
||||
<label for="QuickSearchLoadContent">[{oxmultilang ident="D3_EXTSEARCH_QUICK_LOADCONTENT"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_QuickSearchLoadContent]" value="0">
|
||||
<input id="QuickSearchLoadContent" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_QuickSearchLoadContent]" value='1' [{if $edit->getEditValue('blExtSearch_QuickSearchLoadContent') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_LOADCONTENT_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
[{block name="d3_cfg_extsearch_navigation__ias"}]
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<b>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_IAS"}]
|
||||
</b>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="ShowIAS">[{oxmultilang ident="D3_EXTSEARCH_QUICK_SHOWIAS"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blExtSearch_ShowIAS]" value="0">
|
||||
<input id="ShowIAS" class="edittext ext_edittext" type="checkbox" name="value[blExtSearch_ShowIAS]" value='1' [{if $edit->getEditValue('blExtSearch_ShowIAS') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_QUICK_SHOWIAS_DESC"}]
|
||||
</dd>
|
||||
<dd class="spacer"></dd>
|
||||
</dl>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="text-align: left;"><br>
|
||||
<span class="d3modcfg_btn icon d3color-green">
|
||||
<button type="submit" name="save">
|
||||
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_EXTSEARCH_QUICK_SAVE"}]
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br><br>[{oxmultilang ident="D3_EXTSEARCH_QUICK_TPLNOTICE"}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[{/if}]
|
||||
</form>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
|
@ -1,235 +1,235 @@
|
||||
[{include file="headitem.tpl" title="d3tbclextsearch_settings_statistik"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{if $updatelist == 1}]
|
||||
UpdateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function showGraph(sSearchWord, sFilters, iLang)
|
||||
{
|
||||
document.popuptransfer.target='_new';
|
||||
document.popuptransfer.fnc.value='generateStat';
|
||||
document.popuptransfer.searchword.value= sSearchWord;
|
||||
document.popuptransfer.searchparams.value= sFilters;
|
||||
document.popuptransfer.lang.value= iLang;
|
||||
document.popuptransfer.submit();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.fa-stack.disabled {
|
||||
color: silver;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="popuptransfer" id="popuptransfer" action="[{$oViewConf->getSelfLink()}]" target="" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
<input type="hidden" name="statparams[type]" value="[{$aParams.type}]">
|
||||
<input type="hidden" name="statparams[time]" value="[{$aParams.time}]">
|
||||
<input type="hidden" name="searchword" value="">
|
||||
<input type="hidden" name="searchparams" value="">
|
||||
<input type="hidden" name="lang" value="">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="generateStatList">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<table style="border: 0; width:98%;">
|
||||
<tr>
|
||||
<td style="vertical-align: top;" class="edittext">
|
||||
|
||||
[{if $edit->getErrorMessage()}]
|
||||
<div class="extension_error">
|
||||
[{$edit->getErrorMessage()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getValueStatus() == 'error'}]
|
||||
<span style="font-weight: bold;">[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]</span><br>
|
||||
<span class="d3modcfg_btn">
|
||||
<input type="submit" name="save" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_BTN"}]">
|
||||
</span>
|
||||
[{else}]
|
||||
<fieldset>
|
||||
<table style="width: 100%;padding:0;border:0">
|
||||
<colgroup>
|
||||
<col style="width:35%">
|
||||
<col style="width:35%">
|
||||
<col style="width:30%">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="stattype">[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPE"}]</label>
|
||||
<select id="stattype" name="statparams[type]">
|
||||
[{if $aTimes|count}]
|
||||
<option value="hitless" [{if $aParams.type == 'hitless'}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPEHITLESS"}]</option>
|
||||
<option value="mosthits" [{if $aParams.type == 'mosthits'}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPEMOSTHITS"}]</option>
|
||||
<option value="mostsearches" [{if $aParams.type == 'mostsearches'}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPEMOSTSEARCHES"}]</option>
|
||||
[{else}]
|
||||
<option value="" disabled>[{oxmultilang ident="D3_EXTSEARCH_STAT_NOHITS"}]</option>
|
||||
[{/if}]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label for="statlang">[{oxmultilang ident="D3_EXTSEARCH_STAT_LANG"}]</label>
|
||||
<select id="statlang" name="statparams[lang]">
|
||||
[{foreach from=$oView->getLangList() item="oLang"}]
|
||||
<option value="[{$oLang->id}]" [{if $aParams.lang == $oLang->id}]selected[{/if}]>[{$oLang->name}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label for="stattime">[{oxmultilang ident="D3_EXTSEARCH_STAT_TIME"}]</label>
|
||||
<select id="stattime" name="statparams[time]">
|
||||
[{if $aTimes|count}]
|
||||
[{foreach from=$aTimes item="aTime"}]
|
||||
<option value="[{$aTime.value}]" [{if $aParams.time == $aTime.value}]selected[{/if}]>[{$aTime.output}]</option>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<option value="" disabled>[{oxmultilang ident="D3_EXTSEARCH_STAT_NOHITS"}]</option>
|
||||
[{/if}]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="d3modcfg_btn">
|
||||
<input [{if !$aTimes|count}] disabled [{/if}] type="submit" name="save" value="[{oxmultilang ident="D3_EXTSEARCH_STAT_GENERATESTAT"}]">
|
||||
</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"><hr></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: bold;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHWORD"}]
|
||||
</td>
|
||||
<td style="font-weight: bold;">
|
||||
[{if $aParams.type == 'mosthits'}][{oxmultilang ident="D3_EXTSEARCH_STAT_HITS"}][{else}][{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHES"}][{/if}]
|
||||
</td>
|
||||
<td style="font-weight: bold;" colspan="2">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STATISTIC_GRAPH"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{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}]
|
||||
<tr>
|
||||
<td class="[{$listclass}]" style="vertical-align: top;">
|
||||
<b>[{$searchword->sWord}]</b>
|
||||
[{if $searchword->aFilters}][{*oxmultilang ident="D3_EXTSEARCH_STATISTIC_FURTHERFILTERS"*}]
|
||||
[{foreach from=$searchword->aFilters item="oFilter"}]
|
||||
<div style="padding-left: 10px;">[{$oFilter->desc}]: [{$oFilter->value}]</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</td>
|
||||
<td class="[{$listclass}]" style="vertical-align: top;">
|
||||
[{$searchword->iCount}]
|
||||
</td>
|
||||
<td class="[{$listclass}]" style="vertical-align: top;" colspan="2">
|
||||
[{if $oView->checkReportBaseClass()}]
|
||||
[{if $searchword->blGraph}]
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<a id="del.[{$_cnt}]" class="fa fa-bar-chart fa-stack-1x fa-inverse" href="#" onclick="showGraph('[{$searchword->sWord}]', '[{$searchword->sFilters}]', '[{$searchword->iLang}]'); return false;"></a>
|
||||
</span>
|
||||
[{else}]
|
||||
<span class="fa-stack fa-lg disabled">
|
||||
<i class="fa fa-bar-chart fa-stack-1x"></i>
|
||||
<i class="fa fa-ban fa-stack-2x"></i>
|
||||
</span>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_NOREPORTBASE"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOREPORTBASE_DESC"}]
|
||||
[{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{elseif $aParams}]
|
||||
<tr>
|
||||
<td colspan="3" class="listitem" style="text-align: center;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_NOITEMS"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOITEMS_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{else}]
|
||||
<tr>
|
||||
<td colspan="3" class="listitem" style="text-align: center;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_SELECTFILTER"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
</table>
|
||||
</fieldset>
|
||||
[{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
[{include file="headitem.tpl" title="d3tbclextsearch_settings_statistik"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{if $updatelist == 1}]
|
||||
UpdateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
let oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function showGraph(sSearchWord, sFilters, iLang)
|
||||
{
|
||||
document.popuptransfer.target='_new';
|
||||
document.popuptransfer.fnc.value='generateStat';
|
||||
document.popuptransfer.searchword.value= sSearchWord;
|
||||
document.popuptransfer.searchparams.value= sFilters;
|
||||
document.popuptransfer.lang.value= iLang;
|
||||
document.popuptransfer.submit();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.fa-stack.disabled {
|
||||
color: silver;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="popuptransfer" id="popuptransfer" action="[{$oViewConf->getSelfLink()}]" target="" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
<input type="hidden" name="statparams[type]" value="[{$aParams.type}]">
|
||||
<input type="hidden" name="statparams[time]" value="[{$aParams.time}]">
|
||||
<input type="hidden" name="searchword" value="">
|
||||
<input type="hidden" name="searchparams" value="">
|
||||
<input type="hidden" name="lang" value="">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="generateStatList">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[oxid]" value="[{$oxid}]">
|
||||
|
||||
<table style="border: 0; width:98%;">
|
||||
<tr>
|
||||
<td style="vertical-align: top;" class="edittext">
|
||||
|
||||
[{if $edit->getErrorMessage()}]
|
||||
<div class="extension_error">
|
||||
[{$edit->getErrorMessage()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getValueStatus() == 'error'}]
|
||||
<span style="font-weight: bold;">[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_DESC"}]</span><br>
|
||||
<span class="d3modcfg_btn">
|
||||
<input type="submit" name="save" value="[{oxmultilang ident="D3_EXTSEARCH_MAIN_NOCONFIG_BTN"}]">
|
||||
</span>
|
||||
[{else}]
|
||||
<fieldset>
|
||||
<table style="width: 100%;padding:0;border:0">
|
||||
<colgroup>
|
||||
<col style="width:35%">
|
||||
<col style="width:35%">
|
||||
<col style="width:30%">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="stattype">[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPE"}]</label>
|
||||
<select id="stattype" name="statparams[type]">
|
||||
[{if $aTimes|count}]
|
||||
<option value="hitless" [{if $aParams.type == 'hitless'}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPEHITLESS"}]</option>
|
||||
<option value="mosthits" [{if $aParams.type == 'mosthits'}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPEMOSTHITS"}]</option>
|
||||
<option value="mostsearches" [{if $aParams.type == 'mostsearches'}]selected[{/if}]>[{oxmultilang ident="D3_EXTSEARCH_STAT_TYPEMOSTSEARCHES"}]</option>
|
||||
[{else}]
|
||||
<option value="" disabled>[{oxmultilang ident="D3_EXTSEARCH_STAT_NOHITS"}]</option>
|
||||
[{/if}]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label for="statlang">[{oxmultilang ident="D3_EXTSEARCH_STAT_LANG"}]</label>
|
||||
<select id="statlang" name="statparams[lang]">
|
||||
[{foreach from=$oView->getLangList() item="oLang"}]
|
||||
<option value="[{$oLang->id}]" [{if $aParams.lang == $oLang->id}]selected[{/if}]>[{$oLang->name}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label for="stattime">[{oxmultilang ident="D3_EXTSEARCH_STAT_TIME"}]</label>
|
||||
<select id="stattime" name="statparams[time]">
|
||||
[{if $aTimes|count}]
|
||||
[{foreach from=$aTimes item="aTime"}]
|
||||
<option value="[{$aTime.value}]" [{if $aParams.time == $aTime.value}]selected[{/if}]>[{$aTime.output}]</option>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<option value="" disabled>[{oxmultilang ident="D3_EXTSEARCH_STAT_NOHITS"}]</option>
|
||||
[{/if}]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="d3modcfg_btn">
|
||||
<input [{if !$aTimes|count}] disabled [{/if}] type="submit" name="save" value="[{oxmultilang ident="D3_EXTSEARCH_STAT_GENERATESTAT"}]">
|
||||
</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"><hr></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: bold;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHWORD"}]
|
||||
</td>
|
||||
<td style="font-weight: bold;">
|
||||
[{if $aParams.type == 'mosthits'}][{oxmultilang ident="D3_EXTSEARCH_STAT_HITS"}][{else}][{oxmultilang ident="D3_EXTSEARCH_STAT_SEARCHES"}][{/if}]
|
||||
</td>
|
||||
<td style="font-weight: bold;" colspan="2">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STATISTIC_GRAPH"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{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}]
|
||||
<tr>
|
||||
<td class="[{$listclass}]" style="vertical-align: top;">
|
||||
<b>[{$searchword->sWord}]</b>
|
||||
[{if $searchword->aFilters}][{*oxmultilang ident="D3_EXTSEARCH_STATISTIC_FURTHERFILTERS"*}]
|
||||
[{foreach from=$searchword->aFilters item="oFilter"}]
|
||||
<div style="padding-left: 10px;">[{$oFilter->desc}]: [{$oFilter->value}]</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</td>
|
||||
<td class="[{$listclass}]" style="vertical-align: top;">
|
||||
[{$searchword->iCount}]
|
||||
</td>
|
||||
<td class="[{$listclass}]" style="vertical-align: top;" colspan="2">
|
||||
[{if $oView->checkReportBaseClass()}]
|
||||
[{if $searchword->blGraph}]
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<a id="del.[{$_cnt}]" class="fa fa-bar-chart fa-stack-1x fa-inverse" href="#" onclick="showGraph('[{$searchword->sWord}]', '[{$searchword->sFilters}]', '[{$searchword->iLang}]'); return false;"></a>
|
||||
</span>
|
||||
[{else}]
|
||||
<span class="fa-stack fa-lg disabled">
|
||||
<i class="fa fa-bar-chart fa-stack-1x"></i>
|
||||
<i class="fa fa-ban fa-stack-2x"></i>
|
||||
</span>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_NOREPORTBASE"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOREPORTBASE_DESC"}]
|
||||
[{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{elseif $aParams}]
|
||||
<tr>
|
||||
<td colspan="3" class="listitem" style="text-align: center;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_NOITEMS"}] [{oxinputhelp ident="D3_EXTSEARCH_STAT_NOITEMS_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{else}]
|
||||
<tr>
|
||||
<td colspan="3" class="listitem" style="text-align: center;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_STAT_SELECTFILTER"}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
</table>
|
||||
</fieldset>
|
||||
[{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.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()}]
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
top.reloadEditFrame();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
let oTransfer = parent.edit.document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='[{if $actlocation}][{$actlocation|oxescape:"javascript"}][{else}][{$default_edit|oxescape:"javascript"}][{/if}]';
|
||||
|
||||
//forcing edit frame to reload after submit
|
||||
top.forceReloadingEditFrame();
|
||||
|
||||
let oSearch = document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="liste">
|
||||
<form name="search" id="search" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{include file="_formparams.tpl" cl=$oViewConf->getActiveClassName() lstrt=$lstrt actedit=$actedit oxid=$oxid fnc="" language=$actlang editlanguage=$actlang}]
|
||||
<input type="hidden" name="delete_oxtime" value="">
|
||||
<input type="hidden" name="delete_oxmodid" value="">
|
||||
<input type="hidden" name="delete_oxtype" value="">
|
||||
|
||||
<table style="padding:0;border:0;width:100%">
|
||||
<colgroup>
|
||||
<col style="width:30%">
|
||||
<col style="width:50%">
|
||||
<col style="width:9%">
|
||||
<col style="width:2%">
|
||||
</colgroup>
|
||||
<tr class="listitem">
|
||||
<td style="height:20px; vertical-align: middle" class="listfilter first" nowrap>
|
||||
<div class="r1"><div class="b1">
|
||||
<input class="listedit" type="text" size="50" maxlength="250" name="where[[{$listTable}]][word]" value="[{$where.d3_extsearch_term.word}]" [{include file="help.tpl" helpid=searchfieldoxdynamic}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_WORD_DESC"}]
|
||||
</div></div>
|
||||
</td>
|
||||
<td style="height:20px;vertical-align: middle" class="listfilter" nowrap>
|
||||
<div class="r1"><div class="b1">
|
||||
</div></div>
|
||||
</td>
|
||||
<td style="height:20px; vertical-align: middle" colspan="2" class="listfilter" nowrap>
|
||||
<div class="r1"><div class="b1">
|
||||
<div class="find">
|
||||
<input class="listedit" type="submit" name="submitit" value="[{oxmultilang ident="GENERAL_SEARCH"}]" onClick="document.search.lstrt.value=0;">
|
||||
</div>
|
||||
<input class="listedit" type="text" size="8" maxlength="128" name="where[[{$listTable}]][synset_id]" value="[{$where.d3_extsearch_term.synset_id}]" [{include file="help.tpl" helpid=searchfieldoxdynamic}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_SYNSETID_DESC"}]
|
||||
</div></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="listheader first" style="height:15px">
|
||||
<a href="#" onclick="top.oxid.admin.setSorting( document.search, 'd3_extsearch_term', 'word', 'asc');document.search.submit();" class="listheader">[{oxmultilang ident="D3_EXTSEARCH_SYNED_WORD"}]</a>
|
||||
</td>
|
||||
<td class="listheader" style="height:15px">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_SYNED_ALTWORD"}]
|
||||
</td>
|
||||
<td class="listheader" style="height:15px">
|
||||
<a href="#" onclick="top.oxid.admin.setSorting( document.search, 'd3_extsearch_term', 'synset_id', 'asc');document.search.submit();" class="listheader">[{oxmultilang ident="D3_EXTSEARCH_SYNED_SYNSETID"}]</a>
|
||||
</td>
|
||||
<td class="listheader" style="height:15px">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{assign var="_cnt" value=0}]
|
||||
[{foreach from=$mylist item=listitem}]
|
||||
[{assign var="_cnt" value=$_cnt+1}]
|
||||
<tr id="row.[{$_cnt}]">
|
||||
|
||||
[{if $listitem->blacklist == 1}]
|
||||
[{assign var="listclass" value=listitem3}]
|
||||
[{else}]
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
[{/if}]
|
||||
[{if $listitem->d3_extsearch_term__oxid->value == $oxid}]
|
||||
[{assign var="listclass" value=listitem4}]
|
||||
[{/if}]
|
||||
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:EditThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="[{$listclass}]">[{$listitem->d3_extsearch_term__word->value}]</a></div></td>
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:EditThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="[{$listclass}]">[{$listitem->getSynonymsForSynsetId($listitem->d3_extsearch_term__synset_id->value, $listitem->d3_extsearch_term__word->value)}]</a></div></td>
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:EditThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="[{$listclass}]">[{$listitem->d3_extsearch_term__synset_id->value}]</a></div></td>
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:top.oxid.admin.deleteThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="delete" id="del.[{$_cnt}]" title="" [{include file="help.tpl" helpid=item_delete}]></a></div></td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="pagenavisnippet.tpl" colspan="4"}]
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
[{include file="pagetabsnippet.tpl"}]
|
||||
|
||||
<script type="text/javascript">
|
||||
if (parent.parent)
|
||||
{
|
||||
parent.parent.sShopTitle = "[{$actshopobj->oxshops__oxname->getRawValue()|oxaddslashes}]";
|
||||
parent.parent.sMenuItem = "[{oxmultilang ident="d3mxlog"}]";
|
||||
parent.parent.sMenuSubItem = "[{oxmultilang ident="d3mxlog_main"}]";
|
||||
parent.parent.sWorkArea = "[{$_act}]";
|
||||
parent.parent.setTitle();
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
[{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()}]
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
top.reloadEditFrame();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
let oTransfer = parent.edit.document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='[{if $actlocation}][{$actlocation|oxescape:"javascript"}][{else}][{$default_edit|oxescape:"javascript"}][{/if}]';
|
||||
|
||||
//forcing edit frame to reload after submit
|
||||
top.forceReloadingEditFrame();
|
||||
|
||||
let oSearch = document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="liste">
|
||||
<form name="search" id="search" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{include file="_formparams.tpl" cl=$oViewConf->getActiveClassName() lstrt=$lstrt actedit=$actedit oxid=$oxid fnc="" language=$actlang editlanguage=$actlang}]
|
||||
<input type="hidden" name="delete_oxtime" value="">
|
||||
<input type="hidden" name="delete_oxmodid" value="">
|
||||
<input type="hidden" name="delete_oxtype" value="">
|
||||
|
||||
<table style="padding:0;border:0;width:100%">
|
||||
<colgroup>
|
||||
<col style="width:30%">
|
||||
<col style="width:50%">
|
||||
<col style="width:9%">
|
||||
<col style="width:2%">
|
||||
</colgroup>
|
||||
<tr class="listitem">
|
||||
<td style="height:20px; vertical-align: middle" class="listfilter first" nowrap>
|
||||
<div class="r1"><div class="b1">
|
||||
<input class="listedit" type="text" size="50" maxlength="250" name="where[[{$listTable}]][word]" value="[{$where.d3_extsearch_term.word}]" [{include file="help.tpl" helpid=searchfieldoxdynamic}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_WORD_DESC"}]
|
||||
</div></div>
|
||||
</td>
|
||||
<td style="height:20px;vertical-align: middle" class="listfilter" nowrap>
|
||||
<div class="r1"><div class="b1">
|
||||
</div></div>
|
||||
</td>
|
||||
<td style="height:20px; vertical-align: middle" colspan="2" class="listfilter" nowrap>
|
||||
<div class="r1"><div class="b1">
|
||||
<div class="find">
|
||||
<input class="listedit" type="submit" name="submitit" value="[{oxmultilang ident="GENERAL_SEARCH"}]" onClick="document.search.lstrt.value=0;">
|
||||
</div>
|
||||
<input class="listedit" type="text" size="8" maxlength="128" name="where[[{$listTable}]][synset_id]" value="[{$where.d3_extsearch_term.synset_id}]" [{include file="help.tpl" helpid=searchfieldoxdynamic}]>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_SYNSETID_DESC"}]
|
||||
</div></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="listheader first" style="height:15px">
|
||||
<a href="#" onclick="top.oxid.admin.setSorting( document.search, 'd3_extsearch_term', 'word', 'asc');document.search.submit();" class="listheader">[{oxmultilang ident="D3_EXTSEARCH_SYNED_WORD"}]</a>
|
||||
</td>
|
||||
<td class="listheader" style="height:15px">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_SYNED_ALTWORD"}]
|
||||
</td>
|
||||
<td class="listheader" style="height:15px">
|
||||
<a href="#" onclick="top.oxid.admin.setSorting( document.search, 'd3_extsearch_term', 'synset_id', 'asc');document.search.submit();" class="listheader">[{oxmultilang ident="D3_EXTSEARCH_SYNED_SYNSETID"}]</a>
|
||||
</td>
|
||||
<td class="listheader" style="height:15px">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{assign var="_cnt" value=0}]
|
||||
[{foreach from=$mylist item=listitem}]
|
||||
[{assign var="_cnt" value=$_cnt+1}]
|
||||
<tr id="row.[{$_cnt}]">
|
||||
|
||||
[{if $listitem->blacklist == 1}]
|
||||
[{assign var="listclass" value=listitem3}]
|
||||
[{else}]
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
[{/if}]
|
||||
[{if $listitem->d3_extsearch_term__oxid->value == $oxid}]
|
||||
[{assign var="listclass" value=listitem4}]
|
||||
[{/if}]
|
||||
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:EditThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="[{$listclass}]">[{$listitem->d3_extsearch_term__word->value}]</a></div></td>
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:EditThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="[{$listclass}]">[{$listitem->getSynonymsForSynsetId($listitem->d3_extsearch_term__synset_id->value, $listitem->d3_extsearch_term__word->value)}]</a></div></td>
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:EditThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="[{$listclass}]">[{$listitem->d3_extsearch_term__synset_id->value}]</a></div></td>
|
||||
<td style="vertical-align: top; height: 15px" class="[{$listclass}]"><div class="listitemfloating"><a href="Javascript:top.oxid.admin.deleteThis('[{$listitem->d3_extsearch_term__oxid->value}]');" class="delete" id="del.[{$_cnt}]" title="" [{include file="help.tpl" helpid=item_delete}]></a></div></td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="pagenavisnippet.tpl" colspan="4"}]
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
[{include file="pagetabsnippet.tpl"}]
|
||||
|
||||
<script type="text/javascript">
|
||||
if (parent.parent)
|
||||
{
|
||||
parent.parent.sShopTitle = "[{$actshopobj->oxshops__oxname->getRawValue()|oxaddslashes}]";
|
||||
parent.parent.sMenuItem = "[{oxmultilang ident="d3mxlog"}]";
|
||||
parent.parent.sMenuSubItem = "[{oxmultilang ident="d3mxlog_main"}]";
|
||||
parent.parent.sWorkArea = "[{$_act}]";
|
||||
parent.parent.setTitle();
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,146 +1,146 @@
|
||||
[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
window.onload = function ()
|
||||
{
|
||||
[{if $updatelist == 1}]
|
||||
top.oxid.admin.updateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
let oField = top.oxid.admin.getLockTarget();
|
||||
oField.onchange = oField.onkeyup = oField.onmouseout = top.oxid.admin.unlockSave;
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post" style="padding: 0;margin: 0;height:0;">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[d3_extsearch_term__oxid]" value="[{$oxid}]">
|
||||
<table style="width:98%;padding:0;border:0">
|
||||
<tr>
|
||||
<td class="edittext" style="vertical-align:top;padding-top:10px;padding-left:10px; width: 50%;">
|
||||
|
||||
<table style="padding:0;border:0">
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__word">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_WORD"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="text" class="editinput" size="32" maxlength="[{$edit->d3_extsearch_term__word->fldmax_length}]" id="term__word" name="editval[d3_extsearch_term__word]" value="[{$edit->getFieldData('word')}]">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_WORD_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__user_comment">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_COMMENT"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="text" class="editinput" size="32" maxlength="[{$edit->d3_extsearch_term__user_comment->fldmax_length}]" id="term__user_comment" name="editval[d3_extsearch_term__user_comment]" value="[{$edit->getFieldData('user_comment')}]">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_COMMENT_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- Anfang rechte Seite -->
|
||||
<td class="edittext" style="text-align: left;vertical-align:top;width:100%;height:99%;padding-left:5px;padding-bottom:30px;padding-top:10px;">
|
||||
<table style="padding:0;border:0">
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__synset_id">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNSETID"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{if $oxid != '-1'}]
|
||||
<input type="text" class="editinput" size="32" maxlength="[{$edit->d3_extsearch_term__synset_id->fldmax_length}]" id="term__synset_id" name="editval[d3_extsearch_term__synset_id]" value="[{$edit->getFieldData('synset_id')}]">
|
||||
[{else}]
|
||||
[{$oView->getNextSynsetId()}]
|
||||
[{/if}]
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNSETID_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__language_id">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<select class="editinput" name="editval[d3_extsearch_term__language_id]" id="term__language_id" [{$readonly}]>
|
||||
[{foreach from=$oView->getLanguageList() item="oLanguage"}]
|
||||
<option value="[{$oLanguage->id}]"[{if $oLanguage->selected && $oxid == '-1' || $edit->getFieldData('language_id') == $oLanguage->id}] selected[{/if}]>[{$oLanguage->name}] [{if $oView->convertBin2Int($oLanguage->active) == 0}][{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE_DISABLED"}][{/if}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSE"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="hidden" name="synset[d3_extsearch_synset__useforterms]" value="0">
|
||||
<input id="synUseForTerms" class="edittext ext_edittext" type="checkbox" name="synset[d3_extsearch_synset__useforterms]" value="1" [{if $synset->getFieldData('useForTerms') == 1}]checked[{/if}]> <label for="synUseForTerms">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORTERMS"}]</label> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORTERMS_DESC"}]<br>
|
||||
<input type="hidden" name="synset[d3_extsearch_synset__useforattributes]" value="0">
|
||||
<input id="synUseForAttributes" class="edittext ext_edittext" type="checkbox" name="synset[d3_extsearch_synset__useforattributes]" value="1" [{if $synset->getFieldData('useForAttributes') == 1}]checked[{/if}]> <label for="synUseForAttributes">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORATTRIBUTES"}]</label> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORATTRIBUTES_DESC"}]<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<!-- Ende rechte Seite -->
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="text-align: left;" colspan="2">
|
||||
<br>
|
||||
<span class="d3modcfg_btn icon d3color-green">
|
||||
<button type="submit" name="save">
|
||||
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_EXTSEARCH_MAIN_SAVE"}]
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
window.onload = function ()
|
||||
{
|
||||
[{if $updatelist == 1}]
|
||||
top.oxid.admin.updateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
let oField = top.oxid.admin.getLockTarget();
|
||||
oField.onchange = oField.onkeyup = oField.onmouseout = top.oxid.admin.unlockSave;
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post" style="padding: 0;margin: 0;height:0;">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[d3_extsearch_term__oxid]" value="[{$oxid}]">
|
||||
<table style="width:98%;padding:0;border:0">
|
||||
<tr>
|
||||
<td class="edittext" style="vertical-align:top;padding-top:10px;padding-left:10px; width: 50%;">
|
||||
|
||||
<table style="padding:0;border:0">
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__word">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_WORD"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="text" class="editinput" size="32" maxlength="[{$edit->d3_extsearch_term__word->fldmax_length}]" id="term__word" name="editval[d3_extsearch_term__word]" value="[{$edit->getFieldData('word')}]">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_WORD_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__user_comment">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_COMMENT"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="text" class="editinput" size="32" maxlength="[{$edit->d3_extsearch_term__user_comment->fldmax_length}]" id="term__user_comment" name="editval[d3_extsearch_term__user_comment]" value="[{$edit->getFieldData('user_comment')}]">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_COMMENT_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- Anfang rechte Seite -->
|
||||
<td class="edittext" style="text-align: left;vertical-align:top;width:100%;height:99%;padding-left:5px;padding-bottom:30px;padding-top:10px;">
|
||||
<table style="padding:0;border:0">
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__synset_id">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNSETID"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{if $oxid != '-1'}]
|
||||
<input type="text" class="editinput" size="32" maxlength="[{$edit->d3_extsearch_term__synset_id->fldmax_length}]" id="term__synset_id" name="editval[d3_extsearch_term__synset_id]" value="[{$edit->getFieldData('synset_id')}]">
|
||||
[{else}]
|
||||
[{$oView->getNextSynsetId()}]
|
||||
[{/if}]
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNSETID_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
<label for="term__language_id">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE"}]</label>
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<select class="editinput" name="editval[d3_extsearch_term__language_id]" id="term__language_id" [{$readonly}]>
|
||||
[{foreach from=$oView->getLanguageList() item="oLanguage"}]
|
||||
<option value="[{$oLanguage->id}]"[{if $oLanguage->selected && $oxid == '-1' || $edit->getFieldData('language_id') == $oLanguage->id}] selected[{/if}]>[{$oLanguage->name}] [{if $oView->convertBin2Int($oLanguage->active) == 0}][{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE_DISABLED"}][{/if}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_LANGUAGE_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext" style="width:120px;">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSE"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="hidden" name="synset[d3_extsearch_synset__useforterms]" value="0">
|
||||
<input id="synUseForTerms" class="edittext ext_edittext" type="checkbox" name="synset[d3_extsearch_synset__useforterms]" value="1" [{if $synset->getFieldData('useForTerms') == 1}]checked[{/if}]> <label for="synUseForTerms">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORTERMS"}]</label> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORTERMS_DESC"}]<br>
|
||||
<input type="hidden" name="synset[d3_extsearch_synset__useforattributes]" value="0">
|
||||
<input id="synUseForAttributes" class="edittext ext_edittext" type="checkbox" name="synset[d3_extsearch_synset__useforattributes]" value="1" [{if $synset->getFieldData('useForAttributes') == 1}]checked[{/if}]> <label for="synUseForAttributes">[{oxmultilang ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORATTRIBUTES"}]</label> [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MAIN_SYNONYMUSEFORATTRIBUTES_DESC"}]<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<!-- Ende rechte Seite -->
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="text-align: left;" colspan="2">
|
||||
<br>
|
||||
<span class="d3modcfg_btn icon d3color-green">
|
||||
<button type="submit" name="save">
|
||||
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_EXTSEARCH_MAIN_SAVE"}]
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
|
@ -1,143 +1,143 @@
|
||||
[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
[{if $updatelist == 1}]
|
||||
top.oxid.admin.updateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
let oField = top.oxid.admin.getLockTarget();
|
||||
oField.onchange = oField.onkeyup = oField.onmouseout = top.oxid.admin.unlockSave;
|
||||
}
|
||||
|
||||
function editThis(sID) {
|
||||
let oTransfer = top.basefrm.edit.document.getElementById("transfer");
|
||||
oTransfer.oxid.value = sID;
|
||||
oTransfer.cl.value = top.basefrm.list.sDefClass;
|
||||
|
||||
//forcing edit frame to reload after submit
|
||||
top.forceReloadingEditFrame();
|
||||
|
||||
let oSearch = top.basefrm.list.document.getElementById("search");
|
||||
oSearch.oxid.value = sID;
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.submit();
|
||||
}
|
||||
function deleteThis(sID) {
|
||||
let blCheck = confirm("[{oxmultilang ident="D3_EXTSEARCH_SYNED_DELETESYN"}]");
|
||||
if (blCheck === true) {
|
||||
let oSearch = document.getElementById("myedit2");
|
||||
oSearch.fnc.value = 'deletesynonym';
|
||||
oSearch.deloxid.value = sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
|
||||
td.edittext,
|
||||
th {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
border-bottom: 1px solid silver;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_DESC"}]
|
||||
<table style="padding:0;border:0;width:98%;">
|
||||
<tr>
|
||||
<td class="edittext" style="vertical-align: top;padding-top:10px;padding-left:10px; width: 50%;">
|
||||
<table style="padding:0;border:0;width:100%;">
|
||||
<colgroup>
|
||||
<col style="width:10%">
|
||||
<col>
|
||||
<col style="width:29px">
|
||||
</colgroup>
|
||||
[{assign var="blWhite" value=""}]
|
||||
<tr>
|
||||
<th>[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT"}] [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT_DESC"}]</th>
|
||||
<th>[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_SYNONYM"}]</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
[{foreach from=$aSynList item="sSynonym" key="termid"}]
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
<tr>
|
||||
<td class="edittext [{$listclass}]" style="text-align: center;">
|
||||
<a href="JavaScript:editThis('[{$termid}]');"><img src="[{$oViewConf->getImageUrl()}]editvariant.gif" style="width:15px;height:15px;border:0;vertical-align: middle" alt=""></a>
|
||||
</td>
|
||||
<td class="edittext [{$listclass}]">
|
||||
[{$sSynonym}]
|
||||
</td>
|
||||
<td class="edittext [{$listclass}]" style="width: 15px;">
|
||||
<a href="Javascript:deleteThis('[{$termid}]');" class="delete"></a>
|
||||
</td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
|
||||
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="editlanguage" value="0">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="savesynonym">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="deloxid" value="">
|
||||
<input type="hidden" name="editval[d3_extsearch_term__synset_id]" value="[{$edit->d3_extsearch_term__synset_id->value}]">
|
||||
<input type="hidden" name="editval[d3_extsearch_term__language_id]" value="[{$edit->d3_extsearch_term__language_id->value}]">
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
<tr>
|
||||
<td class="edittext [{$listclass}]">
|
||||
</td>
|
||||
<td class="edittext [{$listclass}]" colspan="2">
|
||||
<input class="editinput" type="text" name="editval[d3_extsearch_term__word]" size="32" maxlength="[{$edit->d3_extsearch_term__word->fldmax_length}]">
|
||||
<input value="[{oxmultilang ident="D3_EXTSEARCH_SYNED_SAVENEWSYN"}]" type="submit" class="editinput">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_SAVENEWSYN_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
[{include file="headitem.tpl" title="d3mxextsearch_syneditor"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
[{if $updatelist == 1}]
|
||||
top.oxid.admin.updateList('[{$oxid}]');
|
||||
[{/if}]
|
||||
let oField = top.oxid.admin.getLockTarget();
|
||||
oField.onchange = oField.onkeyup = oField.onmouseout = top.oxid.admin.unlockSave;
|
||||
}
|
||||
|
||||
function editThis(sID) {
|
||||
let oTransfer = top.basefrm.edit.document.getElementById("transfer");
|
||||
oTransfer.oxid.value = sID;
|
||||
oTransfer.cl.value = top.basefrm.list.sDefClass;
|
||||
|
||||
//forcing edit frame to reload after submit
|
||||
top.forceReloadingEditFrame();
|
||||
|
||||
let oSearch = top.basefrm.list.document.getElementById("search");
|
||||
oSearch.oxid.value = sID;
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.submit();
|
||||
}
|
||||
function deleteThis(sID) {
|
||||
let blCheck = confirm("[{oxmultilang ident="D3_EXTSEARCH_SYNED_DELETESYN"}]");
|
||||
if (blCheck === true) {
|
||||
let oSearch = document.getElementById("myedit2");
|
||||
oSearch.fnc.value = 'deletesynonym';
|
||||
oSearch.deloxid.value = sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
|
||||
td.edittext,
|
||||
th {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
border-bottom: 1px solid silver;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.edittext select.editinput {
|
||||
width: auto;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_DESC"}]
|
||||
<table style="padding:0;border:0;width:98%;">
|
||||
<tr>
|
||||
<td class="edittext" style="vertical-align: top;padding-top:10px;padding-left:10px; width: 50%;">
|
||||
<table style="padding:0;border:0;width:100%;">
|
||||
<colgroup>
|
||||
<col style="width:10%">
|
||||
<col>
|
||||
<col style="width:29px">
|
||||
</colgroup>
|
||||
[{assign var="blWhite" value=""}]
|
||||
<tr>
|
||||
<th>[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT"}] [{oxinputhelp ident="D3_EXTSEARCH_SYNED_MANAGE_EDIT_DESC"}]</th>
|
||||
<th>[{oxmultilang ident="D3_EXTSEARCH_SYNED_MANAGE_SYNONYM"}]</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
[{foreach from=$aSynList item="sSynonym" key="termid"}]
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
<tr>
|
||||
<td class="edittext [{$listclass}]" style="text-align: center;">
|
||||
<a href="JavaScript:editThis('[{$termid}]');"><img src="[{$oViewConf->getImageUrl()}]editvariant.gif" style="width:15px;height:15px;border:0;vertical-align: middle" alt=""></a>
|
||||
</td>
|
||||
<td class="edittext [{$listclass}]">
|
||||
[{$sSynonym}]
|
||||
</td>
|
||||
<td class="edittext [{$listclass}]" style="width: 15px;">
|
||||
<a href="Javascript:deleteThis('[{$termid}]');" class="delete"></a>
|
||||
</td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
|
||||
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="editlanguage" value="0">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="savesynonym">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="deloxid" value="">
|
||||
<input type="hidden" name="editval[d3_extsearch_term__synset_id]" value="[{$edit->d3_extsearch_term__synset_id->value}]">
|
||||
<input type="hidden" name="editval[d3_extsearch_term__language_id]" value="[{$edit->d3_extsearch_term__language_id->value}]">
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
<tr>
|
||||
<td class="edittext [{$listclass}]">
|
||||
</td>
|
||||
<td class="edittext [{$listclass}]" colspan="2">
|
||||
<input class="editinput" type="text" name="editval[d3_extsearch_term__word]" size="32" maxlength="[{$edit->d3_extsearch_term__word->fldmax_length}]">
|
||||
<input value="[{oxmultilang ident="D3_EXTSEARCH_SYNED_SAVENEWSYN"}]" type="submit" class="editinput">
|
||||
[{oxinputhelp ident="D3_EXTSEARCH_SYNED_SAVENEWSYN_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>[{$oShop->getFieldData('oxname')}]</ShortName>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<OutputEncoding>UTF-8</OutputEncoding>
|
||||
[{if $blHasIcon}]
|
||||
<Image height="[{$aImgInfo[1]}]" width="[{$aImgInfo[0]}]">data:[{$aImgInfo.mime}];base64, [{$sBase64Icon}]</Image>
|
||||
[{/if}]
|
||||
<Url type="text/html" template="[{$sShopUrl}]index.php?cl=search&searchparam={searchTerms}" />
|
||||
<Url type="application/x-suggestions+json" method="GET" template="[{$sShopUrl}]index.php?fnc=d3_browser_suggest&searchparam={searchTerms}" />
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>[{$oShop->getFieldData('oxname')}]</ShortName>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<OutputEncoding>UTF-8</OutputEncoding>
|
||||
[{if $blHasIcon}]
|
||||
<Image height="[{$aImgInfo[1]}]" width="[{$aImgInfo[0]}]">data:[{$aImgInfo.mime}];base64, [{$sBase64Icon}]</Image>
|
||||
[{/if}]
|
||||
<Url type="text/html" template="[{$sShopUrl}]index.php?cl=search&searchparam={searchTerms}" />
|
||||
<Url type="application/x-suggestions+json" method="GET" template="[{$sShopUrl}]index.php?fnc=d3_browser_suggest&searchparam={searchTerms}" />
|
||||
</OpenSearchDescription>
|
@ -1,40 +1,40 @@
|
||||
[{assign var="iRefreshTime" value=$iRefreshTime|default:0}]
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$sCharSet}]">
|
||||
<title>[{$sTitle}]</title>
|
||||
[{if $sRefreshUrl}]
|
||||
<meta http-equiv="refresh" content="[{$iRefreshTime}]; URL=[{$sRefreshUrl}]">
|
||||
[{/if}]
|
||||
</head>
|
||||
<body style='font: 12px Trebuchet MS,Tahoma,Verdana,Arial,Helvetica,sans-serif;'>
|
||||
|
||||
[{if $sMessage}]
|
||||
<br>
|
||||
<br>
|
||||
[{$sMessage}]
|
||||
<br>
|
||||
[{/if}]
|
||||
|
||||
[{if $iProgressPercent}]
|
||||
<br>
|
||||
<div style='position: relative; background-color:#B4D2F5; border:1px solid #000000; height:15px; margin:auto auto auto 10px; width:100px;'>
|
||||
<div style='background-color:#1A4782; height:15px; width:[{$iProgressPercent}]px;'></div>
|
||||
<div style='border-style: none; color: white; line-height:15px; position:absolute; text-align:center; top:0; width:100px;'>
|
||||
[{assign var="sText" value="D3_EXTSEARCH_MAIN_GENERATOR_PROCESSING2"|oxmultilangassign}]
|
||||
[{$sText|sprintf:$iProgressPercent}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $blWait}]
|
||||
<br>
|
||||
<span style='font-weight: bold;'>[{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_WAIT"}]</span>
|
||||
[{else}]
|
||||
<br>
|
||||
<a href='#' onClick='window.close();'>[{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_CLOSEWND"}]</a>
|
||||
[{/if}]
|
||||
</body>
|
||||
[{assign var="iRefreshTime" value=$iRefreshTime|default:0}]
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$sCharSet}]">
|
||||
<title>[{$sTitle}]</title>
|
||||
[{if $sRefreshUrl}]
|
||||
<meta http-equiv="refresh" content="[{$iRefreshTime}]; URL=[{$sRefreshUrl}]">
|
||||
[{/if}]
|
||||
</head>
|
||||
<body style='font: 12px Trebuchet MS,Tahoma,Verdana,Arial,Helvetica,sans-serif;'>
|
||||
|
||||
[{if $sMessage}]
|
||||
<br>
|
||||
<br>
|
||||
[{$sMessage}]
|
||||
<br>
|
||||
[{/if}]
|
||||
|
||||
[{if $iProgressPercent}]
|
||||
<br>
|
||||
<div style='position: relative; background-color:#B4D2F5; border:1px solid #000000; height:15px; margin:auto auto auto 10px; width:100px;'>
|
||||
<div style='background-color:#1A4782; height:15px; width:[{$iProgressPercent}]px;'></div>
|
||||
<div style='border-style: none; color: white; line-height:15px; position:absolute; text-align:center; top:0; width:100px;'>
|
||||
[{assign var="sText" value="D3_EXTSEARCH_MAIN_GENERATOR_PROCESSING2"|oxmultilangassign}]
|
||||
[{$sText|sprintf:$iProgressPercent}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $blWait}]
|
||||
<br>
|
||||
<span style='font-weight: bold;'>[{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_WAIT"}]</span>
|
||||
[{else}]
|
||||
<br>
|
||||
<a href='#' onClick='window.close();'>[{oxmultilang ident="D3_EXTSEARCH_MAIN_GENERATOR_CLOSEWND"}]</a>
|
||||
[{/if}]
|
||||
</body>
|
||||
</html>
|
@ -1,47 +1,47 @@
|
||||
<br>
|
||||
|
||||
[{if $drawStat}]
|
||||
[{foreach from=$aStats item="aStat"}]
|
||||
<table class="report_searchstrings_table" style="padding:0;width:800px">
|
||||
<tr>
|
||||
<td class="report_searchstrings_td">
|
||||
<table style="width:100%;padding:0">
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center; font-weight: bold;">[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
[{foreach name=outer item=classe from=$aStat.classes}]
|
||||
[{foreach key=key item=curr_point from=$classe}]
|
||||
<td class="[{$curr_point}]">[{$key}]</td>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<td class="report_searchstrings_scale_empty_right"></td>
|
||||
</tr>
|
||||
[{foreach name=outer item=percent from=$aStat.percents}]
|
||||
[{foreach key=key item=curr_point from=$percent}]
|
||||
<tr>
|
||||
<td class="report_searchstrings_scale">[{$key}][{$aStat.sSearchDate}]</td><td colspan="[{$aStat.cols}]"><img src="[{$oViewConf->getBaseDir()}]/out/admin/img/slide.jpg" height="20" width="[{$curr_point}]%"></td><td></td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<tr>
|
||||
<td> </td><td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<b>[{oxmultilang ident="GENERAL_NODATA"}]</b>
|
||||
[{/if}]
|
||||
<br>
|
||||
|
||||
<br>
|
||||
|
||||
[{if $drawStat}]
|
||||
[{foreach from=$aStats item="aStat"}]
|
||||
<table class="report_searchstrings_table" style="padding:0;width:800px">
|
||||
<tr>
|
||||
<td class="report_searchstrings_td">
|
||||
<table style="width:100%;padding:0">
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center; font-weight: bold;">[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
[{foreach name=outer item=classe from=$aStat.classes}]
|
||||
[{foreach key=key item=curr_point from=$classe}]
|
||||
<td class="[{$curr_point}]">[{$key}]</td>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<td class="report_searchstrings_scale_empty_right"></td>
|
||||
</tr>
|
||||
[{foreach name=outer item=percent from=$aStat.percents}]
|
||||
[{foreach key=key item=curr_point from=$percent}]
|
||||
<tr>
|
||||
<td class="report_searchstrings_scale">[{$key}][{$aStat.sSearchDate}]</td><td colspan="[{$aStat.cols}]"><img src="[{$oViewConf->getBaseDir()}]/out/admin/img/slide.jpg" height="20" width="[{$curr_point}]%"></td><td></td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<tr>
|
||||
<td> </td><td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<b>[{oxmultilang ident="GENERAL_NODATA"}]</b>
|
||||
[{/if}]
|
||||
<br>
|
||||
|
||||
|
@ -1,46 +1,46 @@
|
||||
<br>
|
||||
[{if $drawStat}]
|
||||
[{foreach from=$aStats item="aStat"}]
|
||||
<table class="report_searchstrings_table" style="padding:0;width:800px">
|
||||
<tr>
|
||||
<td class="report_searchstrings_td">
|
||||
<table style="width:100%;padding:0">
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"><b>[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
[{foreach name=outer item=classe from=$aStat.classes}]
|
||||
[{foreach key=key item=curr_point from=$classe}]
|
||||
<td class="[{$curr_point}]">[{$key}]</td>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<td class="report_searchstrings_scale_empty_right"></td>
|
||||
</tr>
|
||||
[{foreach name=outer item=percent from=$aStat.percents}]
|
||||
[{foreach key=key item=curr_point from=$percent}]
|
||||
<tr>
|
||||
<td class="report_searchstrings_scale">[{$key}][{$aStat.sSearchDate}]</td><td colspan="[{$aStat.cols}]"><img src="[{$oViewConf->getBaseDir()}]/out/admin/img/slide.jpg" height="20" width="[{$curr_point}]%"></td><td></td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<tr>
|
||||
<td> </td><td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<b>[{oxmultilang ident="GENERAL_NODATA"}]</b>
|
||||
[{/if}]
|
||||
<br>
|
||||
|
||||
<br>
|
||||
[{if $drawStat}]
|
||||
[{foreach from=$aStats item="aStat"}]
|
||||
<table class="report_searchstrings_table" style="padding:0;width:800px">
|
||||
<tr>
|
||||
<td class="report_searchstrings_td">
|
||||
<table style="width:100%;padding:0">
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"><b>[{$aStat.sHeadline}] [{if $aStat.sFilters}]([{$aStat.sFilters}])[{/if}]</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="[{$aStat.allCols}]" style="text-align: center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
[{foreach name=outer item=classe from=$aStat.classes}]
|
||||
[{foreach key=key item=curr_point from=$classe}]
|
||||
<td class="[{$curr_point}]">[{$key}]</td>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<td class="report_searchstrings_scale_empty_right"></td>
|
||||
</tr>
|
||||
[{foreach name=outer item=percent from=$aStat.percents}]
|
||||
[{foreach key=key item=curr_point from=$percent}]
|
||||
<tr>
|
||||
<td class="report_searchstrings_scale">[{$key}][{$aStat.sSearchDate}]</td><td colspan="[{$aStat.cols}]"><img src="[{$oViewConf->getBaseDir()}]/out/admin/img/slide.jpg" height="20" width="[{$curr_point}]%"></td><td></td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/foreach}]
|
||||
<tr>
|
||||
<td> </td><td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<b>[{oxmultilang ident="GENERAL_NODATA"}]</b>
|
||||
[{/if}]
|
||||
<br>
|
||||
|
||||
|
@ -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}]<style type="text/css">[{$atfCss}]</style>[{/if}]
|
||||
|
||||
[{if $blSearchPluginInstall == '1' && $sSearchPluginURL}]
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="[{$oxcmp_shop->oxshops__oxname->value}]" href="[{$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}]<style type="text/css">[{$atfCss}]</style>[{/if}]
|
||||
|
||||
[{if $blSearchPluginInstall == '1' && $sSearchPluginURL}]
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="[{$oxcmp_shop->oxshops__oxname->value}]" href="[{$sSearchPluginURL}]" />
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
@ -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}]
|
||||
|
||||
<div id="IAS_box" class="IAS_box IAS_box_[{$oModCfg_d3_extsearch->getParentThemeId()}]">
|
||||
<div class="headline">
|
||||
<div class="closebtn" id="IAS_closebtn">X</div>
|
||||
<label for="IAS_input">[{oxmultilang ident="D3_EXTSEARCH_IAS_SEARCH"}]</label>
|
||||
</div>
|
||||
<form action="[{$oViewConf->getBaseDir()}]index.php" method="get" onSubmit="d3_extsearch_popup.popup.load();">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="search">
|
||||
<input id="IAS_input" type="text" size="30" value="" name="searchparam">
|
||||
<span class="btn">
|
||||
<input type="submit" class="btn" value="[{oxmultilang ident="D3_EXTSEARCH_IAS_STARTSEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/strip}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blD3ShowSearchPopup}]
|
||||
[{block name="d3_extsearch_js__popup"}]
|
||||
<div id="d3extsearch_message" class="d3extsearch_popup">
|
||||
<strong style="text-align: center;">[{oxmultilang ident="D3_EXTSEARCH_SEARCHINPROGRESS"}]</strong>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
let d3_extsearch_popup = {
|
||||
// Popups
|
||||
popup: {
|
||||
load : function(){
|
||||
let id = 'd3extsearch_message';
|
||||
let pcl = 'd3extsearch_popup load on';
|
||||
let mcl = 'on';
|
||||
let _mk = document.getElementById('d3extsearch_mask');
|
||||
let _el = document.getElementById(id);
|
||||
if(_mk && _el) {
|
||||
_mk.className = mcl;
|
||||
_el.className = pcl;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<div id="d3extsearch_mask"></div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="d3_extsearch_js__nopopup"}]
|
||||
<script type="text/javascript">
|
||||
let d3_extsearch_popup = {
|
||||
popup: {
|
||||
load : function(){ }
|
||||
}
|
||||
};
|
||||
</script>
|
||||
[{/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}]
|
||||
|
||||
<div id="IAS_box" class="IAS_box IAS_box_[{$oModCfg_d3_extsearch->getParentThemeId()}]">
|
||||
<div class="headline">
|
||||
<div class="closebtn" id="IAS_closebtn">X</div>
|
||||
<label for="IAS_input">[{oxmultilang ident="D3_EXTSEARCH_IAS_SEARCH"}]</label>
|
||||
</div>
|
||||
<form action="[{$oViewConf->getBaseDir()}]index.php" method="get" onSubmit="d3_extsearch_popup.popup.load();">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="search">
|
||||
<input id="IAS_input" type="text" size="30" value="" name="searchparam">
|
||||
<span class="btn">
|
||||
<input type="submit" class="btn" value="[{oxmultilang ident="D3_EXTSEARCH_IAS_STARTSEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/strip}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blD3ShowSearchPopup}]
|
||||
[{block name="d3_extsearch_js__popup"}]
|
||||
<div id="d3extsearch_message" class="d3extsearch_popup">
|
||||
<strong style="text-align: center;">[{oxmultilang ident="D3_EXTSEARCH_SEARCHINPROGRESS"}]</strong>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
let d3_extsearch_popup = {
|
||||
// Popups
|
||||
popup: {
|
||||
load : function(){
|
||||
let id = 'd3extsearch_message';
|
||||
let pcl = 'd3extsearch_popup load on';
|
||||
let mcl = 'on';
|
||||
let _mk = document.getElementById('d3extsearch_mask');
|
||||
let _el = document.getElementById(id);
|
||||
if(_mk && _el) {
|
||||
_mk.className = mcl;
|
||||
_el.className = pcl;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<div id="d3extsearch_mask"></div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="d3_extsearch_js__nopopup"}]
|
||||
<script type="text/javascript">
|
||||
let d3_extsearch_popup = {
|
||||
popup: {
|
||||
load : function(){ }
|
||||
}
|
||||
};
|
||||
</script>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
@ -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}]
|
@ -1,27 +1,27 @@
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && $oView->getArticleList()|@count == 0 && $blD3HasSelectedFilters}]
|
||||
<div class="d3searchdeselectform">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && $oView->getArticleList()|@count == 0 && $blD3HasSelectedFilters}]
|
||||
<div class="d3searchdeselectform">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{$smarty.block.parent}]
|
@ -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}]
|
||||
<div class="d3searchdeselectform">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/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}]
|
||||
<div class="d3searchdeselectform">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTDESELECT"}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{$smarty.block.parent}]
|
@ -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}]
|
||||
|
@ -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"}]
|
||||
<input type="text" name="d3searchlike[oxtitle]" value="[{$aD3SearchLike.oxtitle}]" size="21" class="txt"><br>
|
||||
[{*<input type="text" name="d3searchlike[oxshortdesc]" value="[{$aD3SearchLike.oxshortdesc}]" size="21" class="txt">*}]
|
||||
[{* Gesucht wird nach genauem Wortlaut mit = *}]
|
||||
[{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISARTNUM"}]
|
||||
<input type="text" name="d3searchis[oxartnum]" value="[{$aD3SearchIs.oxartnum}]" size="21" class="txt"><br>
|
||||
[{*<input type="text" name="d3searchis[oxshortdesc]" value="[{$aD3SearchIs.oxshortdesc}]" size="21" class="txt">*}]
|
||||
[{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENSTOCK"}]
|
||||
<select name="d3searchis[oxstock]">
|
||||
<option value="">[{oxmultilang ident="D3_CUSTOMFIELDTEXT_CHOOSESTOCK"}]</option> [{* change description to your requirements *}]
|
||||
<option value="BETWEEN__AND_5_" [{if $aD3SearchIs.oxstock == 'BETWEEN__AND_5_'}] selected[{/if}]>bis 5</option>
|
||||
<option value="BETWEEN_3_AND_7_" [{if $aD3SearchIs.oxstock == 'BETWEEN_3_AND_7_'}] selected[{/if}]>von 3 bis 7</option>
|
||||
<option value="BETWEEN_8_AND_200_" [{if $aD3SearchIs.oxstock == 'BETWEEN_8_AND_200_'}] selected[{/if}]>von 8 bis 200</option>
|
||||
<option value="BETWEEN_201_AND__" [{if $aD3SearchIs.oxstock == 'BETWEEN_201_AND__'}] selected[{/if}]>ab 201</option>
|
||||
</select><br>
|
||||
[{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENPRICE"}]
|
||||
<select name="d3searchis[oxprice]">
|
||||
<option value="">[{oxmultilang ident="D3_CUSTOMFIELDTEXT_CHOOSEPRICE"}]</option> [{* change description to your requirements *}]
|
||||
<option value="BETWEEN__AND_3.5_" [{if $aD3SearchIs.oxprice == 'BETWEEN__AND_3.5_'}] selected[{/if}]>bis 3,50</option>
|
||||
<option value="BETWEEN_3_AND_8.7_" [{if $aD3SearchIs.oxprice == 'BETWEEN_3_AND_8.7_'}] selected[{/if}]>von 3,00 bis 8,70</option>
|
||||
<option value="BETWEEN_8.71_AND__" [{if $aD3SearchIs.oxprice == 'BETWEEN_8.71_AND__'}] selected[{/if}]>ab 8,71</option>
|
||||
</select><br>
|
||||
[{/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"}]
|
||||
<input type="text" name="d3searchlike[oxtitle]" value="[{$aD3SearchLike.oxtitle}]" size="21" class="txt"><br>
|
||||
[{*<input type="text" name="d3searchlike[oxshortdesc]" value="[{$aD3SearchLike.oxshortdesc}]" size="21" class="txt">*}]
|
||||
[{* Gesucht wird nach genauem Wortlaut mit = *}]
|
||||
[{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISARTNUM"}]
|
||||
<input type="text" name="d3searchis[oxartnum]" value="[{$aD3SearchIs.oxartnum}]" size="21" class="txt"><br>
|
||||
[{*<input type="text" name="d3searchis[oxshortdesc]" value="[{$aD3SearchIs.oxshortdesc}]" size="21" class="txt">*}]
|
||||
[{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENSTOCK"}]
|
||||
<select name="d3searchis[oxstock]">
|
||||
<option value="">[{oxmultilang ident="D3_CUSTOMFIELDTEXT_CHOOSESTOCK"}]</option> [{* change description to your requirements *}]
|
||||
<option value="BETWEEN__AND_5_" [{if $aD3SearchIs.oxstock == 'BETWEEN__AND_5_'}] selected[{/if}]>bis 5</option>
|
||||
<option value="BETWEEN_3_AND_7_" [{if $aD3SearchIs.oxstock == 'BETWEEN_3_AND_7_'}] selected[{/if}]>von 3 bis 7</option>
|
||||
<option value="BETWEEN_8_AND_200_" [{if $aD3SearchIs.oxstock == 'BETWEEN_8_AND_200_'}] selected[{/if}]>von 8 bis 200</option>
|
||||
<option value="BETWEEN_201_AND__" [{if $aD3SearchIs.oxstock == 'BETWEEN_201_AND__'}] selected[{/if}]>ab 201</option>
|
||||
</select><br>
|
||||
[{oxmultilang ident="D3_CUSTOMFIELDTEXT_ISBETWEENPRICE"}]
|
||||
<select name="d3searchis[oxprice]">
|
||||
<option value="">[{oxmultilang ident="D3_CUSTOMFIELDTEXT_CHOOSEPRICE"}]</option> [{* change description to your requirements *}]
|
||||
<option value="BETWEEN__AND_3.5_" [{if $aD3SearchIs.oxprice == 'BETWEEN__AND_3.5_'}] selected[{/if}]>bis 3,50</option>
|
||||
<option value="BETWEEN_3_AND_8.7_" [{if $aD3SearchIs.oxprice == 'BETWEEN_3_AND_8.7_'}] selected[{/if}]>von 3,00 bis 8,70</option>
|
||||
<option value="BETWEEN_8.71_AND__" [{if $aD3SearchIs.oxprice == 'BETWEEN_8.71_AND__'}] selected[{/if}]>ab 8,71</option>
|
||||
</select><br>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
@ -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*}]
|
||||
|
@ -1,16 +1,16 @@
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
<div class="title">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
[{*** D3 Modul "extSearch" CHANGE START ***}]
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
[{*** D3 Modul "extSearch" CHANGE END ***}]
|
||||
</a>
|
||||
[{*** D3 Modul "extSearch" ADD START ***}]
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
[{*** D3 Modul "extSearch" ADD END ***}]
|
||||
</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
<div class="title">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
[{*** D3 Modul "extSearch" CHANGE START ***}]
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
[{*** D3 Modul "extSearch" CHANGE END ***}]
|
||||
</a>
|
||||
[{*** D3 Modul "extSearch" ADD START ***}]
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
[{*** D3 Modul "extSearch" ADD END ***}]
|
||||
</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
@ -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()}]
|
||||
<span class="priceOld">
|
||||
[{oxmultilang ident="REDUCED_FROM_2"}] <del>[{oxprice price=$product->getTPrice() currency=$oView->getActCurrency()}]</del>
|
||||
</span>
|
||||
[{/if}]
|
||||
[{block name="widget_product_listitem_grid_price_value"}]
|
||||
[{if $product->getPrice()}]
|
||||
<strong>
|
||||
<span>
|
||||
[{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}]
|
||||
</span>
|
||||
[{oxprice price=$oPrice currency=$oView->getActCurrency()}]
|
||||
[{if $oView->isVatIncluded()}]
|
||||
[{if !($product->hasMdVariants() || ($oViewConf->showSelectListsInList() && $product->getSelections(1)) || $product->getVariants())}] *[{/if}]
|
||||
[{/if}]
|
||||
</strong>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{if $product->getUnitPrice()}]
|
||||
<span id="productPricePerUnit_[{$iIndex}]" class="pricePerUnit">
|
||||
[{$product->getUnitQuantity()}] [{$product->getUnitName()}] | [{oxprice price=$product->getUnitPrice() currency=$oView->getActCurrency()}] /[{$product->getUnitName()}]
|
||||
</span>
|
||||
[{elseif $product->oxarticles__oxweight->value}]
|
||||
<span id="productPricePerUnit_[{$iIndex}]" class="pricePerUnit">
|
||||
<span title="weight">[{oxmultilang ident="WEIGHT" suffix="COLON"}]</span>
|
||||
<span class="value">[{$product->oxarticles__oxweight->value}] [{oxmultilang ident="KG"}]</span>
|
||||
</span>
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
[{/block}]
|
||||
[{/capture}]
|
||||
<a id="[{$iIndex}]" href="[{$_productLink}]" class="titleBlock title fn" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>
|
||||
[{*** D3 Modul "extSearch" CHANGE START ***}]
|
||||
[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
[{*** D3 Modul "extSearch" CHANGE END ***}]
|
||||
</span>
|
||||
<div class="gridPicture">
|
||||
<img src="[{$product->getThumbnailUrl()}]" alt="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
</div>
|
||||
</a>
|
||||
|
||||
[{block name="widget_product_listitem_grid_tobasket"}]
|
||||
<div class="priceBlock">
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{$smarty.capture.product_price}]
|
||||
[{if !$blShowToBasket}]
|
||||
<a href="[{$_productLink}]" class="toCart button">[{oxmultilang ident="MORE_INFO"}]</a>
|
||||
[{else}]
|
||||
[{assign var="listType" value=$oView->getListType()}]
|
||||
<a href="[{$oView->getLink()|oxaddparams:"listtype=`$listType`&fnc=tobasket&aid=`$product->oxarticles__oxid->value`&am=1"}]" class="toCart button" title="[{oxmultilang ident="TO_CART"}]">[{oxmultilang ident="TO_CART"}]</a>
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
</div>
|
||||
[{/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()}]
|
||||
<span class="priceOld">
|
||||
[{oxmultilang ident="REDUCED_FROM_2"}] <del>[{oxprice price=$product->getTPrice() currency=$oView->getActCurrency()}]</del>
|
||||
</span>
|
||||
[{/if}]
|
||||
[{block name="widget_product_listitem_grid_price_value"}]
|
||||
[{if $product->getPrice()}]
|
||||
<strong>
|
||||
<span>
|
||||
[{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}]
|
||||
</span>
|
||||
[{oxprice price=$oPrice currency=$oView->getActCurrency()}]
|
||||
[{if $oView->isVatIncluded()}]
|
||||
[{if !($product->hasMdVariants() || ($oViewConf->showSelectListsInList() && $product->getSelections(1)) || $product->getVariants())}] *[{/if}]
|
||||
[{/if}]
|
||||
</strong>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{if $product->getUnitPrice()}]
|
||||
<span id="productPricePerUnit_[{$iIndex}]" class="pricePerUnit">
|
||||
[{$product->getUnitQuantity()}] [{$product->getUnitName()}] | [{oxprice price=$product->getUnitPrice() currency=$oView->getActCurrency()}] /[{$product->getUnitName()}]
|
||||
</span>
|
||||
[{elseif $product->oxarticles__oxweight->value}]
|
||||
<span id="productPricePerUnit_[{$iIndex}]" class="pricePerUnit">
|
||||
<span title="weight">[{oxmultilang ident="WEIGHT" suffix="COLON"}]</span>
|
||||
<span class="value">[{$product->oxarticles__oxweight->value}] [{oxmultilang ident="KG"}]</span>
|
||||
</span>
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
[{/block}]
|
||||
[{/capture}]
|
||||
<a id="[{$iIndex}]" href="[{$_productLink}]" class="titleBlock title fn" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>
|
||||
[{*** D3 Modul "extSearch" CHANGE START ***}]
|
||||
[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
[{*** D3 Modul "extSearch" CHANGE END ***}]
|
||||
</span>
|
||||
<div class="gridPicture">
|
||||
<img src="[{$product->getThumbnailUrl()}]" alt="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
</div>
|
||||
</a>
|
||||
|
||||
[{block name="widget_product_listitem_grid_tobasket"}]
|
||||
<div class="priceBlock">
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{$smarty.capture.product_price}]
|
||||
[{if !$blShowToBasket}]
|
||||
<a href="[{$_productLink}]" class="toCart button">[{oxmultilang ident="MORE_INFO"}]</a>
|
||||
[{else}]
|
||||
[{assign var="listType" value=$oView->getListType()}]
|
||||
<a href="[{$oView->getLink()|oxaddparams:"listtype=`$listType`&fnc=tobasket&aid=`$product->oxarticles__oxid->value`&am=1"}]" class="toCart button" title="[{oxmultilang ident="TO_CART"}]">[{oxmultilang ident="TO_CART"}]</a>
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
@ -1,24 +1,24 @@
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch}]
|
||||
[{if $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
<div class="title">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
</a>
|
||||
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="titleBox">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
</a>
|
||||
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch}]
|
||||
[{if $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
<div class="title">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
</a>
|
||||
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="titleBox">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
</a>
|
||||
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
||||
|
@ -1,15 +1,15 @@
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
|
||||
[{if $mod_d3_extsearch}]
|
||||
<div class="description">
|
||||
[{if $recommid}]
|
||||
<div>[{d3_extsearch_highlight text=$product->text|truncate:160:"..."}]</div>
|
||||
[{else}]
|
||||
[{oxhasrights ident="SHOWSHORTDESCRIPTION"}]
|
||||
[{d3_extsearch_highlight text=$product->oxarticles__oxshortdesc->value|truncate:160:"..."}]
|
||||
[{/oxhasrights}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
|
||||
[{if $mod_d3_extsearch}]
|
||||
<div class="description">
|
||||
[{if $recommid}]
|
||||
<div>[{d3_extsearch_highlight text=$product->text|truncate:160:"..."}]</div>
|
||||
[{else}]
|
||||
[{oxhasrights ident="SHOWSHORTDESCRIPTION"}]
|
||||
[{d3_extsearch_highlight text=$product->oxarticles__oxshortdesc->value|truncate:160:"..."}]
|
||||
[{/oxhasrights}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
@ -1,19 +1,19 @@
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
|
||||
<div class="title">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
[{*** 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 ***}]
|
||||
</a>
|
||||
|
||||
[{*** D3 Modul "extSearch" ADD START ***}]
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
[{*** D3 Modul "extSearch" ADD END ***}]
|
||||
</div>
|
||||
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
|
||||
<div class="title">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
[{*** 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 ***}]
|
||||
</a>
|
||||
|
||||
[{*** D3 Modul "extSearch" ADD START ***}]
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
[{*** D3 Modul "extSearch" ADD END ***}]
|
||||
</div>
|
||||
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
||||
|
@ -1,30 +1,30 @@
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
<div class="info">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
</a>
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
<div class="variants">
|
||||
[{if $aVariantSelections && $aVariantSelections.selections}]
|
||||
<div id="variantselector_[{$testid}]" class="selectorsBox js-fnSubmit clear">
|
||||
[{foreach from=$aVariantSelections.selections item=oSelectionList key=iKey}]
|
||||
[{include file="widget/product/selectbox.tpl" oSelectionList=$oSelectionList sJsAction="js-fnSubmit"}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{elseif $oViewConf->showSelectListsInList()}]
|
||||
[{assign var="oSelections" value=$product->getSelections(1)}]
|
||||
[{if $oSelections}]
|
||||
<div id="selectlistsselector_[{$testid}]" class="selectorsBox js-fnSubmit clear">
|
||||
[{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}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
||||
[{d3modcfgcheck modid="d3_extsearch"}][{/d3modcfgcheck}]
|
||||
[{if $mod_d3_extsearch && false == $oModCfg_d3_extsearch->isThemeIdMappedTo('flow')}]
|
||||
<div class="info">
|
||||
<a id="[{$testid}]" href="[{$_productLink}]" class="title" title="[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]">
|
||||
<span>[{d3_extsearch_highlight text=$product->oxarticles__oxtitle->value}] [{d3_extsearch_highlight text=$product->oxarticles__oxvarselect->value}]</span>
|
||||
</a>
|
||||
[{if $product->blIsSimilar}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_SIMILAR"}]</span>[{/if}]
|
||||
[{if $product->isD3CatHit}]<span class='similar'>[{oxmultilang ident="D3_EXTSEARCH_EXT_CATHIT"}]</span>[{/if}]
|
||||
<div class="variants">
|
||||
[{if $aVariantSelections && $aVariantSelections.selections}]
|
||||
<div id="variantselector_[{$testid}]" class="selectorsBox js-fnSubmit clear">
|
||||
[{foreach from=$aVariantSelections.selections item=oSelectionList key=iKey}]
|
||||
[{include file="widget/product/selectbox.tpl" oSelectionList=$oSelectionList sJsAction="js-fnSubmit"}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{elseif $oViewConf->showSelectListsInList()}]
|
||||
[{assign var="oSelections" value=$product->getSelections(1)}]
|
||||
[{if $oSelections}]
|
||||
<div id="selectlistsselector_[{$testid}]" class="selectorsBox js-fnSubmit clear">
|
||||
[{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}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
||||
|
@ -1,200 +1,200 @@
|
||||
[{if !$oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_search_noarticlemessage"}]
|
||||
<h3>[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]</h3>
|
||||
[{oxcontent ident="d3extsearch_noarticlefound"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3GetCMSList()}]
|
||||
[{block name="d3_cfg_extsearch_search_cms_results"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_azure baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<!--
|
||||
[{* Darstellung als Detaileintraege untereinander
|
||||
<ul style="margin: 2px;">
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<li>
|
||||
<a href="[{$oContent->getLink()}]"><b>[{$oContent->oxcontents__oxtitle->value}]</b> - [{$oContent->oxcontents__oxcontent->value|strip_tags|oxtruncate:$iTextLength:"..."}]</a><br>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
*}]
|
||||
-->
|
||||
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<div class="item">
|
||||
<a href="[{$oContent->getLink()}]">[{$oContent->oxcontents__oxtitle->value}]</a>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
<div class="clearitem"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}]
|
||||
[{if $similarSearch}]
|
||||
[{block name="d3_cfg_extsearch_search_similar_messages"}]
|
||||
<div class="d3_extsearch_navigation d3theme_azure baseframe">
|
||||
<div class="message">
|
||||
[{if $similarSearch == 'similar'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}]
|
||||
[{elseif $similarSearch == 'combined'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blSearchPluginLink == 1}]
|
||||
[{block name="d3_cfg_extsearch_search_plugin"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_azure baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<SCRIPT type="text/javascript">
|
||||
function installSearchEngine() {
|
||||
if (window.external && ("AddSearchProvider" in window.external)) {
|
||||
window.external.AddSearchProvider("[{$sSearchPluginURL}]");
|
||||
} else {
|
||||
alert('[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINBROWSERERROR"}]');
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}]
|
||||
<div style="text-align: center; padding-top: 5px;"><a class="login_button" style="padding: 2px;" onclick="installSearchEngine();">[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLBTN"}]</a></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_search_filters"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_azure baseframe">
|
||||
[{block name="d3_cfg_extsearch_search_filters_headline"}]
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}]
|
||||
</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_search_filters_content"}]
|
||||
<div class="content list">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="clearitem"></div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasIndexList()}]
|
||||
[{block name="d3_cfg_extsearch_search_index"}]
|
||||
<div class="d3_extsearch_navigation d3theme_azure baseframe fit">
|
||||
[{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"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if !$oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_search_noarticlemessage"}]
|
||||
<h3>[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]</h3>
|
||||
[{oxcontent ident="d3extsearch_noarticlefound"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3GetCMSList()}]
|
||||
[{block name="d3_cfg_extsearch_search_cms_results"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_azure baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<!--
|
||||
[{* Darstellung als Detaileintraege untereinander
|
||||
<ul style="margin: 2px;">
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<li>
|
||||
<a href="[{$oContent->getLink()}]"><b>[{$oContent->oxcontents__oxtitle->value}]</b> - [{$oContent->oxcontents__oxcontent->value|strip_tags|oxtruncate:$iTextLength:"..."}]</a><br>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
*}]
|
||||
-->
|
||||
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<div class="item">
|
||||
<a href="[{$oContent->getLink()}]">[{$oContent->oxcontents__oxtitle->value}]</a>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
<div class="clearitem"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}]
|
||||
[{if $similarSearch}]
|
||||
[{block name="d3_cfg_extsearch_search_similar_messages"}]
|
||||
<div class="d3_extsearch_navigation d3theme_azure baseframe">
|
||||
<div class="message">
|
||||
[{if $similarSearch == 'similar'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}]
|
||||
[{elseif $similarSearch == 'combined'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blSearchPluginLink == 1}]
|
||||
[{block name="d3_cfg_extsearch_search_plugin"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_azure baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<SCRIPT type="text/javascript">
|
||||
function installSearchEngine() {
|
||||
if (window.external && ("AddSearchProvider" in window.external)) {
|
||||
window.external.AddSearchProvider("[{$sSearchPluginURL}]");
|
||||
} else {
|
||||
alert('[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINBROWSERERROR"}]');
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}]
|
||||
<div style="text-align: center; padding-top: 5px;"><a class="login_button" style="padding: 2px;" onclick="installSearchEngine();">[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLBTN"}]</a></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_search_filters"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_azure baseframe">
|
||||
[{block name="d3_cfg_extsearch_search_filters_headline"}]
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}]
|
||||
</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_search_filters_content"}]
|
||||
<div class="content list">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="clearitem"></div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasIndexList()}]
|
||||
[{block name="d3_cfg_extsearch_search_index"}]
|
||||
<div class="d3_extsearch_navigation d3theme_azure baseframe fit">
|
||||
[{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"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
@ -1,66 +1,66 @@
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_alist_filters"}]
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" class="d3theme_azure" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
|
||||
<div class="listFilter js-fnSubmit clear">
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_alist_filters"}]
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" class="d3theme_azure" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
|
||||
<div class="listFilter js-fnSubmit clear">
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
@ -1,51 +1,51 @@
|
||||
[{block name="d3_cfg_extsearch_visualcms"}]
|
||||
|
||||
[{capture name="sOxidContent"}][{strip}]
|
||||
[{include file=$sOriginalTplName}]
|
||||
[{/strip}][{/capture}]
|
||||
|
||||
[{capture name="sSearchContent"}][{strip}]
|
||||
<div role="tabpanel" class="tab-pane" id="tab_settings_advanced">
|
||||
[{/strip}][{/capture}]
|
||||
|
||||
[{capture name="sModuleContent"}]
|
||||
<div role="tabpanel" class="tab-pane" id="tab_settings_advanced">
|
||||
<div class="form-group">
|
||||
<label>[{oxmultilang ident="D3_EXTSEARCH_TRANSL"}]</label>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="hidden" name="editval[oxcontents__d3issearchable]" value="0">
|
||||
<input type="checkbox" name="editval[oxcontents__d3issearchable]" id="elm_edit_d3issearchable" value="1" />
|
||||
[{oxmultilang ident="D3_EXTSEARCH_CONTENT_SEARCHABLE"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
[{/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}]
|
||||
<div role="tabpanel" class="tab-pane" id="tab_settings_advanced">
|
||||
[{/strip}][{/capture}]
|
||||
|
||||
[{capture name="sModuleContent"}]
|
||||
<div role="tabpanel" class="tab-pane" id="tab_settings_advanced">
|
||||
<div class="form-group">
|
||||
<label>[{oxmultilang ident="D3_EXTSEARCH_TRANSL"}]</label>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="hidden" name="editval[oxcontents__d3issearchable]" value="0">
|
||||
<input type="checkbox" name="editval[oxcontents__d3issearchable]" id="elm_edit_d3issearchable" value="1" />
|
||||
[{oxmultilang ident="D3_EXTSEARCH_CONTENT_SEARCHABLE"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
[{/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}]
|
@ -1,11 +1,11 @@
|
||||
[{block name="d3_cfg_extsearch_indexletter"}]
|
||||
[{if $oView->isHitForIndexLetter($d3fparam)}]
|
||||
<div class="indexlink_usable[{if $sSelectedIndexLetter == $d3fparam}] active[{/if}] letter_[{$d3fparam}]">
|
||||
<a href="[{oxgetseourl ident=$oView->generatePageNavigationUrl()|oxaddparams:"d3searchindexletter=$d3fparam"}]" onclick="d3_extsearch_popup.popup.load();">[{if $d3fdesc}][{$d3fdesc}][{else}][{$d3fparam}][{/if}]</a>
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="indexlink letter_[{$d3fparam}]">
|
||||
[{if $d3fdesc}][{$d3fdesc}][{else}][{$d3fparam}][{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{block name="d3_cfg_extsearch_indexletter"}]
|
||||
[{if $oView->isHitForIndexLetter($d3fparam)}]
|
||||
<div class="indexlink_usable[{if $sSelectedIndexLetter == $d3fparam}] active[{/if}] letter_[{$d3fparam}]">
|
||||
<a href="[{oxgetseourl ident=$oView->generatePageNavigationUrl()|oxaddparams:"d3searchindexletter=$d3fparam"}]" onclick="d3_extsearch_popup.popup.load();">[{if $d3fdesc}][{$d3fdesc}][{else}][{$d3fparam}][{/if}]</a>
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="indexlink letter_[{$d3fparam}]">
|
||||
[{if $d3fdesc}][{$d3fdesc}][{else}][{$d3fparam}][{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
@ -1,3 +1,3 @@
|
||||
[{block name="d3_cfg_extsearch_highlight"}][{strip}]
|
||||
<span class="d3extsearch_highlight">[{$content}]</span>
|
||||
[{block name="d3_cfg_extsearch_highlight"}][{strip}]
|
||||
<span class="d3extsearch_highlight">[{$content}]</span>
|
||||
[{/strip}][{/block}]
|
@ -1,150 +1,150 @@
|
||||
[{block name="d3extsearch_suggest_main"}]
|
||||
<div id="d3_extsearch_quicksearch" class="[{if $blStartSearch}]searchWaitMsg[{/if}]">
|
||||
<div class="headline">
|
||||
[{block name="d3extsearch_suggest_headline"}]
|
||||
[{if $blStartSearch}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_SEARCH"}]
|
||||
[{else}]
|
||||
<a title="[{oxmultilang ident="D3_EXTSEARCH_QUICK_CLOSE"}]" href="#" class="closebtn" id="d3extsearch_suggest_closebtn"></a>
|
||||
[{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}]
|
||||
</div>
|
||||
|
||||
[{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"}]
|
||||
<div class="list [{if $useMultipleObjectTypes}]small[{/if}] [{$sCssClasses}]" id="searchItemList">
|
||||
|
||||
[{if $oHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_article"}]
|
||||
<div class="d3extsearch_suggest articlebox" id="d3extsearch_suggest_articlebox">
|
||||
<h3>[{oxmultilang ident="PRODUCTS"}]</h3>
|
||||
[{foreach name="hitlist" from=$oHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_article"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem article" data-object-type="article" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
<div class="imgframe"><img src="[{$oHit->getIconUrl()}]" alt="[{$oHit->getFieldData('oxtitle')}]"></div>
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
[{if $oHit->getFieldData('oxvarselect')}] [{$oHit->getFieldData('oxvarselect')}][{/if}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oCatHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_category"}]
|
||||
<div class="d3extsearch_suggest categorybox" id="d3extsearch_suggest_categorybox">
|
||||
<h3>[{oxmultilang ident="CATEGORIES"}]</h3>
|
||||
[{foreach name="cathitlist" from=$oCatHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_category"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem category" data-object-type="category" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oManHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_manufacturer"}]
|
||||
<div class="d3extsearch_suggest manufacturerbox" id="d3extsearch_suggest_manufacturerbox">
|
||||
<h3>[{oxmultilang ident="MANUFACTURERS"}]</h3>
|
||||
[{foreach name="manhitlist" from=$oManHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_manufacturer"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem manufacturer" data-object-type="manufacturer" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oVendorHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_vendor"}]
|
||||
<div class="d3extsearch_suggest vendorbox" id="d3extsearch_suggest_vendorbox">
|
||||
<h3>[{oxmultilang ident="DISTRIBUTORS"}]</h3>
|
||||
[{foreach name="vendorhitlist" from=$oVendorHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_vendor"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem vendor" data-object-type="vendor" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oContentHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_content"}]
|
||||
<div class="d3extsearch_suggest contentbox" id="d3extsearch_suggest_contentbox">
|
||||
<h3>[{oxmultilang ident="SERVICES"}]</h3>
|
||||
[{foreach name="contenthitlist" from=$oContentHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_content"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem content" data-object-type="content" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3extsearch_suggest_furtherlinks"}]
|
||||
[{if $blToMuchHits}]
|
||||
<a href="#" onclick="document.getElementById('search').submit(); return false;" class="item_inact">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_TOMUCHHITS"}]
|
||||
</a>
|
||||
[{elseif !$blItem}]
|
||||
<a href="#" onclick="$('#xajax_resp').css({'display' : 'none'}); return false;" class="item_inact">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_NOHIT"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{if $oHit}]
|
||||
[{block name="d3extsearch_suggest_searchbutton"}]
|
||||
<div class="d3_extsearch_footer">
|
||||
<a id="d3extsearch_suggest_startsearch" href="#" class="">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_STARTSEARCH"}]
|
||||
</a>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/strip}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{block name="d3extsearch_suggest_main"}]
|
||||
<div id="d3_extsearch_quicksearch" class="[{if $blStartSearch}]searchWaitMsg[{/if}]">
|
||||
<div class="headline">
|
||||
[{block name="d3extsearch_suggest_headline"}]
|
||||
[{if $blStartSearch}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_SEARCH"}]
|
||||
[{else}]
|
||||
<a title="[{oxmultilang ident="D3_EXTSEARCH_QUICK_CLOSE"}]" href="#" class="closebtn" id="d3extsearch_suggest_closebtn"></a>
|
||||
[{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}]
|
||||
</div>
|
||||
|
||||
[{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"}]
|
||||
<div class="list [{if $useMultipleObjectTypes}]small[{/if}] [{$sCssClasses}]" id="searchItemList">
|
||||
|
||||
[{if $oHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_article"}]
|
||||
<div class="d3extsearch_suggest articlebox" id="d3extsearch_suggest_articlebox">
|
||||
<h3>[{oxmultilang ident="PRODUCTS"}]</h3>
|
||||
[{foreach name="hitlist" from=$oHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_article"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem article" data-object-type="article" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
<div class="imgframe"><img src="[{$oHit->getIconUrl()}]" alt="[{$oHit->getFieldData('oxtitle')}]"></div>
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
[{if $oHit->getFieldData('oxvarselect')}] [{$oHit->getFieldData('oxvarselect')}][{/if}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oCatHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_category"}]
|
||||
<div class="d3extsearch_suggest categorybox" id="d3extsearch_suggest_categorybox">
|
||||
<h3>[{oxmultilang ident="CATEGORIES"}]</h3>
|
||||
[{foreach name="cathitlist" from=$oCatHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_category"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem category" data-object-type="category" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oManHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_manufacturer"}]
|
||||
<div class="d3extsearch_suggest manufacturerbox" id="d3extsearch_suggest_manufacturerbox">
|
||||
<h3>[{oxmultilang ident="MANUFACTURERS"}]</h3>
|
||||
[{foreach name="manhitlist" from=$oManHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_manufacturer"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem manufacturer" data-object-type="manufacturer" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oVendorHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_vendor"}]
|
||||
<div class="d3extsearch_suggest vendorbox" id="d3extsearch_suggest_vendorbox">
|
||||
<h3>[{oxmultilang ident="DISTRIBUTORS"}]</h3>
|
||||
[{foreach name="vendorhitlist" from=$oVendorHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_vendor"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem vendor" data-object-type="vendor" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $useMultipleObjectTypes && $oContentHitList->count()}]
|
||||
[{block name="d3extsearch_suggest_list_content"}]
|
||||
<div class="d3extsearch_suggest contentbox" id="d3extsearch_suggest_contentbox">
|
||||
<h3>[{oxmultilang ident="SERVICES"}]</h3>
|
||||
[{foreach name="contenthitlist" from=$oContentHitList item="oHit"}]
|
||||
[{block name="d3extsearch_suggest_listitem_content"}]
|
||||
[{strip}]
|
||||
<a class="item_inact d3QSItem content" data-object-type="content" id="[{$oHit->getId()|replace:".":""}]" href="[{$oHit->getLink()}]">
|
||||
[{$oHit->getFieldData('oxtitle')}]
|
||||
</a>
|
||||
[{/strip}]
|
||||
[{assign var="blItem" value=true}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3extsearch_suggest_furtherlinks"}]
|
||||
[{if $blToMuchHits}]
|
||||
<a href="#" onclick="document.getElementById('search').submit(); return false;" class="item_inact">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_TOMUCHHITS"}]
|
||||
</a>
|
||||
[{elseif !$blItem}]
|
||||
<a href="#" onclick="$('#xajax_resp').css({'display' : 'none'}); return false;" class="item_inact">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_NOHIT"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{if $oHit}]
|
||||
[{block name="d3extsearch_suggest_searchbutton"}]
|
||||
<div class="d3_extsearch_footer">
|
||||
<a id="d3extsearch_suggest_startsearch" href="#" class="">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_QUICK_STARTSEARCH"}]
|
||||
</a>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/strip}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
@ -1,77 +1,77 @@
|
||||
[{assign var="sIdKey" value=$key|replace:".":""}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item attribute [{$cssclass}]" id="atid_[{$key}]">
|
||||
<label for="d3searchattrib__[{$key}]">
|
||||
[{$oAttribute->title}]:
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sAttributeFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_attribute_single"}]
|
||||
<SELECT id="d3searchattrib__[{$key}]" name="d3searchattrib[[{$key}]]" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $oAttribute->selected}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="[{$oView->d3GetDeselectValue()}]">[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT2"}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION2"}]</OPTION>
|
||||
[{/if}]
|
||||
[{foreach from=$oAttribute->_aList name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<OPTION class="[{if $oAttrValue->highlighted}]highlight [{/if}]" value="[{$oAttrValue->rawvalue}]" [{if false == $oView->d3AttributeFilterUseMultipleValues($key) && $oAttrValue->selected}] selected[{/if}] [{if false == $oAttrValue->isSelectable}] disabled[{/if}]>[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sAttributeFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_attribute_multi"}]
|
||||
<div id="d3searchattrib__multi__[{$key}]" style="[{if $sAttributeFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oAttribute->_aList name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchattribmulti[[{$key}]][[{$oAttrValue->rawvalue}]]" type="hidden" value="[{$oView->d3GetDeselectValue()}]">
|
||||
<input name="d3searchattribmulti[[{$key}]][[{$oAttrValue->rawvalue}]]" type="checkbox" value="[{$oAttrValue->rawvalue}]" id="cb[{$key}][{$oAttrValue->rawvalue}]" [{if $oAttrValue->selected}] checked[{/if}] [{if false == $oAttrValue->isSelectable}] disabled[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->rawvalue}]">
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="attrib"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_attribute_multiselector"}]
|
||||
[{if $sAttributeFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchattrib__multiselector__[{$key}]" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchattribmultiselector[[{$key}]]" id="d3searchattribmultiselector[[{$key}]]" onclick="toggleMultiAttrib(this.checked, '[{$key}]');">
|
||||
<label for="d3searchattribmultiselector[[{$key}]]">
|
||||
[{$oView->d3GetMultipleSelectionTranslation($oAttribute->title)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchattribmultiselector[[{$key}]]" id="d3searchattribmultiselector[[{$key}]]">
|
||||
[{elseif $sAttributeFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchattribmultiselector[[{$key}]]" id="d3searchattribmultiselector[[{$key}]]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{assign var="sIdKey" value=$key|replace:".":""}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item attribute [{$cssclass}]" id="atid_[{$key}]">
|
||||
<label for="d3searchattrib__[{$key}]">
|
||||
[{$oAttribute->title}]:
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sAttributeFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_attribute_single"}]
|
||||
<SELECT id="d3searchattrib__[{$key}]" name="d3searchattrib[[{$key}]]" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $oAttribute->selected}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="[{$oView->d3GetDeselectValue()}]">[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT2"}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION2"}]</OPTION>
|
||||
[{/if}]
|
||||
[{foreach from=$oAttribute->_aList name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<OPTION class="[{if $oAttrValue->highlighted}]highlight [{/if}]" value="[{$oAttrValue->rawvalue}]" [{if false == $oView->d3AttributeFilterUseMultipleValues($key) && $oAttrValue->selected}] selected[{/if}] [{if false == $oAttrValue->isSelectable}] disabled[{/if}]>[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sAttributeFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_attribute_multi"}]
|
||||
<div id="d3searchattrib__multi__[{$key}]" style="[{if $sAttributeFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oAttribute->_aList name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchattribmulti[[{$key}]][[{$oAttrValue->rawvalue}]]" type="hidden" value="[{$oView->d3GetDeselectValue()}]">
|
||||
<input name="d3searchattribmulti[[{$key}]][[{$oAttrValue->rawvalue}]]" type="checkbox" value="[{$oAttrValue->rawvalue}]" id="cb[{$key}][{$oAttrValue->rawvalue}]" [{if $oAttrValue->selected}] checked[{/if}] [{if false == $oAttrValue->isSelectable}] disabled[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->rawvalue}]">
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="attrib"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_attribute_multiselector"}]
|
||||
[{if $sAttributeFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchattrib__multiselector__[{$key}]" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchattribmultiselector[[{$key}]]" id="d3searchattribmultiselector[[{$key}]]" onclick="toggleMultiAttrib(this.checked, '[{$key}]');">
|
||||
<label for="d3searchattribmultiselector[[{$key}]]">
|
||||
[{$oView->d3GetMultipleSelectionTranslation($oAttribute->title)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchattribmultiselector[[{$key}]]" id="d3searchattribmultiselector[[{$key}]]">
|
||||
[{elseif $sAttributeFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchattribmultiselector[[{$key}]]" id="d3searchattribmultiselector[[{$key}]]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
@ -1,75 +1,75 @@
|
||||
[{assign var="sIdKey" value="category"}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item category [{$cssclass}]">
|
||||
<label for="searchcategory">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CATEGORIES"}]
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sCategoryFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_category_single"}]
|
||||
<SELECT id="searchcategory" name="searchcnid" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $sSelectedCategoryId}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="">[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINCATEGORIES"}]</OPTION>
|
||||
<OPTION value="[{$sSelectedCategoryId}]" selected="selected">[{$sSelectedCategory}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSECAT"}]</OPTION>
|
||||
[{foreach from=$oView->d3getCategoryList() item="category"}]
|
||||
<OPTION value="[{$category->getId()}]">[{$category->oxcategories__oxtitle->getRawValue()}][{if $category->getFieldData('counter')}] ([{$category->getFieldData('counter')}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sCategoryFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_category_multi"}]
|
||||
<div id="d3searchcategory__multi" style="[{if $sCategoryFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oView->d3getCategoryList() name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchcategorymulti[[{$oAttrValue->getId()}]]" type="hidden" value="">
|
||||
<input name="d3searchcategorymulti[[{$oAttrValue->getId()}]]" type="checkbox" value="[{$oAttrValue->getId()}]" id="cb[{$key}][{$oAttrValue->getId()}]" [{if $oAttrValue->selected || $oAttrValue->getId() == $sSelectedCategoryId}] checked[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->getId()}]">
|
||||
[{$oAttrValue->getTitle()}] [{if $oAttrValue->getFieldData('counter')}]([{$oAttrValue->getFieldData('counter')}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="category"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_category_multiselector"}]
|
||||
[{if $sCategoryFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchcategory__multiselector" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchcategorymultiselector" id="d3searchcategorymultiselector" onclick="toggleMultiCategory(this.checked);">
|
||||
<label for="d3searchcategorymultiselector">
|
||||
[{assign var="categorytranslation" value="CATEGORY"|oxmultilangassign}]
|
||||
[{$oView->d3GetMultipleSelectionTranslation($categorytranslation)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchcategorymultiselector" id="d3searchcategorymultiselector">
|
||||
[{elseif $sCategoryFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchcategorymultiselector" id="d3searchcategorymultiselector">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{assign var="sIdKey" value="category"}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item category [{$cssclass}]">
|
||||
<label for="searchcategory">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CATEGORIES"}]
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sCategoryFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_category_single"}]
|
||||
<SELECT id="searchcategory" name="searchcnid" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $sSelectedCategoryId}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="">[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINCATEGORIES"}]</OPTION>
|
||||
<OPTION value="[{$sSelectedCategoryId}]" selected="selected">[{$sSelectedCategory}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSECAT"}]</OPTION>
|
||||
[{foreach from=$oView->d3getCategoryList() item="category"}]
|
||||
<OPTION value="[{$category->getId()}]">[{$category->oxcategories__oxtitle->getRawValue()}][{if $category->getFieldData('counter')}] ([{$category->getFieldData('counter')}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sCategoryFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_category_multi"}]
|
||||
<div id="d3searchcategory__multi" style="[{if $sCategoryFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oView->d3getCategoryList() name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchcategorymulti[[{$oAttrValue->getId()}]]" type="hidden" value="">
|
||||
<input name="d3searchcategorymulti[[{$oAttrValue->getId()}]]" type="checkbox" value="[{$oAttrValue->getId()}]" id="cb[{$key}][{$oAttrValue->getId()}]" [{if $oAttrValue->selected || $oAttrValue->getId() == $sSelectedCategoryId}] checked[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->getId()}]">
|
||||
[{$oAttrValue->getTitle()}] [{if $oAttrValue->getFieldData('counter')}]([{$oAttrValue->getFieldData('counter')}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="category"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_category_multiselector"}]
|
||||
[{if $sCategoryFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchcategory__multiselector" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchcategorymultiselector" id="d3searchcategorymultiselector" onclick="toggleMultiCategory(this.checked);">
|
||||
<label for="d3searchcategorymultiselector">
|
||||
[{assign var="categorytranslation" value="CATEGORY"|oxmultilangassign}]
|
||||
[{$oView->d3GetMultipleSelectionTranslation($categorytranslation)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchcategorymultiselector" id="d3searchcategorymultiselector">
|
||||
[{elseif $sCategoryFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchcategorymultiselector" id="d3searchcategorymultiselector">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
@ -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"}]
|
||||
<div style="text-align: center; display: none;" id="d3extsearch[{$elementId}]info">
|
||||
<span id="[{$priceInfoMinId}]">
|
||||
[{$infoMinValue}]
|
||||
</span> [{$currency->sign}] - <span id="[{$priceInfoMaxId}]">
|
||||
[{$infoMaxValue}]
|
||||
</span> [{$currency->sign}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_alist_jqsliderfields"}]
|
||||
<div style="display: block;" id="d3extsearch[{$elementId}]fields">
|
||||
<input type="hidden" name="[{$psovFieldName}][min]" value="[{$originalMinValue}]">
|
||||
<input type="hidden" name="[{$psovFieldName}][max]" value="[{$originalMaxValue}]">
|
||||
<input size="10" maxlength="20" type="text" name="[{$selectorFieldName}][min]" value="[{$inputMinValue}]" id="[{$fieldMinId}]" style="width: 50px;"> [{$currency->sign}] -
|
||||
<input size="10" maxlength="20" type="text" name="[{$selectorFieldName}][max]" value="[{$inputMaxValue}]" id="[{$fieldMaxId}]" style="width: 50px;"> [{$currency->sign}]
|
||||
</div>
|
||||
|
||||
[{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}]
|
||||
|
||||
<div id="[{$elementId}]" class="ui-slider">
|
||||
<div class="ui-slider-handle" id="d3extsearch_priceslider1"></div>
|
||||
<div class="ui-slider-handle" id="d3extsearch_priceslider2" style="right:0;"></div>
|
||||
</div>
|
||||
[{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"}]
|
||||
<div style="text-align: center; display: none;" id="d3extsearch[{$elementId}]info">
|
||||
<span id="[{$priceInfoMinId}]">
|
||||
[{$infoMinValue}]
|
||||
</span> [{$currency->sign}] - <span id="[{$priceInfoMaxId}]">
|
||||
[{$infoMaxValue}]
|
||||
</span> [{$currency->sign}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_alist_jqsliderfields"}]
|
||||
<div style="display: block;" id="d3extsearch[{$elementId}]fields">
|
||||
<input type="hidden" name="[{$psovFieldName}][min]" value="[{$originalMinValue}]">
|
||||
<input type="hidden" name="[{$psovFieldName}][max]" value="[{$originalMaxValue}]">
|
||||
<input size="10" maxlength="20" type="text" name="[{$selectorFieldName}][min]" value="[{$inputMinValue}]" id="[{$fieldMinId}]" style="width: 50px;"> [{$currency->sign}] -
|
||||
<input size="10" maxlength="20" type="text" name="[{$selectorFieldName}][max]" value="[{$inputMaxValue}]" id="[{$fieldMaxId}]" style="width: 50px;"> [{$currency->sign}]
|
||||
</div>
|
||||
|
||||
[{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}]
|
||||
|
||||
<div id="[{$elementId}]" class="ui-slider">
|
||||
<div class="ui-slider-handle" id="d3extsearch_priceslider1"></div>
|
||||
<div class="ui-slider-handle" id="d3extsearch_priceslider2" style="right:0;"></div>
|
||||
</div>
|
||||
[{/block}]
|
@ -1,75 +1,75 @@
|
||||
[{assign var="sIdKey" value="manufacturer"}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item manufacturer [{$cssclass}]">
|
||||
<label for="searchmanufacturer">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_MANUFACTURERS"}]
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sManufacturerFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_manufacturer_single"}]
|
||||
<SELECT id="searchmanufacturer" name="searchmanufacturer" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $sSelectedManufacturerId}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="">[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINMANUFACTURERS"}]</OPTION>
|
||||
<OPTION value="[{$sSelectedManufacturerId}]" selected="selected">[{$sSelectedManufacturer}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEMANUFACTURER"}]</OPTION>
|
||||
[{foreach from=$oView->d3getManufacturerList() item="manufacturer"}]
|
||||
<OPTION value="[{$manufacturer->getId()}]">[{$manufacturer->oxmanufacturers__oxtitle->getRawValue()}][{if $manufacturer->getFieldData('counter')}] ([{$manufacturer->getFieldData('counter')}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sManufacturerFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_manufacturer_multi"}]
|
||||
<div id="d3searchmanufacturer__multi" style="[{if $sManufacturerFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oView->d3getManufacturerList() name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchmanufacturermulti[[{$oAttrValue->getId()}]]" type="hidden" value="">
|
||||
<input name="d3searchmanufacturermulti[[{$oAttrValue->getId()}]]" type="checkbox" value="[{$oAttrValue->getId()}]" id="cb[{$key}][{$oAttrValue->getId()}]" [{if $oAttrValue->selected || $oAttrValue->getId() == $sSelectedManufacturerId}] checked[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->getId()}]">
|
||||
[{$oAttrValue->getTitle()}] [{if $oAttrValue->getFieldData('counter')}]([{$oAttrValue->getFieldData('counter')}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="manufacturer"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_manufacturer_multiselector"}]
|
||||
[{if $sManufacturerFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchmanufacturer__multiselector" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchmanufacturermultiselector" id="d3searchmanufacturermultiselector" onclick="toggleMultiManufacturer(this.checked);">
|
||||
<label for="d3searchmanufacturermultiselector">
|
||||
[{assign var="manufacturertranslation" value="MANUFACTURERS"|oxmultilangassign}]
|
||||
[{$oView->d3GetMultipleSelectionTranslation($manufacturertranslation)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchmanufacturermultiselector" id="d3searchmanufacturermultiselector">
|
||||
[{elseif $sManufacturerFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchmanufacturermultiselector" id="d3searchmanufacturermultiselector">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{assign var="sIdKey" value="manufacturer"}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item manufacturer [{$cssclass}]">
|
||||
<label for="searchmanufacturer">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_MANUFACTURERS"}]
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sManufacturerFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_manufacturer_single"}]
|
||||
<SELECT id="searchmanufacturer" name="searchmanufacturer" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $sSelectedManufacturerId}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="">[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINMANUFACTURERS"}]</OPTION>
|
||||
<OPTION value="[{$sSelectedManufacturerId}]" selected="selected">[{$sSelectedManufacturer}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEMANUFACTURER"}]</OPTION>
|
||||
[{foreach from=$oView->d3getManufacturerList() item="manufacturer"}]
|
||||
<OPTION value="[{$manufacturer->getId()}]">[{$manufacturer->oxmanufacturers__oxtitle->getRawValue()}][{if $manufacturer->getFieldData('counter')}] ([{$manufacturer->getFieldData('counter')}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sManufacturerFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_manufacturer_multi"}]
|
||||
<div id="d3searchmanufacturer__multi" style="[{if $sManufacturerFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oView->d3getManufacturerList() name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchmanufacturermulti[[{$oAttrValue->getId()}]]" type="hidden" value="">
|
||||
<input name="d3searchmanufacturermulti[[{$oAttrValue->getId()}]]" type="checkbox" value="[{$oAttrValue->getId()}]" id="cb[{$key}][{$oAttrValue->getId()}]" [{if $oAttrValue->selected || $oAttrValue->getId() == $sSelectedManufacturerId}] checked[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->getId()}]">
|
||||
[{$oAttrValue->getTitle()}] [{if $oAttrValue->getFieldData('counter')}]([{$oAttrValue->getFieldData('counter')}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="manufacturer"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_manufacturer_multiselector"}]
|
||||
[{if $sManufacturerFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchmanufacturer__multiselector" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchmanufacturermultiselector" id="d3searchmanufacturermultiselector" onclick="toggleMultiManufacturer(this.checked);">
|
||||
<label for="d3searchmanufacturermultiselector">
|
||||
[{assign var="manufacturertranslation" value="MANUFACTURERS"|oxmultilangassign}]
|
||||
[{$oView->d3GetMultipleSelectionTranslation($manufacturertranslation)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchmanufacturermultiselector" id="d3searchmanufacturermultiselector">
|
||||
[{elseif $sManufacturerFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchmanufacturermultiselector" id="d3searchmanufacturermultiselector">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
@ -1,34 +1,34 @@
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<div class="item priceselector [{$cssclass}]">
|
||||
<label for="priceselector">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICECATS"}]:
|
||||
</label><br>
|
||||
[{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()}]
|
||||
<SELECT id="priceselector" name="priceselector" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
<OPTION value="[{$sSelectedPriceStep}]" class="desc" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]</OPTION>
|
||||
[{foreach from=$oView->d3getPriceSteps() item="price"}]
|
||||
<OPTION value="[{$price->addParam}]">[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}][{if $price->iCount != ''}] ([{$price->iCount}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{if $sSelectedPriceStep}]
|
||||
<OPTION value="" class="desc">[{oxmultilang ident="D3_EXTSEARCH_EXT_DESELECTPRICE"}]</OPTION>
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/if}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<div class="item priceselector [{$cssclass}]">
|
||||
<label for="priceselector">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICECATS"}]:
|
||||
</label><br>
|
||||
[{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()}]
|
||||
<SELECT id="priceselector" name="priceselector" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
<OPTION value="[{$sSelectedPriceStep}]" class="desc" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]</OPTION>
|
||||
[{foreach from=$oView->d3getPriceSteps() item="price"}]
|
||||
<OPTION value="[{$price->addParam}]">[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}][{if $price->iCount != ''}] ([{$price->iCount}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{if $sSelectedPriceStep}]
|
||||
<OPTION value="" class="desc">[{oxmultilang ident="D3_EXTSEARCH_EXT_DESELECTPRICE"}]</OPTION>
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/if}]
|
||||
</div>
|
@ -1,75 +1,75 @@
|
||||
[{assign var="sIdKey" value="vendor"}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item vendor [{$cssclass}]">
|
||||
<label for="searchvendor">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_VENDORS"}]
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sVendorFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_vendor_single"}]
|
||||
<SELECT id="searchvendor" name="searchvendor" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $sSelectedVendorId}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="">[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINVENDORS"}]</OPTION>
|
||||
<OPTION value="[{$sSelectedVendorId}]" selected="selected">[{$sSelectedVendor}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEVENDOR"}]</OPTION>
|
||||
[{foreach from=$oView->d3getVendorList() item="vendor"}]
|
||||
<OPTION value="[{$vendor->getId()}]">[{$vendor->oxvendor__oxtitle->getRawValue()}][{if $vendor->getFieldData('counter')}] ([{$vendor->getFieldData('counter')}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sVendorFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_vendor_multi"}]
|
||||
<div id="d3searchvendor__multi" style="[{if $sVendorFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oView->d3getVendorList() name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchvendormulti[[{$oAttrValue->getId()}]]" type="hidden" value="">
|
||||
<input name="d3searchvendormulti[[{$oAttrValue->getId()}]]" type="checkbox" value="[{$oAttrValue->getId()}]" id="cb[{$key}][{$oAttrValue->getId()}]" [{if $oAttrValue->selected || $oAttrValue->getId() == $sSelectedVendorId}] checked[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->getId()}]">
|
||||
[{$oAttrValue->getTitle()}] [{if $oAttrValue->getFieldData('counter')}]([{$oAttrValue->getFieldData('counter')}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="vendor"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_vendor_multiselector"}]
|
||||
[{if $sVendorFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchvendor__multiselector" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchvendormultiselector" id="d3searchvendormultiselector" onclick="toggleMultiVendor(this.checked);">
|
||||
<label for="d3searchvendormultiselector">
|
||||
[{assign var="vendortranslation" value="VENDOR"|oxmultilangassign}]
|
||||
[{$oView->d3GetMultipleSelectionTranslation($vendortranslation)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchvendormultiselector" id="d3searchvendormultiselector">
|
||||
[{elseif $sVendorFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchvendormultiselector" id="d3searchvendormultiselector">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{assign var="sIdKey" value="vendor"}]
|
||||
[{assign var="blShowMultipleSelector" value=true}]
|
||||
<div class="item vendor [{$cssclass}]">
|
||||
<label for="searchvendor">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_VENDORS"}]
|
||||
</label><br>
|
||||
|
||||
[{if in_array($sVendorFilterDisplayType, array('combined', 'single'))}]
|
||||
[{block name="d3_inc_ext_search__filter_vendor_single"}]
|
||||
<SELECT id="searchvendor" name="searchvendor" onchange="d3_extsearch_popup.popup.load(); this.form.submit();">
|
||||
[{if $sSelectedVendorId}]
|
||||
[{assign var="blShowMultipleSelector" value=false}]
|
||||
<OPTION class="desc" value="">[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINVENDORS"}]</OPTION>
|
||||
<OPTION value="[{$sSelectedVendorId}]" selected="selected">[{$sSelectedVendor}]</OPTION>
|
||||
[{else}]
|
||||
<OPTION class="desc" value="" selected="selected">[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEVENDOR"}]</OPTION>
|
||||
[{foreach from=$oView->d3getVendorList() item="vendor"}]
|
||||
<OPTION value="[{$vendor->getId()}]">[{$vendor->oxvendor__oxtitle->getRawValue()}][{if $vendor->getFieldData('counter')}] ([{$vendor->getFieldData('counter')}])[{/if}]</OPTION>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</SELECT>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if in_array($sVendorFilterDisplayType, array('combined', 'multi'))}]
|
||||
[{block name="d3_inc_ext_search__filter_vendor_multi"}]
|
||||
<div id="d3searchvendor__multi" style="[{if $sVendorFilterDisplayType == 'combined'}]display: none;[{/if}]">
|
||||
[{foreach from=$oView->d3getVendorList() name=attrvalues key=valuekey item=oAttrValue}]
|
||||
<input name="d3searchvendormulti[[{$oAttrValue->getId()}]]" type="hidden" value="">
|
||||
<input name="d3searchvendormulti[[{$oAttrValue->getId()}]]" type="checkbox" value="[{$oAttrValue->getId()}]" id="cb[{$key}][{$oAttrValue->getId()}]" [{if $oAttrValue->selected || $oAttrValue->getId() == $sSelectedVendorId}] checked[{/if}]>
|
||||
<label for="cb[{$key}][{$oAttrValue->getId()}]">
|
||||
[{$oAttrValue->getTitle()}] [{if $oAttrValue->getFieldData('counter')}]([{$oAttrValue->getFieldData('counter')}])[{/if}]
|
||||
</label><br>
|
||||
[{/foreach}]
|
||||
|
||||
[{include file="d3_ext_search_filter_inc_multibuttons.tpl" type="vendor"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_vendor_multiselector"}]
|
||||
[{if $sVendorFilterDisplayType == 'combined'}]
|
||||
<div id="d3searchvendor__multiselector" class="filterselector [{if false == $blShowMultipleSelector}]filterselector_hidden[{/if}]">
|
||||
<input type="checkbox" name="d3searchvendormultiselector" id="d3searchvendormultiselector" onclick="toggleMultiVendor(this.checked);">
|
||||
<label for="d3searchvendormultiselector">
|
||||
[{assign var="vendortranslation" value="VENDOR"|oxmultilangassign}]
|
||||
[{$oView->d3GetMultipleSelectionTranslation($vendortranslation)}]
|
||||
</label>
|
||||
</div>
|
||||
|
||||
[{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'}]
|
||||
<input type="hidden" value="" name="d3searchvendormultiselector" id="d3searchvendormultiselector">
|
||||
[{elseif $sVendorFilterDisplayType == 'multi'}]
|
||||
<input type="hidden" value="on" name="d3searchvendormultiselector" id="d3searchvendormultiselector">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
@ -1,78 +1,78 @@
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_alist_filters"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] [{$sidebar_class}] baseframe">
|
||||
[{block name="d3_cfg_extsearch_alist_filters_headline"}]
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}]
|
||||
</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_alist_filters_content"}]
|
||||
<div class="content list">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" class="box d3_extsearch_navigation d3theme_[{$themename}] baseframe" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
|
||||
<div class="listFilter js-fnSubmit clear">
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton btn btn-primary [{* for Bootstrap 3 *}] btn-outline-primary [{* for Bootstrap 4 *}] btn-sm" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_alist_filters"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] [{$sidebar_class}] baseframe">
|
||||
[{block name="d3_cfg_extsearch_alist_filters_headline"}]
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}]
|
||||
</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_alist_filters_content"}]
|
||||
<div class="content list">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" class="box d3_extsearch_navigation d3theme_[{$themename}] baseframe" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
|
||||
<div class="listFilter js-fnSubmit clear">
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton btn btn-primary [{* for Bootstrap 3 *}] btn-outline-primary [{* for Bootstrap 4 *}] btn-sm" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
@ -1,64 +1,64 @@
|
||||
[{if !$oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_search_noarticlemessage"}]
|
||||
<h3>[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]</h3>
|
||||
[{oxcontent ident="d3extsearch_noarticlefound"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3GetCMSList()}]
|
||||
[{block name="d3_cfg_extsearch_search_cms_results"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<div class="item">
|
||||
<a href="[{$oContent->getLink()}]">[{$oContent->oxcontents__oxtitle->value}]</a>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
<div class="clearitem"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blSearchPluginLink == 1}]
|
||||
[{block name="d3_cfg_extsearch_search_plugin"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<SCRIPT type="text/javascript">
|
||||
function installSearchEngine() {
|
||||
if (window.external && ("AddSearchProvider" in window.external)) {
|
||||
window.external.AddSearchProvider("[{$sSearchPluginURL}]");
|
||||
} else {
|
||||
alert('[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINBROWSERERROR"}]');
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}]
|
||||
<div style="text-align: center; padding-top: 5px;"><a class="login_button" style="padding: 2px;" onclick="installSearchEngine();">[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLBTN"}]</a></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}]
|
||||
[{if $similarSearch}]
|
||||
[{block name="d3_cfg_extsearch_search_similar_messages"}]
|
||||
<div class="d3_extsearch_navigation d3theme_[{$themename}] baseframe">
|
||||
<div class="message">
|
||||
[{if $similarSearch == 'similar'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}]
|
||||
[{elseif $similarSearch == 'combined'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{if !$oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_search_noarticlemessage"}]
|
||||
<h3>[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]</h3>
|
||||
[{oxcontent ident="d3extsearch_noarticlefound"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3GetCMSList()}]
|
||||
[{block name="d3_cfg_extsearch_search_cms_results"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<div class="item">
|
||||
<a href="[{$oContent->getLink()}]">[{$oContent->oxcontents__oxtitle->value}]</a>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
<div class="clearitem"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blSearchPluginLink == 1}]
|
||||
[{block name="d3_cfg_extsearch_search_plugin"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] baseframe">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<SCRIPT type="text/javascript">
|
||||
function installSearchEngine() {
|
||||
if (window.external && ("AddSearchProvider" in window.external)) {
|
||||
window.external.AddSearchProvider("[{$sSearchPluginURL}]");
|
||||
} else {
|
||||
alert('[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGINBROWSERERROR"}]');
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLMSG"}]
|
||||
<div style="text-align: center; padding-top: 5px;"><a class="login_button" style="padding: 2px;" onclick="installSearchEngine();">[{oxmultilang ident="D3_EXTSEARCH_EXT_PLUGININSTALLBTN"}]</a></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}]
|
||||
[{if $similarSearch}]
|
||||
[{block name="d3_cfg_extsearch_search_similar_messages"}]
|
||||
<div class="d3_extsearch_navigation d3theme_[{$themename}] baseframe">
|
||||
<div class="message">
|
||||
[{if $similarSearch == 'similar'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}]
|
||||
[{elseif $similarSearch == 'combined'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
@ -1,121 +1,121 @@
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_search_filters"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] [{$sidebar_class}] baseframe">
|
||||
[{block name="d3_cfg_extsearch_search_filters_headline"}]
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}]
|
||||
</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_search_filters_content"}]
|
||||
<div class="content list">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton btn btn-primary [{* for Bootstrap 3 *}] btn-outline-primary [{* for Bootstrap 4 *}] btn-sm" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="clearitem"></div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasIndexList()}]
|
||||
[{block name="d3_cfg_extsearch_search_index"}]
|
||||
<div class="d3_extsearch_navigation d3theme_[{$themename}] [{$sidebar_class}] baseframe fit">
|
||||
[{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"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_search_filters"}]
|
||||
<div class="box d3_extsearch_navigation d3theme_[{$themename}] [{$sidebar_class}] baseframe">
|
||||
[{block name="d3_cfg_extsearch_search_filters_headline"}]
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHBOX"}]
|
||||
</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="d3_cfg_extsearch_search_filters_content"}]
|
||||
<div class="content list">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" id="d3searchfilterform" autocomplete="off" spellcheck="false">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
|
||||
[{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}]
|
||||
|
||||
<noscript>
|
||||
<div class="fullitem">
|
||||
<span class="btn">
|
||||
<input type="submit" value="[{oxmultilang ident="D3_EXTSEARCH_EXT_START_SEARCH"}]">
|
||||
</span>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
[{block name="d3_inc_ext_search__filter_clear"}]
|
||||
<div class="fullitem clearFilter">
|
||||
<button type="submit" class="submitButton largeButton btn btn-primary [{* for Bootstrap 3 *}] btn-outline-primary [{* for Bootstrap 4 *}] btn-sm" onclick="document.getElementById('d3searchfilterform').isextsearch.value = false; document.getElementById('d3searchfilterform').fnc.value = 'd3ClearFilter'; d3_extsearch_popup.popup.load();">[{oxmultilang ident="D3_EXTSEARCH_EXT_CLEARFILTER"}]</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="clearitem"></div>
|
||||
[{/block}]
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasIndexList()}]
|
||||
[{block name="d3_cfg_extsearch_search_index"}]
|
||||
<div class="d3_extsearch_navigation d3theme_[{$themename}] [{$sidebar_class}] baseframe fit">
|
||||
[{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"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
@ -1,333 +1,333 @@
|
||||
[{if !$oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_noarticlemessage"}]
|
||||
<h3>[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]</h3>
|
||||
[{oxcontent ident="d3extsearch_noarticlefound"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3GetCMSList()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_cms_results"}]
|
||||
<div class="d3extsearch_mobile">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<ul style="margin: 2px;">
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<li>
|
||||
<a href="[{$oContent->getLink()}]"><b>[{$oContent->oxcontents__oxtitle->value}]</b></a><br>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}]
|
||||
[{if $similarSearch}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_similar_messages"}]
|
||||
<div class="d3extsearch_mobile">
|
||||
<div class="message">
|
||||
[{if $similarSearch == 'similar'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}]
|
||||
[{elseif $similarSearch == 'combined'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_filterbox"}]
|
||||
<div id="filterItems" class="filter-box">
|
||||
<div class="filter-box-closed" id="filterBoxClosed">
|
||||
<input class="btn" type="button" value="[{oxmultilang ident="FILTER_LIST"}]">
|
||||
</div>
|
||||
<div id="filterBoxOpened" class="filter-box-opened">
|
||||
<div class="filter-header">
|
||||
<span class="filter-close"><i class="glyphicon-remove"></i></span>
|
||||
<span class="filter-open-title">[{oxmultilang ident="FILTER_LIST"}]</span>
|
||||
</div>
|
||||
<div class="filterData">
|
||||
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_filters"}]
|
||||
<script type="text/javascript">
|
||||
function d3extSearchSubmitFilter(sInputId, mValue) {
|
||||
document.getElementById(sInputId).value = mValue;
|
||||
}
|
||||
</script>
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="_filterlist" id="filterList">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="showFilter" value="false">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
[{assign var="blFilterOpen" value=false}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter"}]
|
||||
[{if $oView->d3HasCategoryList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_CATEGORIES"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchcnid" name="searchcnid" value="[{$sSelectedCatId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedCatId}]
|
||||
[{$sSelectedCat}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSECAT"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedCatId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchcnid', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINCATEGORIES"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getCategoryList() item="category"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$category->getId()}]" title="[{$category->oxcategories__oxtitle->getRawValue()}]" [{if $sSelectedCatId == $category->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchcnid', this.getAttribute('data-selection-id'));">
|
||||
[{$category->getTitle()}][{if $category->getFieldData('counter')}] ([{$category->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasVendorList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_VENDORS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchvendor" name="searchvendor" value="[{$sSelectedVendorId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedVendorId}]
|
||||
[{$sSelectedVendor}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEVENDOR"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedVendorId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINVENDORS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getVendorList() item="vendor"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$vendor->getId()}]" title="[{$vendor->oxvendor__oxtitle->getRawValue()}]" [{if $sSelectedVendorId == $vendor->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{$vendor->getTitle()}][{if $vendor->getFieldData('counter')}] ([{$vendor->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
|
||||
[{if $oView->d3HasManufacturerList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_MANUFACTURERS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchmanufacturer" name="searchmanufacturer" value="[{$sSelectedManufacturerId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedManufacturerId}]
|
||||
[{$sSelectedManufacturer}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEMANUFACTURER"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedManufacturerId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINMANUFACTURERS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getManufacturerList() item="manufacturer"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$manufacturer->getId()}]" title="[{$manufacturer->oxmanufacturers__oxtitle->getRawValue()}]" [{if $sSelectedManufacturerId == $manufacturer->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{$manufacturer->getTitle()}][{if $manufacturer->getFieldData('counter')}] ([{$manufacturer->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasAttributeList()}]
|
||||
[{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}]
|
||||
<label class="filter-title">[{$oAttribute->title}]:</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="d3searchattrib__[{$key}]" name="d3searchattrib[[{$key}]]" value="[{$oAttribute->selectionRawValue}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $oAttribute->selected}]
|
||||
[{$oAttribute->selectionValue}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION2"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $oAttribute->selected}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT2"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oAttribute->_aList name="attrvalues" key="valuekey" item="oAttrValue"}]
|
||||
<li class="dropdown-option">
|
||||
[{if $oAttrValue->isSelectable}]
|
||||
<a tabindex="-1" data-selection-id="[{$oAttrValue->rawvalue}]" title="[{$oAttrValue->value}]" style="[{if $oAttrValue->highlighted}]background-color: #E2E2E2;[{/if}]" [{if $oAttrValue->selected}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</a>
|
||||
[{else}]
|
||||
<div>
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasPriceFilter()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICECATS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="priceselector" name="priceselector" value="[{$sSelectedPriceStep}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedPriceStep}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedPriceStep}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_DESELECTPRICE"}]
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{foreach from=$oView->d3getPriceSteps() item="price"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$price->addParam}]" title="[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}]" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}][{if $price->iCount != ''}] ([{$price->iCount}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
[{/if}]
|
||||
|
||||
[{/block}]
|
||||
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{if $oView->d3HasIndexList()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_index"}]
|
||||
<div class="d3extsearch_mobile spacer">
|
||||
[{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"}]
|
||||
<div style="clear: both;"></div>
|
||||
[{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"}]
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{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}]
|
||||
|
||||
</div>
|
||||
[{/block}]
|
||||
[{if !$oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_noarticlemessage"}]
|
||||
<h3>[{oxcontent ident="d3extsearch_noarticlefound" field="oxtitle"}]</h3>
|
||||
[{oxcontent ident="d3extsearch_noarticlefound"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3GetCMSList()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_cms_results"}]
|
||||
<div class="d3extsearch_mobile">
|
||||
<h3>
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CMSHEADLINE"}]
|
||||
</h3>
|
||||
<div class="content list">
|
||||
<ul style="margin: 2px;">
|
||||
[{foreach from=$oView->d3GetCMSList() item="oContent"}]
|
||||
[{assign var="TitleCharCount" value=$oContent->oxcontents__oxtitle->value|count_characters}]
|
||||
[{math equation="100-s" s=$TitleCharCount assign="iTextLength"}]
|
||||
<li>
|
||||
<a href="[{$oContent->getLink()}]"><b>[{$oContent->oxcontents__oxtitle->value}]</b></a><br>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="similarSearch" value=$oView->getSearchResultStatusMessage()}]
|
||||
[{if $similarSearch}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_similar_messages"}]
|
||||
<div class="d3extsearch_mobile">
|
||||
<div class="message">
|
||||
[{if $similarSearch == 'similar'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_NOARTMSG"}] [{$oView->getUsedParams()}]
|
||||
[{elseif $similarSearch == 'combined'}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_LESSARTMSG"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getArticleCount()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_filterbox"}]
|
||||
<div id="filterItems" class="filter-box">
|
||||
<div class="filter-box-closed" id="filterBoxClosed">
|
||||
<input class="btn" type="button" value="[{oxmultilang ident="FILTER_LIST"}]">
|
||||
</div>
|
||||
<div id="filterBoxOpened" class="filter-box-opened">
|
||||
<div class="filter-header">
|
||||
<span class="filter-close"><i class="glyphicon-remove"></i></span>
|
||||
<span class="filter-open-title">[{oxmultilang ident="FILTER_LIST"}]</span>
|
||||
</div>
|
||||
<div class="filterData">
|
||||
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_filters"}]
|
||||
<script type="text/javascript">
|
||||
function d3extSearchSubmitFilter(sInputId, mValue) {
|
||||
document.getElementById(sInputId).value = mValue;
|
||||
}
|
||||
</script>
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="_filterlist" id="filterList">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="showFilter" value="false">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="search">
|
||||
[{assign var="blFilterOpen" value=false}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter"}]
|
||||
[{if $oView->d3HasCategoryList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_CATEGORIES"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchcnid" name="searchcnid" value="[{$sSelectedCatId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedCatId}]
|
||||
[{$sSelectedCat}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSECAT"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedCatId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchcnid', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINCATEGORIES"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getCategoryList() item="category"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$category->getId()}]" title="[{$category->oxcategories__oxtitle->getRawValue()}]" [{if $sSelectedCatId == $category->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchcnid', this.getAttribute('data-selection-id'));">
|
||||
[{$category->getTitle()}][{if $category->getFieldData('counter')}] ([{$category->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasVendorList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_VENDORS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchvendor" name="searchvendor" value="[{$sSelectedVendorId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedVendorId}]
|
||||
[{$sSelectedVendor}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEVENDOR"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedVendorId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINVENDORS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getVendorList() item="vendor"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$vendor->getId()}]" title="[{$vendor->oxvendor__oxtitle->getRawValue()}]" [{if $sSelectedVendorId == $vendor->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{$vendor->getTitle()}][{if $vendor->getFieldData('counter')}] ([{$vendor->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
|
||||
[{if $oView->d3HasManufacturerList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_MANUFACTURERS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchmanufacturer" name="searchmanufacturer" value="[{$sSelectedManufacturerId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedManufacturerId}]
|
||||
[{$sSelectedManufacturer}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEMANUFACTURER"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedManufacturerId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINMANUFACTURERS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getManufacturerList() item="manufacturer"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$manufacturer->getId()}]" title="[{$manufacturer->oxmanufacturers__oxtitle->getRawValue()}]" [{if $sSelectedManufacturerId == $manufacturer->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{$manufacturer->getTitle()}][{if $manufacturer->getFieldData('counter')}] ([{$manufacturer->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasAttributeList()}]
|
||||
[{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}]
|
||||
<label class="filter-title">[{$oAttribute->title}]:</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="d3searchattrib__[{$key}]" name="d3searchattrib[[{$key}]]" value="[{$oAttribute->selectionRawValue}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $oAttribute->selected}]
|
||||
[{$oAttribute->selectionValue}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION2"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $oAttribute->selected}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT2"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oAttribute->_aList name="attrvalues" key="valuekey" item="oAttrValue"}]
|
||||
<li class="dropdown-option">
|
||||
[{if $oAttrValue->isSelectable}]
|
||||
<a tabindex="-1" data-selection-id="[{$oAttrValue->rawvalue}]" title="[{$oAttrValue->value}]" style="[{if $oAttrValue->highlighted}]background-color: #E2E2E2;[{/if}]" [{if $oAttrValue->selected}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</a>
|
||||
[{else}]
|
||||
<div>
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasPriceFilter()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICECATS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="priceselector" name="priceselector" value="[{$sSelectedPriceStep}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedPriceStep}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedPriceStep}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_DESELECTPRICE"}]
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{foreach from=$oView->d3getPriceSteps() item="price"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$price->addParam}]" title="[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}]" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}][{if $price->iCount != ''}] ([{$price->iCount}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
[{/if}]
|
||||
|
||||
[{/block}]
|
||||
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{if $oView->d3HasIndexList()}]
|
||||
[{block name="d3_cfg_extsearch_searchmobile_index"}]
|
||||
<div class="d3extsearch_mobile spacer">
|
||||
[{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"}]
|
||||
<div style="clear: both;"></div>
|
||||
[{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"}]
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{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}]
|
||||
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
@ -1,204 +1,204 @@
|
||||
[{block name="d3_cfg_extsearch_searchmobile_filterbox"}]
|
||||
<div id="filterItems" class="filter-box">
|
||||
<div class="filter-box-closed" id="filterBoxClosed">
|
||||
<input class="btn" type="button" value="[{oxmultilang ident="FILTER_LIST"}]">
|
||||
</div>
|
||||
<div id="filterBoxOpened" class="filter-box-opened">
|
||||
<div class="filter-header">
|
||||
<span class="filter-close"><i class="glyphicon-remove"></i></span>
|
||||
<span class="filter-open-title">[{oxmultilang ident="FILTER_LIST"}]</span>
|
||||
</div>
|
||||
<div class="filterData">
|
||||
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_alistmobile_filters"}]
|
||||
<script type="text/javascript">
|
||||
function d3extSearchSubmitFilter(sInputId, mValue) {
|
||||
document.getElementById(sInputId).value = mValue;
|
||||
}
|
||||
</script>
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="_filterlist" id="filterList">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="showFilter" value="false">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
[{assign var="blFilterOpen" value=false}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter"}]
|
||||
[{if $oView->d3HasVendorList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_VENDORS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchvendor" name="searchvendor" value="[{$sSelectedVendorId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedVendorId}]
|
||||
[{$sSelectedVendor}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEVENDOR"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedVendorId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINVENDORS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getVendorList() item="vendor"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$vendor->getId()}]" title="[{$vendor->oxvendor__oxtitle->getRawValue()}]" [{if $sSelectedVendorId == $vendor->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{$vendor->getTitle()}][{if $vendor->getFieldData('counter')}] ([{$vendor->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasManufacturerList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_MANUFACTURERS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchmanufacturer" name="searchmanufacturer" value="[{$sSelectedManufacturerId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedManufacturerId}]
|
||||
[{$sSelectedManufacturer}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEMANUFACTURER"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedManufacturerId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINMANUFACTURERS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getManufacturerList() item="manufacturer"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$manufacturer->getId()}]" title="[{$manufacturer->oxmanufacturers__oxtitle->getRawValue()}]" [{if $sSelectedManufacturerId == $manufacturer->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{$manufacturer->getTitle()}][{if $manufacturer->getFieldData('counter')}] ([{$manufacturer->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasAttributeList()}]
|
||||
[{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}]
|
||||
<label class="filter-title">[{$oAttribute->title}]:</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="d3searchattrib__[{$key}]" name="d3searchattrib[[{$key}]]" value="[{$oAttribute->selectionRawValue}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $oAttribute->selected}]
|
||||
[{$oAttribute->selectionValue}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION2"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $oAttribute->selected}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT2"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oAttribute->_aList name="attrvalues" key="valuekey" item="oAttrValue"}]
|
||||
<li class="dropdown-option">
|
||||
[{if $oAttrValue->isSelectable}]
|
||||
<a tabindex="-1" data-selection-id="[{$oAttrValue->rawvalue}]" title="[{$oAttrValue->value}]" style="[{if $oAttrValue->highlighted}]background-color: #E2E2E2;[{/if}]" [{if $oAttrValue->selected}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</a>
|
||||
[{else}]
|
||||
<div>
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasPriceFilter()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICECATS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="priceselector" name="priceselector" value="[{$sSelectedPriceStep}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if isset($sSelectedPriceStep) && $sSelectedPriceStep}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedPriceStep}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_DESELECTPRICE"}]
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{foreach from=$oView->d3getPriceSteps() item="price"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$price->addParam}]" title="[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}]" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}][{if $price->iCount != ''}] ([{$price->iCount}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{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}]
|
||||
</div>
|
||||
[{block name="d3_cfg_extsearch_searchmobile_filterbox"}]
|
||||
<div id="filterItems" class="filter-box">
|
||||
<div class="filter-box-closed" id="filterBoxClosed">
|
||||
<input class="btn" type="button" value="[{oxmultilang ident="FILTER_LIST"}]">
|
||||
</div>
|
||||
<div id="filterBoxOpened" class="filter-box-opened">
|
||||
<div class="filter-header">
|
||||
<span class="filter-close"><i class="glyphicon-remove"></i></span>
|
||||
<span class="filter-open-title">[{oxmultilang ident="FILTER_LIST"}]</span>
|
||||
</div>
|
||||
<div class="filterData">
|
||||
|
||||
[{if $oView->d3HasFilters()}]
|
||||
[{block name="d3_cfg_extsearch_alistmobile_filters"}]
|
||||
<script type="text/javascript">
|
||||
function d3extSearchSubmitFilter(sInputId, mValue) {
|
||||
document.getElementById(sInputId).value = mValue;
|
||||
}
|
||||
</script>
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="_filterlist" id="filterList">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="searchparam" value="[{$oView->getSearchParamForHtml()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="showFilter" value="false">
|
||||
[{foreach from=$oView->getNavigationParams() key="keyname" item="value"}]
|
||||
[{if $keyname != 'searchcnid' && $keyname != 'searchvendor' && $keyname != 'searchmanufacturer'}]
|
||||
<input type="hidden" name="[{$keyname|htmlentities}]" value="[{$value|htmlentities}]">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<input type="hidden" name="isextsearch" value="alist">
|
||||
[{assign var="blFilterOpen" value=false}]
|
||||
|
||||
[{block name="d3_inc_ext_search__filter"}]
|
||||
[{if $oView->d3HasVendorList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_VENDORS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchvendor" name="searchvendor" value="[{$sSelectedVendorId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedVendorId}]
|
||||
[{$sSelectedVendor}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEVENDOR"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedVendorId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINVENDORS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getVendorList() item="vendor"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$vendor->getId()}]" title="[{$vendor->oxvendor__oxtitle->getRawValue()}]" [{if $sSelectedVendorId == $vendor->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchvendor', this.getAttribute('data-selection-id'));">
|
||||
[{$vendor->getTitle()}][{if $vendor->getFieldData('counter')}] ([{$vendor->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasManufacturerList()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_MANUFACTURERS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="searchmanufacturer" name="searchmanufacturer" value="[{$sSelectedManufacturerId}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $sSelectedManufacturerId}]
|
||||
[{$sSelectedManufacturer}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEMANUFACTURER"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedManufacturerId}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_SEARCHINMANUFACTURERS"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oView->d3getManufacturerList() item="manufacturer"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$manufacturer->getId()}]" title="[{$manufacturer->oxmanufacturers__oxtitle->getRawValue()}]" [{if $sSelectedManufacturerId == $manufacturer->getId()}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('searchmanufacturer', this.getAttribute('data-selection-id'));">
|
||||
[{$manufacturer->getTitle()}][{if $manufacturer->getFieldData('counter')}] ([{$manufacturer->getFieldData('counter')}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasAttributeList()}]
|
||||
[{foreach from=$oView->d3GetAttributeList() name=search key=key item=oAttribute}]
|
||||
<label class="filter-title">[{$oAttribute->title}]:</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="d3searchattrib__[{$key}]" name="d3searchattrib[[{$key}]]" value="[{$oAttribute->selectionRawValue}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if $oAttribute->selected}]
|
||||
[{$oAttribute->selectionValue}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSNOSELECTION2"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $oAttribute->selected}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT1"}] [{$oAttribute->title}] [{oxmultilang ident="D3_EXTSEARCH_EXT_ATTRIBSDESELECT2"}]
|
||||
</a>
|
||||
</li>
|
||||
[{else}]
|
||||
[{foreach from=$oAttribute->_aList name="attrvalues" key="valuekey" item="oAttrValue"}]
|
||||
<li class="dropdown-option">
|
||||
[{if $oAttrValue->isSelectable}]
|
||||
<a tabindex="-1" data-selection-id="[{$oAttrValue->rawvalue}]" title="[{$oAttrValue->value}]" style="[{if $oAttrValue->highlighted}]background-color: #E2E2E2;[{/if}]" [{if $oAttrValue->selected}]class="selected"[{/if}] onclick="d3extSearchSubmitFilter('d3searchattrib__[{$key}]', this.getAttribute('data-selection-id'));">
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</a>
|
||||
[{else}]
|
||||
<div>
|
||||
[{$oAttrValue->value}] [{if $oAttrValue->count}]([{$oAttrValue->count}])[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->d3HasPriceFilter()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<label class="filter-title">[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICECATS"}]</label>
|
||||
<div class="dropdown">
|
||||
<input type="hidden" id="priceselector" name="priceselector" value="[{$sSelectedPriceStep}]">
|
||||
<div class="dropdown-toggle" data-toggle="dropdown" data-target="#">
|
||||
<div>
|
||||
[{if isset($sSelectedPriceStep) && $sSelectedPriceStep}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{assign var="blFilterOpen" value=true}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_CHOOSEPRICE"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<i class="glyphicon-chevron-down"></i>
|
||||
</div>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
[{if $sSelectedPriceStep}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_DESELECTPRICE"}]
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{foreach from=$oView->d3getPriceSteps() item="price"}]
|
||||
<li class="dropdown-option">
|
||||
<a tabindex="-1" data-selection-id="[{$price->addParam}]" title="[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}]" onclick="d3extSearchSubmitFilter('priceselector', this.getAttribute('data-selection-id'));">
|
||||
[{oxmultilang ident="D3_EXTSEARCH_EXT_PRICEFROM"}] [{$price->iFMin}] [{$currency->sign}] [{oxmultilang ident="D3_EXTSEARCH_EXT_PRICETO"}] [{$price->iFMax}] [{$currency->sign}][{if $price->iCount != ''}] ([{$price->iCount}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{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}]
|
||||
</div>
|
||||
[{/block}]
|
Loading…
Reference in New Issue
Block a user