You are here

function theme_canvasactions_file2canvas in ImageCache Actions 6.2

Same name and namespace in other branches
  1. 5.3 canvasactions.inc \theme_canvasactions_file2canvas()
  2. 5.2 canvasactions.inc \theme_canvasactions_file2canvas()
  3. 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) . '%';
}