diff -r 4c6da61e613e -r de56132c008d includes/clientside/static/ajax.js
--- a/includes/clientside/static/ajax.js Sun Mar 28 21:40:37 2010 -0400
+++ b/includes/clientside/static/ajax.js Sun Mar 28 21:49:26 2010 -0400
@@ -1724,6 +1724,7 @@
thediv.style.display = 'none';
thediv.style.zIndex = getHighestZ() + 2;
thediv.id = 'mdgDynamic_rDnsInfoDiv_'+Math.floor(Math.random() * 1000000);
+ // FIXME: l10n
thediv.innerHTML = 'Reverse DNS:
'+ajax.responseText+' Close';
var body = document.getElementsByTagName('body');
body = body[0];
@@ -1740,3 +1741,48 @@
});
}
+window.ajaxGzipCheck = function()
+{
+ var resultdiv = document.getElementById('gzip_check_result');
+ if ( !resultdiv )
+ return false;
+
+ resultdiv.innerHTML = '';
+ ajaxPost(makeUrlNS('Admin', 'GeneralConfig'), 'act=gzip_check', function(ajax)
+ {
+ if ( ajax.readyState == 4 && ajax.status == 200 )
+ {
+ resultdiv.innerHTML = '';
+ var response = String(ajax.responseText + '');
+ if ( !check_json_response(response) )
+ {
+ handle_invalid_json(response);
+ return false;
+ }
+ response = parseJSON(response);
+ if ( response.error )
+ {
+ resultdiv.innerHTML = '