From 07e453e2ff2f66017eb49cc0374aa1531805a043 Mon Sep 17 00:00:00 2001 From: Tushar Mahajan Date: Wed, 8 Sep 2010 23:43:39 +0000 Subject: Porting video module port for D7 --- video.theme.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'video.theme.inc') diff --git a/video.theme.inc b/video.theme.inc index dfa36e5..f76edc9 100644 --- a/video.theme.inc +++ b/video.theme.inc @@ -7,7 +7,13 @@ * */ -function theme_video_thumbnails($file, $alt = '', $title = '', $attributes = NULL, $getsize = TRUE) { +function theme_video_thumbnails($variables) { + $file = $variables['file']; + $alt = $variables['alt']; + $title = $variables['title']; + $attributes = $variables['attributes']; + $getsize = $variables['getsize']; + $file = (array)$file; // return $file['filepath']; if (!is_file($file['filepath'])) { -- cgit v1.2.3