From 427d9f26ae67d2c533029b26ac6578528aaddb68 Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya Date: Sun, 12 Dec 2010 16:17:36 +0000 Subject: Updating video default thumbnail field. --- video.module | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'video.module') diff --git a/video.module b/video.module index 4d44270..05a88b6 100644 --- a/video.module +++ b/video.module @@ -831,14 +831,14 @@ function video_default_widget_settings($widget) { '#value' => $widget['default_video_thumb'], ); -// $form['default_video_thumbnail'] = array( -// '#title' => t('Default video thumbnail'), -// '#type' => 'managed_file', -// '#description' => t('If use default thumbnanil is selected, this image will be shown on display.'), -// '#default_value' => !empty($widget['default_video_thumbnail']) ? $widget['default_video_thumbnail'] : '', -// '#upload_location' => 'public://default_video_thumbnail/', -// '#weight' => 19, -// ); + $form['default_video_thumbnail'] = array( + '#title' => t('Default video thumbnail'), + '#type' => 'managed_file', + '#description' => t('If use default thumbnanil is selected, this image will be shown on display.'), + '#default_value' => !empty($widget['default_video_thumbnail']) ? $widget['default_video_thumbnail'] : '', + '#upload_location' => 'public://default_video_thumbnail/', + '#weight' => 19, + ); return $form; } -- cgit v1.2.3