function theme_imagecache_reflect_summary in ImageCache Reflect 7
Same name and namespace in other branches
- 8 imagecache_reflect.module \theme_imagecache_reflect_summary()
Formats a summary of the reflection-like effect.
Parameters
array $variables: An associative array containing:
- data: The current configuration for this reflection-like effect.
File
- ./
imagecache_reflect.module, line 130 - Adds a reflection action for images.
Code
function theme_imagecache_reflect_summary($variables) {
$data = $variables['data'];
return t('Background Color: !color, Preserve transparency: @preserve, Position: !position, Size: @size', array(
'!color' => !empty($data['imagecache_reflect_color']) ? $data['imagecache_reflect_color'] : t('White'),
'@preserve' => $data['imagecache_reflect_transparent_source'] ? t('Yes') : t('No'),
'!position' => $data['imagecache_reflect_position'],
'@size' => $data['imagecache_reflect_size'],
));
}