You are here

function theme_imagecache_rotate in ImageCache 6.2

Same name and namespace in other branches
  1. 5.2 imagecache_actions.inc \theme_imagecache_rotate()

File

./imagecache_actions.inc, line 248

Code

function theme_imagecache_rotate($element) {
  $data = $element['#value'];
  if ($data['random']) {
    return t('random between -@degrees&deg and @degrees&deg', array(
      '@degrees' => $data['degrees'],
    ));
  }
  return t('@degrees&deg', array(
    '@degrees' => $data['degrees'],
  ));
}