From 7e5abd1e211ff9b95455cdb9692b99eaaf835886 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Tue, 8 Oct 2024 04:35:10 +0200 Subject: [PATCH 1/6] Admin config: added input validation & hide disabled options (#4232) * Added depend and validate node to system.xml * update --- app/code/core/Mage/Api/etc/system.xml | 1 + .../core/Mage/Authorizenet/etc/system.xml | 20 ++ app/code/core/Mage/Catalog/etc/system.xml | 13 ++ app/code/core/Mage/Checkout/etc/system.xml | 1 + .../Mage/ConfigurableSwatches/etc/system.xml | 9 + app/code/core/Mage/Contacts/etc/system.xml | 1 + app/code/core/Mage/Core/etc/system.xml | 21 +- app/code/core/Mage/Cron/etc/system.xml | 6 + app/code/core/Mage/Customer/etc/system.xml | 4 + .../core/Mage/Downloadable/etc/system.xml | 1 + .../core/Mage/GoogleAnalytics/etc/system.xml | 9 +- app/code/core/Mage/Log/etc/system.xml | 7 + app/code/core/Mage/Oauth/etc/system.xml | 2 + app/code/core/Mage/Paygate/etc/system.xml | 28 ++- app/code/core/Mage/Payment/etc/system.xml | 50 +++++ .../core/Mage/ProductAlert/etc/system.xml | 3 +- app/code/core/Mage/Reports/etc/system.xml | 2 + app/code/core/Mage/Sales/etc/system.xml | 56 ++++- app/code/core/Mage/Sendfriend/etc/system.xml | 5 + app/code/core/Mage/Shipping/etc/system.xml | 35 +++- app/code/core/Mage/Sitemap/etc/system.xml | 14 ++ app/code/core/Mage/Usa/etc/system.xml | 192 +++++++++++++++++- app/code/core/Mage/Weee/etc/system.xml | 7 + 23 files changed, 467 insertions(+), 20 deletions(-) diff --git a/app/code/core/Mage/Api/etc/system.xml b/app/code/core/Mage/Api/etc/system.xml index ebbc5b44b67..8d921ce4935 100644 --- a/app/code/core/Mage/Api/etc/system.xml +++ b/app/code/core/Mage/Api/etc/system.xml @@ -44,6 +44,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater diff --git a/app/code/core/Mage/Authorizenet/etc/system.xml b/app/code/core/Mage/Authorizenet/etc/system.xml index dbf9ebf4e5a..bee6d4445be 100644 --- a/app/code/core/Mage/Authorizenet/etc/system.xml +++ b/app/code/core/Mage/Authorizenet/etc/system.xml @@ -42,6 +42,7 @@ 1 1 0 + 1 <label>Title</label> @@ -49,6 +50,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -58,6 +60,7 @@ 1 1 0 + 1 @@ -67,6 +70,7 @@ 1 1 0 + 1 @@ -76,6 +80,7 @@ 1 1 0 + 1 @@ -85,6 +90,7 @@ 1 1 0 + 1 @@ -94,6 +100,7 @@ 1 1 0 + 1 @@ -103,6 +110,7 @@ 1 1 0 + 1 @@ -110,6 +118,7 @@ 1 1 0 + 1 @@ -119,6 +128,7 @@ 1 1 0 + 1 @@ -128,6 +138,7 @@ 1 1 0 + 1 @@ -137,6 +148,7 @@ 1 1 0 + 1 @@ -145,6 +157,7 @@ 1 1 0 + 1 @@ -154,6 +167,7 @@ 1 1 0 + 1 @@ -163,6 +177,7 @@ 1 1 0 + 1 @@ -172,6 +187,7 @@ 1 1 0 + 1 @@ -181,6 +197,7 @@ 1 1 0 + 1 @@ -188,6 +205,7 @@ 1 1 0 + 1 @@ -195,6 +213,7 @@ 1 1 0 + 1 @@ -203,6 +222,7 @@ 1 0 validate-number + 1 diff --git a/app/code/core/Mage/Catalog/etc/system.xml b/app/code/core/Mage/Catalog/etc/system.xml index 3b099086c8b..ba371eaa864 100644 --- a/app/code/core/Mage/Catalog/etc/system.xml +++ b/app/code/core/Mage/Catalog/etc/system.xml @@ -164,6 +164,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -181,6 +182,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -189,6 +191,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -197,6 +200,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -204,6 +208,7 @@ validate-number 40 1 + validate-digits validate-greater-than-zero @@ -400,6 +405,7 @@ 1 1 + validate-digits @@ -427,6 +433,7 @@ 1 1 1 + 1 @@ -436,6 +443,7 @@ 1 1 1 + 1 @@ -445,6 +453,7 @@ 1 1 1 + 1 @@ -563,6 +572,7 @@ 1 0 Warning! Applying MAP by default will hide all product prices on the frontend.]]> + 1 @@ -572,6 +582,7 @@ 1 1 0 + 1 @@ -580,6 +591,7 @@ 1 1 1 + 1 @@ -588,6 +600,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Checkout/etc/system.xml b/app/code/core/Mage/Checkout/etc/system.xml index 242b9f1c14a..3f6fd6a1134 100644 --- a/app/code/core/Mage/Checkout/etc/system.xml +++ b/app/code/core/Mage/Checkout/etc/system.xml @@ -157,6 +157,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/ConfigurableSwatches/etc/system.xml b/app/code/core/Mage/ConfigurableSwatches/etc/system.xml index a26bb0128a2..3a29219ec65 100644 --- a/app/code/core/Mage/ConfigurableSwatches/etc/system.xml +++ b/app/code/core/Mage/ConfigurableSwatches/etc/system.xml @@ -50,6 +50,7 @@ 1 1 1 + 1 @@ -59,6 +60,7 @@ 1 1 1 + 1 @@ -68,6 +70,7 @@ 1 1 1 + 1 @@ -85,6 +88,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -92,6 +96,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -109,6 +114,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -116,6 +122,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -133,6 +140,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero @@ -140,6 +148,7 @@ 1 1 1 + required-entry validate-digits validate-greater-than-zero diff --git a/app/code/core/Mage/Contacts/etc/system.xml b/app/code/core/Mage/Contacts/etc/system.xml index ef4c78f84ad..c8aaba1adaf 100644 --- a/app/code/core/Mage/Contacts/etc/system.xml +++ b/app/code/core/Mage/Contacts/etc/system.xml @@ -103,6 +103,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Core/etc/system.xml b/app/code/core/Mage/Core/etc/system.xml index 5e1149a72e5..958267e072e 100644 --- a/app/code/core/Mage/Core/etc/system.xml +++ b/app/code/core/Mage/Core/etc/system.xml @@ -74,6 +74,8 @@ 1 1 Number of seconds between each allowed request. + 1 + required-entry validate-digits validate-zero-or-greater @@ -556,6 +558,7 @@ 1 0 0 + 1 @@ -582,6 +585,7 @@ 1 1 1 + 1 @@ -660,6 +664,7 @@ 1 1 Messages with a priority lower than the selected one will not be logged. Log Levels are ordered from highest to lowest priority. + 1 @@ -669,6 +674,7 @@ 1 1 Logging from Mage::log(). File is located in {{base_dir}}/var/log. Allowed file extensions: log, txt, html, csv + 1 @@ -678,6 +684,7 @@ 1 1 Logging from Mage::logException(). File is located in {{base_dir}}/var/log. Allowed file extensions: log, txt, html, csv + 1 @@ -917,6 +924,7 @@ 1 1 For Windows server only. + 0 @@ -925,6 +933,7 @@ 1 1 For Windows server only. + 0 @@ -959,6 +971,7 @@ 1 0 0 + 0 @@ -968,7 +981,10 @@ 1 0 0 - 2 + + 0 + 2 + @@ -1016,6 +1032,7 @@ 1 0 0 + required-entry validate-digits validate-zero-or-greater @@ -1111,6 +1128,7 @@ 1 0 0 + required-entry validate-digits validate-greater-than-zero @@ -1533,6 +1551,7 @@ 1 1 1 + validate-digits diff --git a/app/code/core/Mage/Cron/etc/system.xml b/app/code/core/Mage/Cron/etc/system.xml index ecb957ce4c1..d9ef73359f4 100644 --- a/app/code/core/Mage/Cron/etc/system.xml +++ b/app/code/core/Mage/Cron/etc/system.xml @@ -32,6 +32,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater @@ -39,6 +40,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater @@ -46,6 +48,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater @@ -53,6 +56,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater @@ -60,6 +64,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater @@ -67,6 +72,7 @@ 1 1 1 + required-entry validate-digits validate-zero-or-greater diff --git a/app/code/core/Mage/Customer/etc/system.xml b/app/code/core/Mage/Customer/etc/system.xml index f5bece92add..9fc418bac27 100644 --- a/app/code/core/Mage/Customer/etc/system.xml +++ b/app/code/core/Mage/Customer/etc/system.xml @@ -64,6 +64,7 @@ 0 0 Leave empty for default (15 minutes). + validate-digits @@ -570,6 +571,7 @@ 1 1 1,2 + required-entry validate-digits validate-zero-or-greater @@ -578,6 +580,7 @@ 1 1 1,3 + required-entry validate-digits validate-zero-or-greater @@ -588,6 +591,7 @@ 1 0 0 + required-entry validate-digits validate-zero-or-greater diff --git a/app/code/core/Mage/Downloadable/etc/system.xml b/app/code/core/Mage/Downloadable/etc/system.xml index 1c51f4c6692..0d915b60378 100644 --- a/app/code/core/Mage/Downloadable/etc/system.xml +++ b/app/code/core/Mage/Downloadable/etc/system.xml @@ -40,6 +40,7 @@ 1 1 0 + validate-digits diff --git a/app/code/core/Mage/GoogleAnalytics/etc/system.xml b/app/code/core/Mage/GoogleAnalytics/etc/system.xml index f2f06b0f10d..404af575afd 100644 --- a/app/code/core/Mage/GoogleAnalytics/etc/system.xml +++ b/app/code/core/Mage/GoogleAnalytics/etc/system.xml @@ -46,6 +46,7 @@ 1 1 1 + 1 @@ -74,6 +75,7 @@ 1 1 The tracking code to use. + 1 @@ -81,6 +83,7 @@ 1 1 1 + 1 @@ -92,7 +95,8 @@ 1 Enable GA4 User_id tracking for logged in customers. - analytics4 + 1 + analytics4 @@ -105,7 +109,8 @@ 1 Enable GA4 Debug Real Time view for Development IP. - analytics4 + 1 + analytics4 diff --git a/app/code/core/Mage/Log/etc/system.xml b/app/code/core/Mage/Log/etc/system.xml index 909ffe313dc..b6f9e075df0 100644 --- a/app/code/core/Mage/Log/etc/system.xml +++ b/app/code/core/Mage/Log/etc/system.xml @@ -41,6 +41,7 @@ 1 0 0 + 1,2 @@ -50,6 +51,7 @@ 1 0 0 + 1,2 @@ -68,6 +71,7 @@ 1 0 0 + 1,2 @@ -76,6 +80,7 @@ 1 0 0 + 1,2 @@ -85,6 +90,7 @@ 1 0 0 + 1,2 @@ -94,6 +100,7 @@ 1 0 0 + 1,2 diff --git a/app/code/core/Mage/Oauth/etc/system.xml b/app/code/core/Mage/Oauth/etc/system.xml index 8e39890eac9..32ee3361185 100644 --- a/app/code/core/Mage/Oauth/etc/system.xml +++ b/app/code/core/Mage/Oauth/etc/system.xml @@ -38,6 +38,7 @@ 1 0 0 + required-entry validate-digits validate-zero-or-greater @@ -46,6 +47,7 @@ 1 0 0 + required-entry validate-digits validate-zero-or-greater diff --git a/app/code/core/Mage/Paygate/etc/system.xml b/app/code/core/Mage/Paygate/etc/system.xml index 223761fb902..4eacbc64b02 100644 --- a/app/code/core/Mage/Paygate/etc/system.xml +++ b/app/code/core/Mage/Paygate/etc/system.xml @@ -43,6 +43,7 @@ 1 1 0 + 1 @@ -52,6 +53,7 @@ 1 1 0 + 1 @@ -61,6 +63,7 @@ 1 1 0 + 1 @@ -70,6 +73,7 @@ 1 1 0 + 1 @@ -78,6 +82,7 @@ 1 1 0 + 1 @@ -87,6 +92,7 @@ 1 1 0 + 1 @@ -94,6 +100,7 @@ 1 1 0 + 1 @@ -103,6 +110,7 @@ 1 1 0 + 1 @@ -112,6 +120,7 @@ 1 1 0 + 1 <label>Title</label> @@ -119,6 +128,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -128,6 +138,7 @@ 1 1 0 + 1 @@ -137,6 +148,7 @@ 1 1 0 + 1 @@ -144,6 +156,7 @@ 1 1 0 + 1 @@ -151,6 +164,7 @@ 1 1 0 + 1 @@ -160,6 +174,7 @@ 1 1 0 + 1 @@ -169,6 +184,7 @@ 1 1 0 + 1 @@ -178,6 +194,7 @@ 1 1 0 + 1 @@ -185,6 +202,7 @@ 1 1 0 + 1 @@ -192,6 +210,7 @@ 1 1 0 + 1 @@ -201,6 +220,7 @@ 1 1 0 + 1 @@ -208,6 +228,7 @@ 105 1 1 + 1 @@ -216,6 +237,7 @@ 125 1 1 + 1 @@ -226,6 +248,7 @@ 1 1 1 + 1 @@ -234,7 +257,10 @@ 135 1 1 - 1 + + 1 + 1 + diff --git a/app/code/core/Mage/Payment/etc/system.xml b/app/code/core/Mage/Payment/etc/system.xml index c5f6dfca25e..c0b729176d6 100644 --- a/app/code/core/Mage/Payment/etc/system.xml +++ b/app/code/core/Mage/Payment/etc/system.xml @@ -48,6 +48,7 @@ 1 1 0 + 1 @@ -56,6 +57,7 @@ 1 0 validate-number + 1 <label>Title</label> @@ -63,6 +65,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -72,6 +75,7 @@ 1 1 0 + 1 @@ -82,6 +86,7 @@ 1 0 1 + 1 @@ -89,6 +94,7 @@ 1 1 1 + 1 @@ -97,6 +103,7 @@ 1 1 1 + 1 @@ -104,6 +111,8 @@ 1 1 0 + validate-number + 1 @@ -111,6 +120,8 @@ 1 1 0 + validate-number + 1 @@ -140,6 +151,7 @@ 1 1 0 + 1 @@ -150,6 +162,7 @@ 1 0 + 1 processing,processed_ogone @@ -160,6 +173,7 @@ 1 0 validate-number + 1 <label>Title</label> @@ -167,6 +181,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -176,6 +191,7 @@ 1 1 0 + 1 @@ -186,6 +202,7 @@ 1 0 1 + 1 @@ -231,6 +250,7 @@ 1 1 0 + 1 @@ -239,6 +259,7 @@ 1 0 validate-number + 1 <label>Title</label> @@ -246,6 +267,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -255,6 +277,7 @@ 1 1 0 + 1 @@ -265,6 +288,7 @@ 1 0 1 + 1 @@ -272,6 +296,8 @@ 1 1 0 + validate-number + 1 @@ -279,6 +305,8 @@ 1 1 0 + validate-number + 1 @@ -306,6 +334,7 @@ 1 1 1 + 1 @@ -315,6 +344,7 @@ 1 1 0 + 1 @@ -324,6 +354,7 @@ 1 1 0 + 1 @@ -334,6 +365,7 @@ 1 0 1 + 1 @@ -342,6 +374,7 @@ 1 1 1 + 1 @@ -349,6 +382,8 @@ 1 1 0 + validate-number + 1 @@ -356,6 +391,8 @@ 1 1 0 + validate-number + 1 @@ -363,6 +400,8 @@ 1 1 0 + validate-number + 1 @@ -388,6 +427,7 @@ 1 1 1 + 1 @@ -397,6 +437,7 @@ 1 1 0 + 1 @@ -406,6 +447,7 @@ 1 1 0 + 1 @@ -416,6 +458,7 @@ 1 0 1 + 1 @@ -424,6 +467,7 @@ 1 1 1 + 1 @@ -431,6 +475,8 @@ 1 1 0 + validate-number + 1 @@ -438,6 +484,8 @@ 1 1 0 + validate-number + 1 @@ -445,6 +493,8 @@ 1 1 0 + validate-number + 1 diff --git a/app/code/core/Mage/ProductAlert/etc/system.xml b/app/code/core/Mage/ProductAlert/etc/system.xml index f577f413a34..688e4361e30 100644 --- a/app/code/core/Mage/ProductAlert/etc/system.xml +++ b/app/code/core/Mage/ProductAlert/etc/system.xml @@ -43,7 +43,6 @@ 1 0 - select @@ -52,6 +51,7 @@ 1 1 1 + 1 @@ -61,6 +61,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Reports/etc/system.xml b/app/code/core/Mage/Reports/etc/system.xml index 28b5d893d1a..e5866a9d11c 100644 --- a/app/code/core/Mage/Reports/etc/system.xml +++ b/app/code/core/Mage/Reports/etc/system.xml @@ -40,6 +40,7 @@ 1 1 1 + validate-digits @@ -47,6 +48,7 @@ 1 1 1 + validate-digits diff --git a/app/code/core/Mage/Sales/etc/system.xml b/app/code/core/Mage/Sales/etc/system.xml index 9740b0aab91..6b37c395b27 100644 --- a/app/code/core/Mage/Sales/etc/system.xml +++ b/app/code/core/Mage/Sales/etc/system.xml @@ -62,6 +62,7 @@ 1 1 0 + required-entry validate-digits validate-zero-or-greater @@ -69,6 +70,7 @@ 1 1 0 + required-entry validate-digits validate-zero-or-greater @@ -76,6 +78,7 @@ 1 1 0 + required-entry validate-digits validate-zero-or-greater @@ -83,6 +86,7 @@ 1 1 0 + required-entry validate-digits validate-zero-or-greater @@ -90,6 +94,7 @@ 1 1 0 + required-entry validate-digits validate-zero-or-greater @@ -152,7 +157,6 @@ - 50 @@ -176,6 +180,7 @@ 1 0 Subtotal after discount. + 1 validate-number @@ -186,6 +191,7 @@ 1 1 This message will be shown in shopping cart when subtotal after discount less than minimum amount. + 1 @@ -194,6 +200,7 @@ 1 1 1 + 1 @@ -203,6 +210,7 @@ 1 1 0 + 1 @@ -212,6 +220,7 @@ 1 1 If empty, the default description above will be used. + 1 @@ -221,6 +230,7 @@ 1 1 If empty, the default error above will be used. + 1 @@ -277,6 +287,7 @@ 1 1 1 + 1 @@ -295,6 +307,7 @@ 1 1 1 + 1 @@ -303,6 +316,7 @@ 1 1 Comma-separated. + 1 @@ -312,10 +326,10 @@ 1 1 1 + 1 - 2 @@ -340,6 +354,7 @@ 1 1 1 + 1 @@ -358,6 +374,7 @@ 1 1 1 + 1 @@ -366,6 +383,7 @@ 1 1 Comma-separated. + 1 @@ -375,10 +393,10 @@ 1 1 1 + 1 - 3 @@ -403,6 +421,7 @@ 1 1 1 + 1 @@ -421,6 +441,7 @@ 1 1 1 + 1 @@ -429,6 +450,7 @@ 1 1 Comma-separated. + 1 @@ -438,6 +460,7 @@ 1 1 1 + 1 @@ -465,6 +488,7 @@ 1 1 1 + 1 @@ -483,6 +508,7 @@ 1 1 1 + 1 @@ -491,6 +517,7 @@ 1 1 Comma-separated. + 1 @@ -500,10 +527,10 @@ 1 1 1 + 1 - 5 @@ -528,6 +555,7 @@ 1 1 1 + 1 @@ -546,6 +575,7 @@ 1 1 1 + 1 @@ -554,6 +584,7 @@ 1 1 Comma-separated. + 1 @@ -563,6 +594,7 @@ 1 1 1 + 1 @@ -590,6 +622,7 @@ 1 1 1 + 1 @@ -608,6 +642,7 @@ 1 1 1 + 1 @@ -616,6 +651,7 @@ 1 1 Comma-separated. + 1 @@ -625,10 +661,10 @@ 1 1 1 + 1 - 7 @@ -653,6 +689,7 @@ 1 1 1 + 1 @@ -671,6 +709,7 @@ 1 1 1 + 1 @@ -679,6 +718,7 @@ 1 1 Comma-separated. + 1 @@ -688,6 +728,7 @@ 1 1 1 + 1 @@ -715,6 +756,7 @@ 1 1 1 + 1 @@ -733,6 +776,7 @@ 1 1 1 + 1 @@ -741,6 +785,7 @@ 1 1 Comma-separated. + 1 @@ -750,6 +795,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Sendfriend/etc/system.xml b/app/code/core/Mage/Sendfriend/etc/system.xml index dc748326d8d..cb5f4597726 100644 --- a/app/code/core/Mage/Sendfriend/etc/system.xml +++ b/app/code/core/Mage/Sendfriend/etc/system.xml @@ -49,6 +49,7 @@ 1 1 1 + 1 @@ -58,6 +59,7 @@ 1 1 1 + 1 @@ -66,6 +68,7 @@ 1 1 validate-digits + 1 @@ -74,6 +77,7 @@ 1 1 validate-digits + 1 @@ -83,6 +87,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Shipping/etc/system.xml b/app/code/core/Mage/Shipping/etc/system.xml index 0aa00b485e0..0112f8e6b5f 100644 --- a/app/code/core/Mage/Shipping/etc/system.xml +++ b/app/code/core/Mage/Shipping/etc/system.xml @@ -47,6 +47,7 @@ 1 1 0 + 1 @@ -136,6 +137,7 @@ 1 1 1 + 1 @@ -144,6 +146,7 @@ 1 1 0 + 1 @@ -153,6 +156,7 @@ 1 1 0 + 1 @@ -161,6 +165,7 @@ 1 1 0 + 1 @@ -168,6 +173,7 @@ 1 1 0 + 1 <label>Title</label> @@ -175,6 +181,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -184,6 +191,7 @@ 1 1 0 + 1 @@ -194,6 +202,7 @@ 1 1 0 + 1 @@ -204,6 +213,7 @@ 1 0 1 + 1 @@ -213,6 +223,7 @@ 1 1 0 + 1 @@ -221,6 +232,7 @@ 1 1 1 + 1 @@ -247,6 +259,7 @@ 1 1 0 + 1 @@ -254,6 +267,7 @@ 1 1 1 + 1 @@ -261,6 +275,7 @@ 1 1 0 + 1 <label>Title</label> @@ -268,6 +283,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -278,6 +294,7 @@ 1 1 0 + 1 @@ -288,6 +305,7 @@ 1 0 1 + 1 @@ -297,6 +315,7 @@ 1 1 0 + 1 @@ -305,6 +324,7 @@ 1 1 1 + 1 @@ -323,7 +343,8 @@ 1 1 0 - + 1 + validate-number validate-zero-or-greater @@ -331,6 +352,7 @@ 1 1 0 + 1 @@ -349,6 +371,7 @@ 1 1 0 + 1 @@ -358,6 +381,7 @@ 1 1 0 + 1 @@ -366,6 +390,7 @@ 0 1 0 + 1 @@ -375,6 +400,7 @@ 0 1 0 + 1 @@ -382,6 +408,7 @@ 1 1 1 + 1 @@ -389,6 +416,7 @@ 1 1 0 + 1 <label>Title</label> @@ -396,6 +424,7 @@ <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> + <depends><active>1</active></depends> @@ -406,6 +435,7 @@ 1 1 0 + 1 @@ -416,6 +446,7 @@ 1 0 1 + 1 @@ -426,6 +457,7 @@ 1 1 0 + 1 @@ -434,6 +466,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Sitemap/etc/system.xml b/app/code/core/Mage/Sitemap/etc/system.xml index a06663f6ae0..216e6c29a98 100644 --- a/app/code/core/Mage/Sitemap/etc/system.xml +++ b/app/code/core/Mage/Sitemap/etc/system.xml @@ -48,6 +48,8 @@ 1 1 Valid values range: from 0.0 to 1.0. + validate-number + always,hourly,daily,weekly,monthly,yearly,never @@ -57,6 +59,7 @@ 1 1 1 + always,hourly,daily,weekly,monthly,yearly,never @@ -84,6 +87,8 @@ 1 1 Valid values range: from 0.0 to 1.0. + validate-number + always,hourly,daily,weekly,monthly,yearly,never @@ -93,6 +98,7 @@ 1 1 1 + always,hourly,daily,weekly,monthly,yearly,never @@ -120,6 +126,8 @@ 1 1 Valid values range: from 0.0 to 1.0. + validate-number + always,hourly,daily,weekly,monthly,yearly,never @@ -129,6 +137,7 @@ 1 1 1 + always,hourly,daily,weekly,monthly,yearly,never @@ -155,6 +164,7 @@ 1 1 1 + 1 @@ -164,6 +174,7 @@ 1 1 0 + 1 @@ -173,6 +184,7 @@ 1 1 0 + 1 @@ -183,6 +195,7 @@ 1 1 1 + 1 diff --git a/app/code/core/Mage/Usa/etc/system.xml b/app/code/core/Mage/Usa/etc/system.xml index 33e8ba786f9..2a2dcbf859e 100644 --- a/app/code/core/Mage/Usa/etc/system.xml +++ b/app/code/core/Mage/Usa/etc/system.xml @@ -31,6 +31,7 @@ 1 1 0 + 1 @@ -50,6 +51,7 @@ 1 0 1 + 1 @@ -57,6 +59,7 @@ 1 1 0 + 1