diff --git a/htdocs/global.js b/htdocs/global.js deleted file mode 100644 index 7d4fb75..0000000 --- a/htdocs/global.js +++ /dev/null @@ -1,18 +0,0 @@ -if ('/modules/spamexperts-extension/index.php/index/settings' == window.location.pathname) { - document.observe('dom:loaded', function () { - var affectedFields = ['#spampanel_url', '#apihost', '#mx1', '#mx2', '#mx3', '#mx4']; - - if (! $('apiuser').disabled) { - affectedFields.push('#apiuser'); - affectedFields.push('#apipass'); - } - - $$('#use_config_from_license').each(function (checkbox) { - Event.on(checkbox, 'click', function () { - $$(affectedFields.join(',')).each(function (input) { - input.disabled = checkbox.checked; - }); - }); - }); - }); -} \ No newline at end of file diff --git a/plib/views/scripts/index/settings.phtml b/plib/views/scripts/index/settings.phtml index d1ef2db..59cfb94 100755 --- a/plib/views/scripts/index/settings.phtml +++ b/plib/views/scripts/index/settings.phtml @@ -2,7 +2,32 @@

You can buy antispam services and obtain valid configuration directives in our - online store

+ online store -form; ?> \ No newline at end of file +form; ?> + +