function template_preprocess_views_view_swftools in SWF Tools 6.3
Template preprocessor for views-view-views-rss-fields.tpl.php.
File
- views/
swftools.views.theme.inc, line 11 - Functions used as part of theming of content by the SWF Tools Views plug-in.
Code
function template_preprocess_views_view_swftools(&$vars) {
// Initialise swftools options array
$vars['swftools']['options'] = array(
'othervars' => array(),
'flashvars' => array(),
'methods' => array(),
'params' => array(),
);
// Assign the relevant profile
if ($vars['options']['profile'] != SWFTOOLS_UNDEFINED) {
$vars['swftools']['options']['othervars']['profile'] = $vars['options']['profile'];
}
}