Index: plugins.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/plugins.inc,v
retrieving revision 1.125
diff -u -F^[^a-z]*function -r1.125 plugins.inc
--- plugins.inc	24 Jun 2008 01:06:28 -0000	1.125
+++ plugins.inc	24 Jun 2008 15:53:51 -0000
@@ -1417,12 +1417,19 @@   function format_themes($themes) {
     }
 
     $output = '';
-    $found = FALSE;
+    $picked = FALSE;
     foreach ($themes as $theme) {
       $template = strtr($theme, '_', '-') . $extension;
-      if (!$found && !empty($registry[$theme])) {
-        $template = '<strong>' . $template . '</strong>';
-        $found = TRUE;
+      if (!$picked && !empty($registry[$theme])) {
+        $template_path = isset($registry[$theme]['path']) ? $registry[$theme]['path'] . '/' : './';
+        if (file_exists($template_path . $template)) {
+          $hint = t('File found, in folder @template-path', array('@template-path' => $template_path));
+          $template = '<strong title="'. $hint .'">' . $template . '</strong>';
+        }
+        else {
+          $template = '<strong class="error">' . $template . ' ' . t('(File not found, in folder @template-path)', array('@template-path' => $template_path)) . '</strong>';
+        }
+        $picked = TRUE;
       }
       $fixed[] = $template;
     }
