function theme_canvasactions_file2canvas in ImageCache Actions 6.2
Same name and namespace in other branches
- 5.3 canvasactions.inc \theme_canvasactions_file2canvas()
- 5.2 canvasactions.inc \theme_canvasactions_file2canvas()
- 6 canvasactions.inc \theme_canvasactions_file2canvas()
Implementation of theme_hook() for imagecache_ui.module
File
- canvasactions/
canvasactions.inc, line 608
Code
function theme_canvasactions_file2canvas($element) {
$action = $element['#value'];
return '<strong>' . basename($action['path']) . '</strong> x:' . $action['xpos'] . ', y:' . $action['ypos'] . ' alpha:' . (@$action['alpha'] ? $action['alpha'] : 100) . '%';
}