Commit dc8af44a authored by frjo's avatar frjo
Browse files

Minor coding standard fixes, thanks Coder module

parent 238bb433
......@@ -427,7 +427,7 @@ function colorbox_field_formatter_settings_summary($field, $instance, $view_mode
if (isset($image_styles[$settings['colorbox_node_style']])) {
$summary[] = t('Content image style: @style', array('@style' => $image_styles[$settings['colorbox_node_style']]));
}
else if ($settings['colorbox_node_style'] == 'hide') {
elseif ($settings['colorbox_node_style'] == 'hide') {
$summary[] = t('Content image style: Hide');
}
else {
......
......@@ -128,7 +128,7 @@ function theme_colorbox_imagefield($variables) {
$image = '';
$class[] = 'js-hide';
}
else if (!empty($variables['image']['style_name'])) {
elseif (!empty($variables['image']['style_name'])) {
$image = theme('image_style', $variables['image']);
}
else {
......
<?php
/**
* @file
* Colorbox translatable variables.
*/
/**
* Implements hook_variable_info().
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment