aboutsummaryrefslogtreecommitdiff
path: root/video.theme.inc
diff options
context:
space:
mode:
authorTushar Mahajan <chia.tushar@gmail.com>2010-09-08 23:43:39 +0000
committerTushar Mahajan <chia.tushar@gmail.com>2010-09-08 23:43:39 +0000
commit07e453e2ff2f66017eb49cc0374aa1531805a043 (patch)
treedaed69ad388a73ff56078643a0ec779f35606f4f /video.theme.inc
parentef4365879413eab6a0d2be64374a9840c7eed804 (diff)
downloadvideo-07e453e2ff2f66017eb49cc0374aa1531805a043.tar.gz
video-07e453e2ff2f66017eb49cc0374aa1531805a043.tar.bz2
Porting video module port for D7
Diffstat (limited to 'video.theme.inc')
-rw-r--r--video.theme.inc8
1 files changed, 7 insertions, 1 deletions
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'])) {