Index: modules/system/system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.21 diff -u -F^f -r1.21 system.install --- modules/system/system.install 1 Sep 2006 09:27:04 -0000 1.21 +++ modules/system/system.install 7 Sep 2006 04:19:20 -0000 @@ -21,6 +21,19 @@ function system_requirements($phase) { 'value' => VERSION, 'severity' => REQUIREMENT_INFO ); + + drupal_add_js(" + $(document).ready(function() { + $('.system-jquery').parent().parent().addClass('info').removeClass('warning') + $('.system-jquery').html($().jquery) + }); + ", 'inline'); + + $requirements['jquery'] = array( + 'title' => $t('Jquery'), + 'value' => 'Javascript not currently enabled', + 'severity' => REQUIREMENT_WARNING + ); } // Test web server