? export/.svn
? export/images/.svn
Index: export/views_bonus_export.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_bonus/export/views_bonus_export.module,v
retrieving revision 1.9
diff -u -p -r1.9 views_bonus_export.module
--- export/views_bonus_export.module	13 May 2009 07:14:23 -0000	1.9
+++ export/views_bonus_export.module	1 Jul 2009 17:31:50 -0000
@@ -13,3 +13,24 @@ function views_bonus_export_views_api() 
     'api' => 2,
   );
 }
+
+/**
+ * Implementation of hook_theme().
+ */
+function views_bonus_export_theme() {
+  return array(
+    'views_bonus_export_feed_icon' => array(),
+  );
+}
+
+/**
+ * Theme a feed link.
+ */
+function theme_views_bonus_export_feed_icon($image_path, $url, $query = '') {
+  $url_options = array('html' => true);
+  if ($query) {
+    $url_options['query'] = $query;
+  }
+  $image = theme('image', $image_path);
+  return l($image, $url, $url_options);
+}
\ No newline at end of file
Index: export/views_bonus_plugin_style_export.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_bonus/export/views_bonus_plugin_style_export.inc,v
retrieving revision 1.6
diff -u -p -r1.6 views_bonus_plugin_style_export.inc
--- export/views_bonus_plugin_style_export.inc	5 May 2009 19:47:09 -0000	1.6
+++ export/views_bonus_plugin_style_export.inc	1 Jul 2009 17:31:51 -0000
@@ -19,12 +19,6 @@ class views_bonus_plugin_style_export ex
    * feed image link.
    */
   function attach_to($display_id, $path, $title) {
-    $url_options = array('html' => true);
-    $input = $this->view->get_exposed_input();
-    if ($input) {
-      $url_options['query'] = $input;
-    }
-    $image = theme('image', $this->feed_image);
-    $this->view->feed_icon .= l($image, $this->view->get_url(NULL, $path), $url_options);
+    $this->view->feed_icon .= theme('views_bonus_export_feed_icon', $this->feed_image, $this->view->get_url(NULL, $path), $this->view->get_exposed_input());
   }
 }
