aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglen201 <glen201@527446.no-reply.drupal.org>2009-07-24 20:00:49 +0000
committerglen201 <glen201@527446.no-reply.drupal.org>2009-07-24 20:00:49 +0000
commit14baacf96de6458c394e288fa82af4b89b976428 (patch)
treeae5d4b0a18e80b5d30ab7df175682dced477b0cf
parent814d3579e25baa41fc72e5de20b3cf6cc964ae3a (diff)
downloadvideo-14baacf96de6458c394e288fa82af4b89b976428.tar.gz
video-14baacf96de6458c394e288fa82af4b89b976428.tar.bz2
GMM: add link to Windows Media Player plug-in for Firefox browsers
-rw-r--r--plugins/video_image/video_image.module6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/video_image/video_image.module b/plugins/video_image/video_image.module
index db06d77..42377d7 100644
--- a/plugins/video_image/video_image.module
+++ b/plugins/video_image/video_image.module
@@ -501,9 +501,11 @@ function _video_image_temp_image_load($fids) {
* Returns whether we should promote thumbnails or not
*/
function _video_image_promote_thumbnails() {
- $settings_override = variable_get('video_image_promote_thumbnail', NULL);
+ $settings_override = variable_get('video_image_promote_thumbnail', NULL);
if ($settings_override === NULL) {
- $node_options = variable_get('node_options_image', array('status', 'promote'));
+ //GMM: Don't default to "promote" if no video or Image option specified
+ //confusing to n00bs seeing two nodes promoted for every video node
+ $node_options = variable_get('node_options_image', array());
return in_array('promote', $node_options);
}
return $settings_override;