Index: includes/admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/admin.inc,v
retrieving revision 1.133
diff -u -p -r1.133 admin.inc
--- includes/admin.inc	10 Sep 2008 21:29:15 -0000	1.133
+++ includes/admin.inc	6 Oct 2008 20:49:57 -0000
@@ -31,7 +31,12 @@ function views_ui_check_advanced_help() 
   }
 
   if (!module_exists('advanced_help')) {
-    drupal_set_message(t('If you install the advanced help module from !href, Views will provide more and better help. <a href="@hide">Hide this message.</a>', array('!href' => l('http://drupal.org/project/advanced_help', 'http://drupal.org/project/advanced_help'), '@hide' => url('admin/build/views/tools'))));
+    if (db_result(db_query("SELECT 1 FROM {system} WHERE type = 'module' AND name = 'advanced_help' AND status = 0"))) {
+      drupal_set_message(t('If you <a href="@modules">enable the advanced help module</a>, Views will provide more and better help. <a href="@hide">Hide this message.</a>', array('@modules' => url('admin/build/modules'),'@hide' => url('admin/build/views/tools'))));
+    }
+    else {
+      drupal_set_message(t('If you install the advanced help module from !href, Views will provide more and better help. <a href="@hide">Hide this message.</a>', array('!href' => l('http://drupal.org/project/advanced_help', 'http://drupal.org/project/advanced_help'), '@hide' => url('admin/build/views/tools'))));
+    }
   }
 }
 
