Index: plugin_manager.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/plugin_manager/plugin_manager.admin.inc,v
retrieving revision 1.52.2.80
diff -u -p -r1.52.2.80 plugin_manager.admin.inc
--- plugin_manager.admin.inc	15 Jan 2009 15:45:11 -0000	1.52.2.80
+++ plugin_manager.admin.inc	7 Feb 2009 19:28:19 -0000
@@ -375,18 +375,37 @@ function plugin_manager_install_3($form,
       return;
     }
 
-    global $base_url;
-    drupal_set_message(t("Successfully installed @name.", array('@name' => $name)) . l(t('View README.txt'), $base_url .'/sites/all/modules/'. check_plain($name) .'/README.txt'));
     // rebuild caches
     drupal_rebuild_theme_registry();
     node_types_rebuild();
     menu_rebuild();
     cache_clear_all('schema', 'cache');
     module_rebuild_cache();
+
+    // Show a message that the module was installed
+    $message = t('Successfully installed @name.', array('@name' => $name));
+    $readme = drupal_get_path('module', $name) .'/README.txt';
+    if (file_exists($readme)) {
+      $message .= ' '. t('<a href="@readme">View README.txt</a>.', array('@readme' => url($readme)));
+    }
+    drupal_set_message($message);
     
     unlink($plugin);
   }
 
+  // Check if any modules have updates, and show a message to run update.php.
+  foreach (module_list(TRUE) as $module) {
+    module_load_install($module);
+    $updates = drupal_get_schema_versions($module);
+    if ($updates !== FALSE) {
+      $default = drupal_get_installed_schema_version($module);
+      if (max($updates) > $default) {
+        drupal_set_message(t('Some modules have database schema updates to install. You should run the <a href="@update">database update script</a> immediately.', array('@update' => base_path() .'update.php')), 'error');
+        break;
+      }
+    }
+  }
+
   variable_set("plugin_manager_queue_info", array());
   plugin_manager_clear_queue();
   $form_state['storage']['page'] = 4;
