function theme_canvasactions_imagemask in ImageCache Actions 6.2
Implementation of theme_hook() for imagecache_ui.module
File
- canvasactions/
canvasactions.inc, line 54
Code
function theme_canvasactions_imagemask($element) {
$data = $element['#value'];
$filepath = $data['path'];
if (!file_exists($filepath)) {
$filepath = file_create_path($data['path']);
}
$file_url = url($filepath);
return "file path: <a href='{$file_url}'>" . basename($data['path']) . "</a>";
}