You are here

function theme_imagecache_alpha in ImageCache Actions 6.2

Same name and namespace in other branches
  1. 5.3 transparency.inc \theme_imagecache_alpha()
  2. 5.2 transparency.inc \theme_imagecache_alpha()
  3. 6 transparency.inc \theme_imagecache_alpha()

Implementation of theme_hook() for imagecache_ui.module

File

coloractions/transparency.inc, line 85
Helper functions for the alpha action for imagecache

Code

function theme_imagecache_alpha($element) {
  return ($element['#value']['flatten'] ? t("Flatten") : t("Transparent")) . ($element['#value']['opacity'] ? " : " . $element['#value']['opacity'] * 100 . '%' : '') . " : " . theme_imagecacheactions_rgb($element['#value']['RGB']);
}