Index: modules/system/system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.24 diff -u -F^f -r1.24 system.install --- modules/system/system.install 7 Sep 2006 08:09:30 -0000 1.24 +++ modules/system/system.install 8 Sep 2006 02:17:28 -0000 @@ -21,6 +21,22 @@ function system_requirements($phase) { 'value' => VERSION, 'severity' => REQUIREMENT_INFO ); + + drupal_add_js(" + $(document).ready(function() { + $('.system-jquery').ancestors('.warning').addClass('info').removeClass('warning') + var version = $().jquery + $('.system-jquery').html(version.substring(1,version.length-1)) + }); + ", 'inline'); + + $requirements['jquery'] = array( + 'title' => $t('jQuery'), + 'value' => '' . + $t('Javascript is not currently enabled') . + '', + 'severity' => REQUIREMENT_WARNING + ); } // Test web server