Removed obsolete $ in source files
This commit is contained in:
parent
a39c010e06
commit
e5f2b64d98
146 changed files with 836 additions and 1081 deletions
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// $Id: lightbox2.formatter.inc,v 1.1.2.30 2010/09/22 10:47:15 snpower Exp $
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Lightbox2 formatter hooks and callbacks.
|
||||
|
@ -523,7 +521,7 @@ function theme_lightbox2_emvideo($field, $item, $formatter, $node, $options = ar
|
|||
// otherwise try node title, then widget thumbnail setting and fallback to
|
||||
// default string.
|
||||
$title = isset($options['title']) ? $options['title'] : (isset($item['data']['emthumb']['emthumb_title']) ? $item['data']['emthumb']['emthumb_title'] : (isset($node->title) ? $node->title : (isset($field['widget']['thumbnail_link_title']) ? $field['widget']['thumbnail_link_title'] : variable_get('emvideo_default_thumbnail_link_title', t('See video')))));
|
||||
|
||||
|
||||
$destination = 'video-cck/lightbox2/'. $node->nid .'/'. $field['widget']['video_width'] .'/'. $field['widget']['video_height'] .'/'. $field['field_name'] .'/'. $item['provider'] .'/'. $item['value'];
|
||||
$width = $field['widget']['video_width'] + 20;
|
||||
$height = $field['widget']['video_height'] + 20;
|
||||
|
@ -548,4 +546,3 @@ function theme_lightbox2_emvideo($field, $item, $formatter, $node, $options = ar
|
|||
$output = l($thumbnail, $destination, $attributes);
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue