Skip to content

Commit

Permalink
fix js_checking for orders
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovct committed Jul 9, 2018
1 parent 0609d7e commit b4e2b3c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
10 changes: 2 additions & 8 deletions 2.3.x/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,9 @@
<add position="before"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/checkout/register.tpl">
<file path="catalog/view/theme/*/template/checkout/checkout.tpl">
<operation>
<search><![CDATA[<input type="button" value="<?php echo $button_continue; ?>" id="button-register" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary" />]]></search>
<add position="after"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/checkout/guest.tpl">
<operation>
<search><![CDATA[<input type="button" value="<?php echo $button_continue; ?>" id="button-guest" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary" />]]></search>
<search><![CDATA[<div class="panel-collapse collapse" id="collapse-payment-address">]]></search>
<add position="after"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
Expand Down
10 changes: 2 additions & 8 deletions 2.x - 2.2.x/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,9 @@
<add position="before"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/checkout/register.tpl">
<file path="catalog/view/theme/*/template/checkout/checkout.tpl">
<operation>
<search><![CDATA[<input type="button" value="<?php echo $button_continue; ?>" id="button-register" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary" />]]></search>
<add position="after"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/checkout/guest.tpl">
<operation>
<search><![CDATA[<input type="button" value="<?php echo $button_continue; ?>" id="button-guest" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary" />]]></search>
<search><![CDATA[<div class="panel-collapse collapse" id="collapse-payment-address">]]></search>
<add position="after"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
Expand Down
14 changes: 4 additions & 10 deletions 3.x/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@
</operation>
</file>
<file path = "catalog/controller/checkout/checkout.php">
<operation>
<operation>
<search><![CDATA[public function index() {]]></search>
<add position="after"><![CDATA[require_once DIR_APPLICATION . '/controller/extension/module/cleantalk.funcs.php';
$ct_funcs = new CleantalkFuncs($this->config->get('module_antispambycleantalk_access_key')); $ct_funcs->setCookie();]]></add>
</operation>
</file>
<file path = "catalog/controller/information/contact.php">
<operation>
<operation>
<search><![CDATA[public function index() {]]></search>
<add position="after"><![CDATA[require_once DIR_APPLICATION . '/controller/extension/module/cleantalk.funcs.php';
$ct_funcs = new CleantalkFuncs($this->config->get('module_antispambycleantalk_access_key')); $ct_funcs->setCookie();]]></add>
Expand All @@ -126,17 +126,11 @@
<add position="before"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/checkout/register.twig">
<file path="catalog/view/theme/*/template/checkout/checkout.twig">
<operation>
<search><![CDATA[<input type="button" value="{{ button_continue }}" id="button-register" data-loading-text="{{ text_loading }}" class="btn btn-primary" />]]></search>
<search><![CDATA[<div class="panel-collapse collapse" id="collapse-payment-address">]]></search>
<add position="after"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/checkout/guest.twig">
<operation>
<search><![CDATA[<input type="button" value="{{ button_continue }}" id="button-guest" data-loading-text="{{ text_loading }}" class="btn btn-primary" />]]></search>
<add position="after"><![CDATA[<input type="hidden" name="ct_checkjs" id="ct_checkjs" value="0" />]]></add>
</operation>
</file>
<file path="catalog/view/theme/*/template/product/product.twig">
<operation>
Expand Down

0 comments on commit b4e2b3c

Please sign in to comment.