function theme_kaltura_thumbnail in Kaltura 7.3
Same name and namespace in other branches
- 7.2 plugins/field_kaltura/field_kaltura.theme.inc \theme_kaltura_thumbnail()
File
- plugins/
field_kaltura/ field_kaltura.theme.inc, line 60 - Themeing functions for kaltura fields.
Code
function theme_kaltura_thumbnail($vars) {
$rot = $vars['rotate'] ? 'k-rotate' : 'k-no-rotate';
$out = '<div class="kaltura">';
$out .= '<div class="kaltura-thumb">' . theme('image', array(
'path' => $vars['thub'],
'title' => $vars['title'],
'attributes' => array(
'class' => $rot,
),
)) . '</div>';
$out .= '</div>';
return $out;
}