|
32 | 32 | <block type="core/text_list" name="form.additional.info">
|
33 | 33 | <block type="captcha/captcha" name="captcha">
|
34 | 34 | <reference name="head">
|
35 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 35 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
36 | 36 | </reference>
|
37 | 37 | <action method="setFormId"><formId>user_login</formId></action>
|
38 | 38 | <action method="setImgWidth"><width>230</width></action>
|
|
46 | 46 | <block type="core/text_list" name="form.additional.info">
|
47 | 47 | <block type="captcha/captcha" name="captcha">
|
48 | 48 | <reference name="head">
|
49 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 49 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
50 | 50 | </reference>
|
51 | 51 | <action method="setFormId"><formId>user_forgotpassword</formId></action>
|
52 | 52 | <action method="setImgWidth"><width>230</width></action>
|
|
60 | 60 | <block type="core/text_list" name="form.additional.info">
|
61 | 61 | <block type="captcha/captcha" name="captcha">
|
62 | 62 | <reference name="head">
|
63 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 63 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
64 | 64 | </reference>
|
65 | 65 | <action method="setFormId"><formId>user_create</formId></action>
|
66 | 66 | <action method="setImgWidth"><width>230</width></action>
|
|
74 | 74 | <block type="core/text_list" name="form.additional.info">
|
75 | 75 | <block type="captcha/captcha" name="captcha">
|
76 | 76 | <reference name="head">
|
77 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 77 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
78 | 78 | </reference>
|
79 | 79 | <action method="setFormId"><formId>user_login</formId></action>
|
80 | 80 | <action method="setImgWidth"><width>230</width></action>
|
|
86 | 86 | <block type="core/text_list" name="form.additional.info">
|
87 | 87 | <block type="captcha/captcha" name="captcha.guest.checkout">
|
88 | 88 | <reference name="head">
|
89 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 89 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
90 | 90 | </reference>
|
91 | 91 | <action method="setFormId"><formId>guest_checkout</formId></action>
|
92 | 92 | <action method="setImgWidth"><width>230</width></action>
|
93 | 93 | <action method="setImgHeight"><width>50</width></action>
|
94 | 94 | </block>
|
95 | 95 | <block type="captcha/captcha" name="captcha.register.during.checkout">
|
96 | 96 | <reference name="head">
|
97 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 97 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
98 | 98 | </reference>
|
99 | 99 | <action method="setFormId"><formId>register_during_checkout</formId></action>
|
100 | 100 | <action method="setImgWidth"><width>230</width></action>
|
|
108 | 108 | <block type="core/text_list" name="wishlist.sharing.form.additional.info">
|
109 | 109 | <block type="captcha/captcha" name="captcha">
|
110 | 110 | <reference name="head">
|
111 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 111 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
112 | 112 | </reference>
|
113 | 113 | <action method="setFormId"><formId>wishlist_sharing</formId></action>
|
114 | 114 | <action method="setImgWidth"><width>230</width></action>
|
|
122 | 122 | <block type="core/text_list" name="sendfriend.send.form.additional.info">
|
123 | 123 | <block type="captcha/captcha" name="captcha">
|
124 | 124 | <reference name="head">
|
125 |
| - <action method="addJs"><file>mage/captcha.js</file></action> |
| 125 | + <action method="addJs" ifconfig="customer/captcha/enable"><file>mage/captcha.js</file></action> |
126 | 126 | </reference>
|
127 | 127 | <action method="setFormId"><formId>sendfriend_send</formId></action>
|
128 | 128 | <action method="setImgWidth"><width>230</width></action>
|
|
0 commit comments