Only in .: flashtheme.patch
diff -urp ./slideshowpro.module ../slideshowpro_patched/slideshowpro.module
--- ./slideshowpro.module 2009-02-27 11:14:48.000000000 +1000
+++ ../slideshowpro_patched/slideshowpro.module 2009-02-27 11:16:32.000000000 +1000
@@ -56,6 +56,16 @@ function slideshowpro_theme($existing, $
'title_caption' => NULL,
),
),
+ 'slideshowpro_flash' => array(
+ 'file' => 'slideshowpro.theme.inc',
+ 'arguments' => array(
+ 'id' => NULL,
+ 'width' => NULL,
+ 'height' => NULL,
+ 'flash_vars' => NULL,
+ 'path' => NULL,
+ ),
+ ),
'slideshowpro_embed' => array(
'file' => 'slideshowpro.theme.inc',
'arguments' => array(
@@ -212,15 +222,7 @@ function slideshowpro_embed($args) {
if (isset($args['height'])) {
$height = ' height="'. $args['height'] .'" ';
}
-
- return theme('slideshowpro_embed',
- '', $id);
+
+ $output = theme('slideshowpro_flash', $id, $width, $height, $flash_vars, base_path() . slideshowpro_path_to_ssp());
+ return theme('slideshowpro_embed', $output, $id);
}
\ No newline at end of file
diff -urp ./slideshowpro.theme.inc ../slideshowpro_patched/slideshowpro.theme.inc
--- ./slideshowpro.theme.inc 2009-02-27 11:14:48.000000000 +1000
+++ ../slideshowpro_patched/slideshowpro.theme.inc 2009-02-27 11:16:33.000000000 +1000
@@ -104,6 +104,22 @@ function theme_slideshowpro_xml_image(&$
}
/**
+ * Theme flash output.
+ */
+function theme_slideshowpro_flash($id, $width, $height, $flash_vars, $path) {
+ return '';
+}
+
+/**
* Theme output.
*/
function theme_slideshowpro_embed($output, $id) {