function imagecrop_imagecrop_popups in Image javascript crop 6
Same name and namespace in other branches
- 7 imagecrop.module \imagecrop_imagecrop_popups()
Implementation of hook_imagecrop_popups().
File
- ./
imagecrop.module, line 82 - Provides a javascript toolbox through an imagecache action.
Code
function imagecrop_imagecrop_popups() {
$popups = array();
if (module_exists('thickbox')) {
$popups['imagecrop_thickbox'] = t('Thickbox');
}
if (module_exists('modalframe')) {
$popups['imagecrop_modalframe'] = t('Modalframe');
}
if (module_exists('colorbox')) {
$popups['imagecrop_colorbox'] = t('Colorbox');
}
if (module_exists('shadowbox')) {
$popups['imagecrop_shadowbox'] = t('Shadowbox');
}
return $popups;
}