function theme_canvasactions_file2canvas_summary in ImageCache Actions 7
Same name and namespace in other branches
- 8 canvasactions/canvasactions.inc \theme_canvasactions_file2canvas_summary()
Implements theme_hook() for the overlay (watermark) effect summary.
Parameters
array $variables: An associative array containing:
- data: The current configuration for this image effect.
Return value
string The HTML for the summary of this image effect.
File
- canvasactions/
canvasactions.inc, line 715
Code
function theme_canvasactions_file2canvas_summary(array $variables) {
$data = $variables['data'];
return '<strong>' . $data['path'] . '</strong>, x:' . $data['xpos'] . ', y:' . $data['ypos'] . ', alpha:' . (!empty($data['alpha']) ? $data['alpha'] : 100) . '%' . ', scale:' . (!empty($data['scale']) ? $data['scale'] . '%' : '-');
}