Index: includes/admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/admin.inc,v
retrieving revision 1.116
diff -u -F^f -r1.116 admin.inc
--- includes/admin.inc	14 Jun 2008 17:42:42 -0000	1.116
+++ includes/admin.inc	16 Jun 2008 06:32:43 -0000
@@ -2646,6 +2646,16 @@ function views_ui_tools_clear_cache() {
 }
 
 /**
+ * Submit hook to clear Drupal's theme registry (thereby triggering
+ * a templates rescan).
+ */
+function views_ui_config_item_form_rescan($form, &$form_state) {
+  drupal_rebuild_theme_registry();
+  $form_state['rerender'] = TRUE;
+  $form_state['rebuild'] = TRUE;
+}
+
+/**
  * Page callback for views user autocomplete
  */
 function views_ui_autocomplete_user($string = '') {
Index: includes/plugins.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/plugins.inc,v
retrieving revision 1.119
diff -u -F^f -r1.119 plugins.inc
--- includes/plugins.inc	14 Jun 2008 17:42:42 -0000	1.119
+++ includes/plugins.inc	16 Jun 2008 06:32:49 -0000
@@ -1288,10 +1288,10 @@ function views_discover_plugins() {
           }
         }
 
-        $form['important'] = array(
+        $form['description'] = array(
           '#prefix' => '<div class="form-item description">',
           '#suffix' => '</div>',
-          '#value' => '<p>' . t('<strong>Important!</strong> When you add a new template to your theme, be sure to clear the theme registry cache. You can do this by visiting administer >> site building >> themes -- just loading the page should clear the cache.') . '</p>',
+          '#value' => '<p>' . t('This section lists all possible templates for the display plugin and for the style plugins, ordered roughly from the least specific to the most specific. The active template for each plugin --which is the most specific template found on the system-- is highlighted in bold.') . '</p>',
         );
 
         $form['analysis'] = array(
@@ -1299,6 +1299,21 @@ function views_discover_plugins() {
           '#suffix' => '</div>',
           '#value' => theme('item_list', $funcs),
         );
+	
+        $form['rescan_button'] = array(
+          '#prefix' => '<div class="form-item">',
+          '#suffix' => '</div>',
+        );
+        $form['rescan_button']['button'] = array(
+          '#type' => 'submit',
+          '#value' => t('Rescan template files'),
+          '#submit' => array('views_ui_config_item_form_rescan'),
+        );
+        $form['rescan_button']['markup'] = array(
+          '#prefix' => '<div class="description">',
+          '#suffix' => '</div>',
+          '#value' => t("<strong>Important!</strong> When adding, removing, or renaming template files, it is necessary to make Drupal aware of the changes by making it rescan the files on your system. By clicking this button you clear Drupal's theme registry and thereby trigger this rescanning process. The highlighted templates above will then reflect the new state of your system."),
+        );
 
         $form_state['ok_button'] = TRUE;
         break;
