function theme_iek_image_padding_summary in Image effect kit 7
Theme function for border effect summary.
File
- ./
iek.module, line 569 - Primarily Drupal hooks and global API functions to manipulate image styles.
Code
function theme_iek_image_padding_summary($variables) {
$data = $variables['data'];
if (isset($data['padding_top']) && isset($data['padding_right']) && isset($data['padding_bottom']) && isset($data['padding_left']) && isset($data['bg_color'])) {
$summary = array();
$summary['top'] = $data['padding_top'] . 'px';
$summary['right'] = $data['padding_right'] . 'px';
$summary['bottom'] = $data['padding_bottom'] . 'px';
$summary['left'] = $data['padding_left'] . 'px';
$summary['background'] = $data['bg_color'];
return iek_generate_summary($summary);
}
return '';
}