Index: embed-views-display-view.tpl.php
===================================================================
RCS file: embed-views-display-view.tpl.php
diff -N embed-views-display-view.tpl.php
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ embed-views-display-view.tpl.php	28 May 2009 12:16:09 -0000
@@ -0,0 +1,83 @@
+<?php
+// $Id: $
+/**
+ * @file embed-views-display-view.tpl.php
+ * Embed views display view template.
+ *
+ * Variables available:
+ * - $css_name: A css-safe version of the view name.
+ * - $header: The view header
+ * - $footer: The view footer
+ * - $rows: The results of the view query, if any
+ * - $empty: The empty text to display if the view is empty
+ * - $pager: The pager next/prev links to display, if any
+ * - $exposed: Exposed widget form/info to display
+ * - $feed_icon: Feed icon to display, if any
+ * - $more: A link to view more, if any
+ * - $admin_links: A rendered list of administrative links
+ * - $admin_links_raw: A list of administrative links suitable for theme('links')
+ *
+ * @ingroup views_templates
+ */
+?>
+<div class="view view-<?php print $css_name; ?> view-id-<?php print $name; ?> view-display-id-<?php print $display_id; ?> view-dom-id-<?php print $dom_id; ?>">
+  <?php if ($admin_links): ?>
+    <div class="views-admin-links views-hide">
+      <?php print $admin_links; ?>
+    </div>
+  <?php endif; ?>
+  <?php if ($header): ?>
+    <div class="view-header">
+      <?php print $header; ?>
+    </div>
+  <?php endif; ?>
+
+  <?php if ($exposed): ?>
+    <div class="view-filters">
+      <?php print $exposed; ?>
+    </div>
+  <?php endif; ?>
+
+  <?php if ($attachment_before): ?>
+    <div class="attachment-before">
+      <?php print $attachment_before; ?>
+    </div>
+  <?php endif; ?>
+
+  <?php if ($rows): ?>
+    <div class="view-content">
+      <?php print $rows; ?>
+    </div>
+  <?php elseif ($empty): ?>
+    <div class="view-empty">
+      <?php print $empty; ?>
+    </div>
+  <?php endif; ?>
+
+  <?php if ($pager): ?>
+    <?php print $pager; ?>
+  <?php endif; ?>
+
+  <?php if ($attachment_after): ?>
+    <div class="attachment-after">
+      <?php print $attachment_after; ?>
+    </div>
+  <?php endif; ?>
+
+  <?php if ($more): ?>
+    <?php print $more; ?>
+  <?php endif; ?>
+
+  <?php if ($footer): ?>
+    <div class="view-footer">
+      <?php print $footer; ?>
+    </div>
+  <?php endif; ?>
+
+  <?php if ($feed_icon): ?>
+    <div class="feed-icon">
+      <?php print $feed_icon; ?>
+    </div>
+  <?php endif; ?>
+
+</div> <?php // class view ?>
Index: embed_views.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/embed_views/embed_views.module,v
retrieving revision 1.1
diff -u -p -r1.1 embed_views.module
--- embed_views.module	23 May 2009 14:25:00 -0000	1.1
+++ embed_views.module	28 May 2009 12:16:09 -0000
@@ -6,14 +6,14 @@
  */
 
 /**
- * Advertise the current views api version
+ * Advertise the current views api version.
  */
 function embed_views_api_version() {
   return 2.0;
 }
 
 /**
- * Implementation of hook_views_plugins
+ * Implementation of hook_views_plugins.
  */
 function embed_views_views_plugins() {
   return array(
@@ -22,7 +22,7 @@ function embed_views_views_plugins() {
         'title' => t('Embed'),
         'help' => t('Creates a display specifically for embed.'),
         'handler' => 'embed_views_plugin_display_embed',
-        'theme' => 'views_view',
+        'theme' => 'embed_views_display_view',
         'use ajax' => TRUE,
         'use pager' => TRUE,
         'use more' => TRUE,
@@ -31,4 +31,17 @@ function embed_views_views_plugins() {
       ),
     ),
   );
+}
+
+/**
+ * Preprocess the embed views theme implementation.
+ */
+function template_preprocess_embed_views_display_view(&$vars) {
+  template_preprocess_views_view($vars);
+  $view = $vars['view'];
+
+  $display = $view->display_handler;
+  if ($display->get_option('show_title')) {
+    $vars['title'] = filter_xss_admin($view->get_title());
+  }
 }
\ No newline at end of file
Index: embed_views.views.inc
===================================================================
RCS file: embed_views.views.inc
diff -N embed_views.views.inc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ embed_views.views.inc	28 May 2009 12:16:09 -0000
@@ -0,0 +1,4 @@
+<?php
+/*
+ Why is this file necessary?
+*/
\ No newline at end of file
